Class ErdEntity

java.lang.Object
com._1c.g5.v8.dt.diagram.framework.model.AbstractEntity
com._1c.g5.v8.dt.erd.model.AbstractErdEntity
com._1c.g5.v8.dt.erd.model.ErdEntity
All Implemented Interfaces:
com._1c.g5.v8.dt.diagram.framework.IEntity, com._1c.g5.v8.dt.diagram.framework.IPosition, IErdEntity

public class ErdEntity extends AbstractErdEntity
Implementation of AbstractErdEntity. Represents basic entity on diagram.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ErdEntity(String fullName, String projectName, String configurationName, int priority, Collection<com._1c.g5.v8.dt.diagram.framework.model.Data> data, org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.EClass eClass, int entityType)
    Default constructor.
    ErdEntity(String fullName, String projectName, String configurationName, int priority, Collection<com._1c.g5.v8.dt.diagram.framework.model.Data> data, org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.EClass eClass, int entityType, int x, int y, int width, int height)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
     
    Returns associated with this entity configuration name.
    Collection<com._1c.g5.v8.dt.diagram.framework.model.Data>
     
    org.eclipse.emf.ecore.EClass
    Can't return null.
    Can't return null.
    org.eclipse.emf.common.util.URI
    Can't return null.
    int
     

    Methods inherited from class com._1c.g5.v8.dt.erd.model.AbstractErdEntity

    getComment

    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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

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

    addRelation, 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 Details

    • ErdEntity

      public ErdEntity(String fullName, String projectName, String configurationName, int priority, Collection<com._1c.g5.v8.dt.diagram.framework.model.Data> data, org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.EClass eClass, int entityType)
      Default constructor.
      Parameters:
      fullName - - entity's name. Can't be null.
      projectName - - project name. Can't be null.
      configurationName - - configuration name. Can be null.
      priority - - entity's priority.
      data - - entity's data. Can't be null.
      uri - - associated with this entity MdObject's URI. Can't be null.
      eClass - - associated with this entity MdObject's EClass. Can't be null.
      entityType - - entity type. Types can be found at IEntityTypes.
    • ErdEntity

      public ErdEntity(String fullName, String projectName, String configurationName, int priority, Collection<com._1c.g5.v8.dt.diagram.framework.model.Data> data, org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.EClass eClass, int entityType, int x, int y, int width, int height)
      Constructor.
      Parameters:
      fullName - - entity's full name. Can't be null.
      projectName - - project name. Can't be null.
      configurationName - - configuration name. Can't be null.
      priority - - entity's priority.
      data - - entity's data. Can't be null.
      uri - - associated with this entity MdObject's URI. Can't be null.
      eClass - - associated with this entity MdObject's EClass. Can't be null.
      entityType - - entity type. Types can be found at IEntityTypes.
      x - - x coordinate of entity.
      y - - y coordinate of entity.
      width - - width of entity.
      height - - height of entity.
  • Method Details

    • getProjectName

      public String getProjectName()
      Can't return null.
      Returns:
      associated with this entity project name. 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
      Overrides:
      getConfigurationName in class AbstractErdEntity
      Returns:
      associated with this entity configuration name. Can return null.
    • getURI

      public org.eclipse.emf.common.util.URI getURI()
      Can't return null.
      Specified by:
      getURI in interface IErdEntity
      Overrides:
      getURI in class AbstractErdEntity
      Returns:
      associated with this entity MdObject's URI. Can return null.
    • getEClass

      public org.eclipse.emf.ecore.EClass getEClass()
      Can't return null.
      Specified by:
      getEClass in interface IErdEntity
      Overrides:
      getEClass in class AbstractErdEntity
      Returns:
      associated with this entity MdObject's EClass. Can return null.
    • getData

      public Collection<com._1c.g5.v8.dt.diagram.framework.model.Data> getData()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object