java.lang.Object
org.palladiosimulator.architecturaltemplates.catalog.black.ProfilesLibrary

public class ProfilesLibrary extends Object
  • Constructor Details

    • ProfilesLibrary

      public ProfilesLibrary()
  • Method Details

    • isProfileApplied

      public static boolean isProfileApplied(EObject eObject, String profileName)
    • applyProfile

      public static void applyProfile(EObject eObject, String profileName)
    • hasAppliedStereotype

      public static boolean hasAppliedStereotype(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)
    • hasAppliedStereotype

      public static boolean hasAppliedStereotype(Set<org.palladiosimulator.pcm.core.entity.Entity> pcmEntitySet, String stereotypeName)
    • getAppliedStereotypes

      public static Collection<org.modelversioning.emfprofile.Stereotype> getAppliedStereotypes(org.palladiosimulator.pcm.core.entity.Entity pcmEntity)
    • applyStereotype

      public static void applyStereotype(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)
    • removeStereotypeApplications

      public static void removeStereotypeApplications(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)
    • setTaggedValue

      public static void setTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, Object value, String stereotypeName, String taggedValueName)
    • setTaggedValue

      public static void setTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, int value, String stereotypeName, String taggedValueName)
    • setStringTaggedValue

      public static void setStringTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String value, String stereotypeName, String taggedValueName)
    • setDoubleTaggedValue

      public static void setDoubleTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, double value, String stereotypeName, String taggedValueName)
    • getTaggedValue

      public static Object getTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
    • getIntTaggedValue

      public static int getIntTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
    • getLongTaggedValue

      public static long getLongTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
    • getDoubleTaggedValue

      public static double getDoubleTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
    • getStringTaggedValue

      public static String getStringTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
    • appliedStereotypesEqualsOne

      public static boolean appliedStereotypesEqualsOne(Set<org.palladiosimulator.pcm.core.entity.Entity> pcmEntitySet, String stereotypeName)
      Checks whether in the given set exactly one of its members has an applied Stereotype of the given name.
      Parameters:
      pcmEntitySet - the set of entities
      stereotypeName - the stereotype name
      Returns:
      See Also:
    • delete

      public static void delete(List<org.palladiosimulator.pcm.core.entity.NamedElement> rootEObjects, org.palladiosimulator.pcm.core.entity.Entity eObject)