All Known Implementing Classes:
PCMResourceListLoader, PCMURIResourceLoader

public interface ResourceLoader
  • Method Summary

    Modifier and Type
    Method
    Description
    org.palladiosimulator.pcm.allocation.Allocation
    Returns the allocation model that the resource loader has loaded
    org.palladiosimulator.pcm.usagemodel.UsageModel
    Returns the usage model that the resource loader has loaded
    void
    Loads the required resources
    <T extends EObject>
    List<T>
    Looks up an ECore element with the given class type
  • Method Details

    • loadRequiredResources

      void loadRequiredResources()
      Loads the required resources
    • getUsageModel

      org.palladiosimulator.pcm.usagemodel.UsageModel getUsageModel()
      Returns the usage model that the resource loader has loaded
      Returns:
      Usage model saved in the resources
    • getAllocation

      org.palladiosimulator.pcm.allocation.Allocation getAllocation()
      Returns the allocation model that the resource loader has loaded
      Returns:
      Allocation model saved in the resources
    • lookupElementOfType

      <T extends EObject> List<T> lookupElementOfType(EClass targetType)
      Looks up an ECore element with the given class type
      Type Parameters:
      T - Type of the objects that the lookup should return
      Parameters:
      targetType - Target type of the lookup
      Returns:
      Returns a list of objects that are of the target type