Package com._1c.g5.v8.dt.erd.model
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 ofIErdEntity.
-
-
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 ErdEntityCommentgetComment()Returns entity's comment.StringgetConfigurationName()Returns associated with this entity configuration name.org.eclipse.emf.ecore.EClassgetEClass()Returns associated with this entity MdObject's EClass.org.eclipse.emf.common.util.URIgetURI()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
-
-
-
-
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 benull.priority- - entity group priority.x- - x coordinate of entity.y- - y coordinate of entity.width- - width of entity.height- - height of entity.
-
-
Method Detail
-
getComment
public ErdEntityComment getComment()
Description copied from interface:IErdEntityReturns entity's comment.- Specified by:
getCommentin interfaceIErdEntity- Returns:
- entity's comment. Can't return
null.
-
getURI
public org.eclipse.emf.common.util.URI getURI()
Description copied from interface:IErdEntityReturns associated with this entity MdObject's URI. If entity has no associated MdObject, returnsnull.- Specified by:
getURIin interfaceIErdEntity- Returns:
- associated with this entity MdObject's URI. Can return
null.
-
getEClass
public org.eclipse.emf.ecore.EClass getEClass()
Description copied from interface:IErdEntityReturns associated with this entity MdObject's EClass. If entity has no associated MdObject, returnsnull.- Specified by:
getEClassin interfaceIErdEntity- Returns:
- associated with this entity MdObject's EClass. Can return
null.
-
getConfigurationName
public String getConfigurationName()
Description copied from interface:IErdEntityReturns associated with this entity configuration name. If entity has no associated configuration, returnsnull.- Specified by:
getConfigurationNamein interfaceIErdEntity- Returns:
- associated with this entity configuration name. Can return
null.
-
-