Class ProfilesLibrary
java.lang.Object
org.palladiosimulator.architecturaltemplates.catalog.black.ProfilesLibrary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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 appliedStereotypeof 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)
-