Class ActivityEntity
- java.lang.Object
-
- com._1c.g5.v8.dt.diagram.framework.model.AbstractEntity
-
- com._1c.g5.v8.dt.bp.scheme.framework.model.BpEntity
-
- com._1c.g5.v8.dt.bp.scheme.framework.model.ActivityEntity
-
- All Implemented Interfaces:
com._1c.g5.v8.dt.diagram.framework.IEntity
,com._1c.g5.v8.dt.diagram.framework.IPosition
public class ActivityEntity extends BpEntity
Instance of this class represents activity entity.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.bp.scheme.framework.model.BpEntity
modelObjectId
-
-
Constructor Summary
Constructors Constructor Description ActivityEntity(int priority, GraphicalSchemeFigure modelObject)
Constructor.ActivityEntity(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 GraphicalSchemeActivity
getModelObject()
Returns model object.-
Methods inherited from class com._1c.g5.v8.dt.bp.scheme.framework.model.BpEntity
equals, getData, getEntityType, getModelObjectId, getType, hashCode, setModelObjectId
-
-
-
-
Constructor Detail
-
ActivityEntity
public ActivityEntity(String name, int priority, int x, int y, int width, int height)
Constructor.- Parameters:
name
- - entity name. Can't benull
.priority
- - entity priority.x
- - x coordinate of entity.y
- - y coordinate of entity.width
- - width of entity.height
- - height of entity.
-
ActivityEntity
public ActivityEntity(int priority, GraphicalSchemeFigure modelObject)
Constructor.- Parameters:
priority
- - entity priority.modelObject
- - associated with this entity model object. Can' benull
.
-
-
Method Detail
-
getModelObject
public GraphicalSchemeActivity getModelObject()
Description copied from class:BpEntity
Returns model object.- Overrides:
getModelObject
in classBpEntity
- Returns:
- model object. Can return
null
.
-
-