Class ProfilesLibrary
java.lang.Object
org.palladiosimulator.architecturaltemplates.catalog.black.ProfilesLibrary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
ProfilesLibrary
public ProfilesLibrary()
-
-
Method Details
-
isProfileApplied
-
applyProfile
-
hasAppliedStereotype
public static boolean hasAppliedStereotype(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String stereotypeName) -
hasAppliedStereotype
-
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
-
setTaggedValue
-
setStringTaggedValue
-
setDoubleTaggedValue
-
getTaggedValue
-
getIntTaggedValue
-
getLongTaggedValue
-
getDoubleTaggedValue
-
getStringTaggedValue
-
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:
-
delete
public static void delete(List<org.palladiosimulator.pcm.core.entity.NamedElement> rootEObjects, org.palladiosimulator.pcm.core.entity.Entity eObject)
-