Class ModelAdapter<T extends EObject>
java.lang.Object
org.palladiosimulator.protocom.model.ModelAdapter<T>
- Direct Known Subclasses:
ActionAdapter
,AllocationAdapter
,AllocationContextAdapter
,AssemblyContextAdapter
,BranchTransitionAdapter
,BranchTransitionAdapter
,InfrastructureProvidedRoleAdapter
,InterfaceProvidingRequiringEntityAdapter
,InterfaceRequiringEntityAdapter
,OperationInterfaceAdapter
,OperationProvidedRoleAdapter
,OperationRequiredRoleAdapter
,ParametricResourceDemandAdapter
,ResourceContainerAdapter
,ResourceDemandingBehaviourAdapter
,ResourceEnvironmentAdapter
,ScenarioBehaviourAdapter
,ServiceEffectSpecificationAdapter
,SignatureAdapter
,UsageScenarioAdapter
,UserActionAdapter
,WorkloadAdapter
Base class for all PCM model adapters.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getBasePackageName
(org.palladiosimulator.pcm.core.entity.NamedElement entity) Gets the PCM entity that the adapter represents.getName()
Gets the name of the entity.protected String
getSafeName
(org.palladiosimulator.pcm.core.entity.NamedElement entity) safeSpecification
(String specification)
-
Field Details
-
entity
-
-
Constructor Details
-
ModelAdapter
-
-
Method Details
-
getEntity
Gets the PCM entity that the adapter represents.- Returns:
- the PCM entity
-
getName
Gets the name of the entity.- Returns:
- a string containing the name of the entity
-
getSafeName
-
safeSpecification
-
getSafeName
-
getBasePackageName
-