Class AssemblyContextCreator
java.lang.Object
org.palladiosimulator.generator.fluent.shared.structure.Entity
org.palladiosimulator.generator.fluent.system.structure.SystemEntity
org.palladiosimulator.generator.fluent.system.structure.AssemblyContextCreator
This class constructs an
AssemblyContext
.- See Also:
-
AssemblyContext
-
Field Summary
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.core.composition.AssemblyContext
build()
Turns the entity in the making into the finished entity.Defines theRepositoryComponent
encapsulated by this assembly context.withEncapsulatedComponent
(org.palladiosimulator.pcm.repository.RepositoryComponent component) Defines theRepositoryComponent
encapsulated by this assembly context.Defines the unique name of this current entity.
-
Constructor Details
-
AssemblyContextCreator
-
-
Method Details
-
withEncapsulatedComponent
public AssemblyContextCreator withEncapsulatedComponent(org.palladiosimulator.pcm.repository.RepositoryComponent component) Defines theRepositoryComponent
encapsulated by this assembly context.- Parameters:
component
-- Returns:
- this assembly context
- See Also:
-
RepositoryComponent
-
withEncapsulatedComponent
Defines theRepositoryComponent
encapsulated by this assembly context. The repositories added to the org.palladiosimulator.generator.fluent.system are searched for a component that matches the given name.- Parameters:
component
-- Returns:
- this assembly context
- Throws:
NoSuchElementException
- Thrown if no element matches the given name- See Also:
-
RepositoryComponent
-
build
public org.palladiosimulator.pcm.core.composition.AssemblyContext build()Description copied from class:Entity
Turns the entity in the making into the finished entity. -
withName
Description copied from class:Entity
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.
-