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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetBasePackageName(org.palladiosimulator.pcm.core.entity.NamedElement entity) Gets the PCM entity that the adapter represents.getName()Gets the name of the entity.protected StringgetSafeName(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
-