Class BPMN2Profile.ImportStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ImportStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.ImportStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile_pprivate Propertydefinitionstatic java.lang.StringDEFINITIONprivate PropertyimportTypestatic java.lang.StringIMPORTTYPESpecifies the style of import associated with the element.private Propertylocationstatic java.lang.StringLOCATIONIdentifies the location of the imported element.private Propertynamespacestatic java.lang.StringNAMESPACEIdentifies the namespace of the imported element.static java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedImportStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearDefinition(Element element)voidclearImportType(Element element)voidclearLocation(Element element)voidclearNamespace(Element element)ElementgetDefinition(Element element)PropertygetDefinitionProperty()java.lang.StringgetImportType(Element element)PropertygetImportTypeProperty()java.lang.StringgetLocation(Element element)PropertygetLocationProperty()java.lang.StringgetNamespace(Element element)PropertygetNamespaceProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidsetDefinition(Element element, Element value)voidsetImportType(Element element, java.lang.String value)voidsetLocation(Element element, java.lang.String value)voidsetNamespace(Element element, java.lang.String 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
-
DEFINITION
public static final java.lang.String DEFINITION
- See Also:
- Constant Field Values
-
IMPORTTYPE
public static final java.lang.String IMPORTTYPE
Specifies the style of import associated with the element. For example, a value of http://www.w3.org/2001/XMLSchema indicates that the imported element is an XML schema. A value of http://www.omg.org/bpmn20 indicates that the imported element is a BPMN element.- See Also:
- Constant Field Values
-
LOCATION
public static final java.lang.String LOCATION
Identifies the location of the imported element.- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
Identifies the namespace of the imported element.- See Also:
- Constant Field Values
-
_p
private final BPMN2Profile _p
-
definition
@CheckForNull private Property definition
-
importType
@CheckForNull private Property importType
-
location
@CheckForNull private Property location
-
namespace
@CheckForNull private Property namespace
-
-
Constructor Detail
-
ImportStereotype
protected ImportStereotype(BPMN2Profile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getDefinitionProperty
@CheckForNull public Property getDefinitionProperty()
-
getImportTypeProperty
@CheckForNull public Property getImportTypeProperty()
-
getLocationProperty
@CheckForNull public Property getLocationProperty()
-
getNamespaceProperty
@CheckForNull public Property getNamespaceProperty()
-
clearDefinition
public void clearDefinition(Element element)
-
setImportType
public void setImportType(Element element, @CheckForNull java.lang.String value)
-
clearImportType
public void clearImportType(Element element)
-
getImportType
@CheckForNull public java.lang.String getImportType(Element element)
-
setLocation
public void setLocation(Element element, @CheckForNull java.lang.String value)
-
clearLocation
public void clearLocation(Element element)
-
getLocation
@CheckForNull public java.lang.String getLocation(Element element)
-
setNamespace
public void setNamespace(Element element, @CheckForNull java.lang.String value)
-
clearNamespace
public void clearNamespace(Element element)
-
getNamespace
@CheckForNull public java.lang.String getNamespace(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)
-
-