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 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 appliedStereotype
of the given name.static void
applyProfile(EObject eObject, String profileName)
static void
applyStereotype(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)
static void
delete(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 double
getDoubleTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
static int
getIntTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
static long
getLongTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
static String
getStringTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
static Object
getTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String taggedValueName, String stereotypeName)
static boolean
hasAppliedStereotype(Set<org.palladiosimulator.pcm.core.entity.Entity> pcmEntitySet, String stereotypeName)
static boolean
hasAppliedStereotype(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)
static boolean
isProfileApplied(EObject eObject, String profileName)
static void
removeStereotypeApplications(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName)
static void
setDoubleTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, double value, String stereotypeName, String taggedValueName)
static void
setStringTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String value, String stereotypeName, String taggedValueName)
static void
setTaggedValue(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, int value, String stereotypeName, String taggedValueName)
static void
setTaggedValue(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 appliedStereotype
of 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)
-
-