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 of
IErdEntity.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractErdEntity(String name, int priority, int x, int y, int width, int height) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns entity's comment.Returns associated with this entity configuration name.org.eclipse.emf.ecore.EClassReturns 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, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com._1c.g5.v8.dt.diagram.framework.IEntity
addRelation, getData, getEntityType, getName, getPriority, getRelations, removeRelation, setEntityType, setName, setPriorityMethods inherited from interface com._1c.g5.v8.dt.erd.IErdEntity
getProjectNameMethods inherited from interface com._1c.g5.v8.dt.diagram.framework.IPosition
getHeight, getWidth, getX, getY, isStatic, setHeight, setStatic, setWidth, setX, setY
-
Constructor Details
-
AbstractErdEntity
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 Details
-
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
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.
-