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 ProfileImplementation.StereotypeWrapper
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
void
void
clearSource
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) void
setKind
(Element element, MDCustomizationForSysMLProfile.SourceKindEnum value) void
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
KIND
Kind of the source of alternatives.- See Also:
-
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:
-
-
Constructor Details
-
AlternativesStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getKindProperty
-
getSourceProperty
-
setKind
public void setKind(Element element, @CheckForNull MDCustomizationForSysMLProfile.SourceKindEnum value) -
clearKind
-
getKind
-
setSource
-
clearSource
-
getSource
-
clear
protected void clear() -
is
-
isInstance
-