public static class MDCustomizationForSysMLProfile.ContextSpecificValuesHolderStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSTANCES |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
ContextSpecificValuesHolderStereotype(MDCustomizationForSysMLProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
addInstances(Element element,
Element value) |
protected void |
clear() |
void |
clearInstances(Element element) |
java.util.List<Element> |
getInstances(Element element) |
Property |
getInstancesProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
removeInstances(Element element,
Element value) |
void |
setInstances(Element element,
java.util.Collection<? extends Element> value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String INSTANCES
protected ContextSpecificValuesHolderStereotype(MDCustomizationForSysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getInstancesProperty()
public void setInstances(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearInstances(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)