public static class SysMLProfile.DomainStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ISENCAPSULATED
If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary.
|
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
DomainStereotype(SysMLProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
clearIsEncapsulated(Element element) |
Property |
getIsEncapsulatedProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
java.lang.Boolean |
isIsEncapsulated(Element element) |
void |
setIsEncapsulated(Element element,
java.lang.Boolean value) |
apply, unApply
clear, getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String ISENCAPSULATED
protected DomainStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getIsEncapsulatedProperty()
public void setIsEncapsulated(Element element, @CheckForNull java.lang.Boolean value)
public void clearIsEncapsulated(Element element)
@CheckForNull public java.lang.Boolean isIsEncapsulated(Element element)
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)