Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.ConstraintBlockStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.ConstraintBlockStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.ConstraintBlockStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringISENCAPSULATEDIf 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.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedConstraintBlockStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearIsEncapsulated(Element element)PropertygetIsEncapsulatedProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)java.lang.BooleanisIsEncapsulated(Element element)voidsetIsEncapsulated(Element element, java.lang.Boolean value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
ISENCAPSULATED
public static final 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. 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:
- Constant Field Values
-
-
Constructor Detail
-
ConstraintBlockStereotype
protected ConstraintBlockStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getIsEncapsulatedProperty
@CheckForNull public Property getIsEncapsulatedProperty()
-
setIsEncapsulated
public void setIsEncapsulated(Element element, @CheckForNull java.lang.Boolean value)
-
clearIsEncapsulated
public void clearIsEncapsulated(Element element)
-
isIsEncapsulated
@CheckForNull public java.lang.Boolean isIsEncapsulated(Element element)
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-