Package com.nomagic.magicdraw.sysml.util
Class MDCustomizationForSysMLProfile.AlternativesStereotype
- java.lang.Object
 - 
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
 - 
- 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
Fields Modifier and Type Field Description private MDCustomizationForSysMLProfile_pprivate Propertykindstatic java.lang.StringKINDKind of the source of alternatives.private Propertysourcestatic java.lang.StringSOURCESource of alternatives.static java.lang.StringSTEREOTYPE_NAME 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedAlternativesStereotype(MDCustomizationForSysMLProfile profile) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearKind(Element element)voidclearSource(Element element)MDCustomizationForSysMLProfile.SourceKindEnumgetKind(Element element)PropertygetKindProperty()ElementgetSource(Element element)PropertygetSourceProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidsetKind(Element element, MDCustomizationForSysMLProfile.SourceKindEnum value)voidsetSource(Element element, Element value)- 
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply 
- 
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName 
 - 
 
 - 
 
- 
- 
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 Property kind
 
- 
source
@CheckForNull private Property source
 
 - 
 
- 
Constructor Detail
- 
AlternativesStereotype
protected AlternativesStereotype(MDCustomizationForSysMLProfile profile)
 
 - 
 
- 
Method Detail
- 
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
 getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
 - stereotype
 
 
- 
getKindProperty
@CheckForNull public Property getKindProperty()
 
- 
getSourceProperty
@CheckForNull public Property getSourceProperty()
 
- 
setKind
public void setKind(Element element, @CheckForNull MDCustomizationForSysMLProfile.SourceKindEnum value)
 
- 
clearKind
public void clearKind(Element element)
 
- 
getKind
@CheckForNull public MDCustomizationForSysMLProfile.SourceKindEnum getKind(Element element)
 
- 
clearSource
public void clearSource(Element element)
 
- 
clear
protected void clear()
- Overrides:
 clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
 
- 
is
public boolean is(@CheckForNull Element element) 
- 
isInstance
public static boolean isInstance(@CheckForNull Element element) 
 - 
 
 -