Package com.nomagic.magicdraw.sysml.util
Class MDCustomizationForSysMLProfile.ContextSpecificValuesHolderStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.MDCustomizationForSysMLProfile.ContextSpecificValuesHolderStereotype
-
- Enclosing class:
- MDCustomizationForSysMLProfile
public static class MDCustomizationForSysMLProfile.ContextSpecificValuesHolderStereotype extends com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MDCustomizationForSysMLProfile
_p
private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
instances
static java.lang.String
INSTANCES
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContextSpecificValuesHolderStereotype(MDCustomizationForSysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
protected void
clear()
void
clearInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element>
getInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getInstancesProperty()
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype
getStereotype()
boolean
is(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
static boolean
isInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
removeInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
setInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
INSTANCES
public static final java.lang.String INSTANCES
- See Also:
- Constant Field Values
-
_p
private final MDCustomizationForSysMLProfile _p
-
instances
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property instances
-
-
Constructor Detail
-
ContextSpecificValuesHolderStereotype
protected ContextSpecificValuesHolderStereotype(MDCustomizationForSysMLProfile profile)
-
-
Method Detail
-
getStereotype
public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
- Specified by:
getStereotype
in classcom.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
getInstancesProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getInstancesProperty()
-
setInstances
public void setInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
-
clearInstances
public void clearInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
addInstances
public void addInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
removeInstances
public void removeInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
getInstances
public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getInstances(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
isInstance
public static boolean isInstance(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
-