Class SwitchCase


  • public class SwitchCase
    extends Object
    Switch case.
    • Constructor Detail

      • SwitchCase

        public SwitchCase​(com._1c.g5.v8.dt.diagram.framework.IEntity referenceEntity,
                          String name)
        Constructor.
        Parameters:
        referenceEntity - - entity which this case refers to. Can't be null.
        name - - case name. Can be null.
      • SwitchCase

        public SwitchCase​(Case modelObject)
        Constructor.
        Parameters:
        modelObject - - associated with this case model object. Can't be null.
    • Method Detail

      • getModelObject

        public Case getModelObject()
        Returns model object.
        Returns:
        model object. Can return null.
      • getModelObjectId

        public long getModelObjectId()
        Returns model object bm id.
        Returns:
        model object bm id.
      • setModelObjectId

        public void setModelObjectId​(long modelObjectId)
        Sets model object bm id.
        Parameters:
        modelObjectId - - model object bm id.
      • getReferenceEntity

        public com._1c.g5.v8.dt.diagram.framework.IEntity getReferenceEntity()
        Returns entity which this case refers to.
        Returns:
        entity which this case refers to. Can't return null.
      • setReferenceEntity

        public void setReferenceEntity​(com._1c.g5.v8.dt.diagram.framework.IEntity referenceEntity)
        Sets entity which this case refers to.
        Parameters:
        referenceEntity - - entity which this case refers to. Can't be null.
      • getName

        public String getName()
        Returns case name.
        Returns:
        case name. Can't return null.