Class Entity
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- Direct Known Subclasses:
AllocationEntity
,RepositoryEntity
,ResourceEntity
,SystemEntity
,UsageModelEntity
,VariableUsageCreator
public abstract class Entity extends Object
This class provides the general infrastructure of a Palladio Model Entity.
-
-
Constructor Summary
Constructors Constructor Description Entity()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.eclipse.emf.cdo.CDOObject
build()
Turns the entity in the making into the finished entity.Entity
withName(String name)
Defines the unique name of this current entity.
-
-
-
Field Detail
-
name
protected String name
-
-
Method Detail
-
withName
public Entity withName(String name)
Defines the unique name of this current entity. Once created entities are referenced by this name. Only entities with a unique name can be fetched from the model.- Parameters:
name
-- Returns:
- this current entity in the making
-
build
protected abstract org.eclipse.emf.cdo.CDOObject build()
Turns the entity in the making into the finished entity.- Returns:
- the finished entity
-
-