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
- 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
Constructors Constructor Description AbstractEntityReferenceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityReference<EntityType>
createCached(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
-
-
-
-
Method Detail
-
createCached
public EntityReference<EntityType> createCached(EntityType entity)
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
-
-