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 Details

    • AbstractEntityReferenceFactory

      public AbstractEntityReferenceFactory()
  • Method Details

    • 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 interface EntityReferenceFactory<EntityType extends org.palladiosimulator.pcm.core.entity.Entity>
      Parameters:
      entity - a resolved model element.
      Returns:
      a new reference