Class AbstractErdEntity

  • All Implemented Interfaces:
    com._1c.g5.v8.dt.diagram.framework.IEntity, com._1c.g5.v8.dt.diagram.framework.IPosition, IErdEntity
    Direct Known Subclasses:
    ErdEntity, ErdEntityGroup

    public abstract class AbstractErdEntity
    extends com._1c.g5.v8.dt.diagram.framework.model.AbstractEntity
    implements IErdEntity
    Abstract implementation of IErdEntity.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractErdEntity​(String name, int priority, int x, int y, int width, int height)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ErdEntityComment getComment()
      Returns entity's comment.
      String getConfigurationName()
      Returns associated with this entity configuration name.
      org.eclipse.emf.ecore.EClass getEClass()
      Returns associated with this entity MdObject's EClass.
      org.eclipse.emf.common.util.URI getURI()
      Returns associated with this entity MdObject's URI.
      • Methods inherited from class com._1c.g5.v8.dt.diagram.framework.model.AbstractEntity

        addRelation, getEntityType, getHeight, getName, getPriority, getRelations, getWidth, getX, getY, isStatic, removeRelation, setEntityType, setHeight, setName, setPriority, setStatic, setWidth, setX, setY
      • Methods inherited from interface com._1c.g5.v8.dt.diagram.framework.IEntity

        addRelation, getData, getEntityType, getName, getPriority, getRelations, removeRelation, setEntityType, setName, setPriority
      • Methods inherited from interface com._1c.g5.v8.dt.diagram.framework.IPosition

        getHeight, getWidth, getX, getY, isStatic, setHeight, setStatic, setWidth, setX, setY
    • Constructor Detail

      • AbstractErdEntity

        public AbstractErdEntity​(String name,
                                 int priority,
                                 int x,
                                 int y,
                                 int width,
                                 int height)
        Constructor.
        Parameters:
        name - - entity group name. Can't be null.
        priority - - entity group priority.
        x - - x coordinate of entity.
        y - - y coordinate of entity.
        width - - width of entity.
        height - - height of entity.
    • Method Detail

      • getURI

        public org.eclipse.emf.common.util.URI getURI()
        Description copied from interface: IErdEntity
        Returns associated with this entity MdObject's URI. If entity has no associated MdObject, returns null.
        Specified by:
        getURI in interface IErdEntity
        Returns:
        associated with this entity MdObject's URI. Can return null.
      • getEClass

        public org.eclipse.emf.ecore.EClass getEClass()
        Description copied from interface: IErdEntity
        Returns associated with this entity MdObject's EClass. If entity has no associated MdObject, returns null.
        Specified by:
        getEClass in interface IErdEntity
        Returns:
        associated with this entity MdObject's EClass. Can return null.
      • getConfigurationName

        public String getConfigurationName()
        Description copied from interface: IErdEntity
        Returns associated with this entity configuration name. If entity has no associated configuration, returns null.
        Specified by:
        getConfigurationName in interface IErdEntity
        Returns:
        associated with this entity configuration name. Can return null.