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
_p
private Property
definition
static java.lang.String
DEFINITION
private Property
importType
static java.lang.String
IMPORTTYPE
Specifies the style of import associated with the element.private Property
location
static java.lang.String
LOCATION
Identifies the location of the imported element.private Property
namespace
static java.lang.String
NAMESPACE
Identifies the namespace of the imported element.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ImportStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearDefinition(Element element)
void
clearImportType(Element element)
void
clearLocation(Element element)
void
clearNamespace(Element element)
Element
getDefinition(Element element)
Property
getDefinitionProperty()
java.lang.String
getImportType(Element element)
Property
getImportTypeProperty()
java.lang.String
getLocation(Element element)
Property
getLocationProperty()
java.lang.String
getNamespace(Element element)
Property
getNamespaceProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setDefinition(Element element, Element value)
void
setImportType(Element element, java.lang.String value)
void
setLocation(Element element, java.lang.String value)
void
setNamespace(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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-