Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.BlockStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.sysml.util.SysMLProfile.BlockStereotype
- Enclosing class:
- SysMLProfile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()voidclearIsEncapsulated(Element element) Returns stereotype for this wrapper.booleanChecks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element) isIsEncapsulated(Element element) voidsetIsEncapsulated(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
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. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends.- See Also:
-
-
Constructor Details
-
BlockStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getIsEncapsulatedProperty
-
setIsEncapsulated
-
clearIsEncapsulated
-
isIsEncapsulated
-
clear
protected void clear() -
is
Description copied from class:ProfileImplementation.StereotypeWrapperChecks if stereotype of this wrapper is applied to given element.- Specified by:
isin classProfileImplementation.StereotypeWrapper- Parameters:
element- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
-