Package com.nomagic.magicdraw.sysml.util
Class MDCustomizationForSysMLProfile.AlternativesStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.MDCustomizationForSysMLProfile.AlternativesStereotype
-
- Enclosing class:
- MDCustomizationForSysMLProfile
public static class MDCustomizationForSysMLProfile.AlternativesStereotype 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
kind
static java.lang.String
KIND
Kind of the source of alternatives.private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
source
static java.lang.String
SOURCE
Source of alternatives.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
AlternativesStereotype(MDCustomizationForSysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearSource(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
MDCustomizationForSysMLProfile.SourceKindEnum
getKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getKindProperty()
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
getSource(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getSourceProperty()
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
setKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, MDCustomizationForSysMLProfile.SourceKindEnum value)
void
setSource(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, 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
-
KIND
public static final java.lang.String KIND
Kind of the source of alternatives.- See Also:
- Constant Field Values
-
SOURCE
public static final java.lang.String SOURCE
Source of alternatives. If the kind is specified as a Table, the source must be an Instance Table. If the kind is specified as Excel, the source must be an Instance Table linked to an Excel file or an ImportMap element. If the kind is specified as Subtypes, the source must be a parent Block of subtypes.- See Also:
- Constant Field Values
-
_p
private final MDCustomizationForSysMLProfile _p
-
kind
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property kind
-
source
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property source
-
-
Constructor Detail
-
AlternativesStereotype
protected AlternativesStereotype(MDCustomizationForSysMLProfile profile)
-
-
Method Detail
-
getStereotype
public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
- Specified by:
getStereotype
in classcom.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
getKindProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getKindProperty()
-
getSourceProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getSourceProperty()
-
setKind
public void setKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull MDCustomizationForSysMLProfile.SourceKindEnum value)
-
clearKind
public void clearKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getKind
@CheckForNull public MDCustomizationForSysMLProfile.SourceKindEnum getKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setSource
public void setSource(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
clearSource
public void clearSource(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getSource
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getSource(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)
-
-