Package com._1c.g5.v8.dt.erd.model
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
Implementation of
AbstractErdEntity
.
Represents basic entity on diagram.-
Constructor Summary
ConstructorsConstructorDescriptionErdEntity
(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 TypeMethodDescriptionboolean
Returns associated with this entity configuration name.Collection<com._1c.g5.v8.dt.diagram.framework.model.Data>
getData()
org.eclipse.emf.ecore.EClass
Can't returnnull
.Can't returnnull
.org.eclipse.emf.common.util.URI
getURI()
Can't returnnull
.int
hashCode()
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 benull
.projectName
- - project name. Can't benull
.configurationName
- - configuration name. Can benull
.priority
- - entity's priority.data
- - entity's data. Can't benull
.uri
- - associated with this entity MdObject's URI. Can't benull
.eClass
- - associated with this entity MdObject's EClass. Can't benull
.entityType
- - entity type. Types can be found atIEntityTypes
.
-
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 benull
.projectName
- - project name. Can't benull
.configurationName
- - configuration name. Can't benull
.priority
- - entity's priority.data
- - entity's data. Can't benull
.uri
- - associated with this entity MdObject's URI. Can't benull
.eClass
- - associated with this entity MdObject's EClass. Can't benull
.entityType
- - entity type. Types can be found atIEntityTypes
.x
- - x coordinate of entity.y
- - y coordinate of entity.width
- - width of entity.height
- - height of entity.
-
-
Method Details
-
getProjectName
Can't returnnull
.- Returns:
- associated with this entity project name. Can return
null
.
-
getConfigurationName
Description copied from interface:IErdEntity
Returns associated with this entity configuration name. If entity has no associated configuration, returnsnull
.- Specified by:
getConfigurationName
in interfaceIErdEntity
- Overrides:
getConfigurationName
in classAbstractErdEntity
- Returns:
- associated with this entity configuration name. Can return
null
.
-
getURI
public org.eclipse.emf.common.util.URI getURI()Can't returnnull
.- Specified by:
getURI
in interfaceIErdEntity
- Overrides:
getURI
in classAbstractErdEntity
- Returns:
- associated with this entity MdObject's URI. Can return
null
.
-
getEClass
public org.eclipse.emf.ecore.EClass getEClass()Can't returnnull
.- Specified by:
getEClass
in interfaceIErdEntity
- Overrides:
getEClass
in classAbstractErdEntity
- Returns:
- associated with this entity MdObject's EClass. Can return
null
.
-
getData
-
hashCode
public int hashCode() -
equals
-