Class AbstractErdEntity

java.lang.Object
com._1c.g5.v8.dt.diagram.framework.model.AbstractEntity
com._1c.g5.v8.dt.erd.model.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

    Modifier and Type
    Method
    Description
    Returns entity's comment.
    Returns associated with this entity configuration name.
    org.eclipse.emf.ecore.EClass
    Returns associated with this entity MdObject's EClass.
    org.eclipse.emf.common.util.URI
    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    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.erd.IErdEntity

    getProjectName

    Methods inherited from interface com._1c.g5.v8.dt.diagram.framework.IPosition

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

    • 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 Details

    • getComment

      public ErdEntityComment getComment()
      Description copied from interface: IErdEntity
      Returns entity's comment.
      Specified by:
      getComment in interface IErdEntity
      Returns:
      entity's comment. Can't return null.
    • 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.