Class EntityReference.AbstractEntityReferenceFactory<EntityType extends org.palladiosimulator.pcm.core.entity.Entity>
java.lang.Object
org.palladiosimulator.simulizar.entity.EntityReference.AbstractEntityReferenceFactory<EntityType>
- All Implemented Interfaces:
EntityReferenceFactory<EntityType>
- Direct Known Subclasses:
SimuLizarEntityReferenceFactories.LinkingResource
,SimuLizarEntityReferenceFactories.ResourceContainer
,SimuLizarEntityReferenceFactories.UsageScenario
- Enclosing class:
- EntityReference<EntityType extends org.palladiosimulator.pcm.core.entity.Entity>
public abstract static class EntityReference.AbstractEntityReferenceFactory<EntityType extends org.palladiosimulator.pcm.core.entity.Entity>
extends Object
implements EntityReferenceFactory<EntityType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCached
(EntityType entity) Creates a new EntityReference which matches the provided model element.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.palladiosimulator.simulizar.entity.EntityReferenceFactory
create
-
Constructor Details
-
AbstractEntityReferenceFactory
public AbstractEntityReferenceFactory()
-
-
Method Details
-
createCached
Description copied from interface:EntityReferenceFactory
Creates a new EntityReference which matches the provided model element. The resolved entity is cached by will not prevent garbage collection from cleaning it up.- Specified by:
createCached
in interfaceEntityReferenceFactory<EntityType extends org.palladiosimulator.pcm.core.entity.Entity>
- Parameters:
entity
- a resolved model element.- Returns:
- a new reference
-