Class ProfilesLibrary
- java.lang.Object
-
- org.palladiosimulator.architecturaltemplates.catalog.black.ProfilesLibrary
-
public class ProfilesLibrary extends Object
-
-
Constructor Summary
Constructors Constructor Description ProfilesLibrary()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanappliedStereotypesEqualsOne(Set<org.palladiosimulator.pcm.core.entity.Entity> pcmEntitySet, String stereotypeName)Checks whether in the given set exactly one of its members has an appliedStereotypeof the given name.static voidapplyProfile(EObject eObject, String profileName)static voidapplyStereotype(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)static voiddelete(List<org.palladiosimulator.pcm.core.entity.NamedElement> rootEObjects, org.palladiosimulator.pcm.core.entity.Entity eObject)static Collection<org.modelversioning.emfprofile.Stereotype>getAppliedStereotypes(org.palladiosimulator.pcm.core.entity.Entity pcmEntity)static doublegetDoubleTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)static intgetIntTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)static longgetLongTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)static StringgetStringTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)static ObjectgetTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)static booleanhasAppliedStereotype(Set<org.palladiosimulator.pcm.core.entity.Entity> pcmEntitySet, String stereotypeName)static booleanhasAppliedStereotype(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)static booleanisProfileApplied(EObject eObject, String profileName)static voidremoveStereotypeApplications(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)static voidsetDoubleTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, double value, String stereotypeName, String taggedValueName)static voidsetStringTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String value, String stereotypeName, String taggedValueName)static voidsetTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, int value, String stereotypeName, String taggedValueName)static voidsetTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, Object value, String stereotypeName, String taggedValueName)
-
-
-
Method Detail
-
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 appliedStereotypeof the given name.- Parameters:
pcmEntitySet- the set of entitiesstereotypeName- the stereotype name- Returns:
- See Also:
hasAppliedStereotype(Entity, String)
-
delete
public static void delete(List<org.palladiosimulator.pcm.core.entity.NamedElement> rootEObjects, org.palladiosimulator.pcm.core.entity.Entity eObject)
-
-