Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.ConjugatedInterfaceBlockStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.ConjugatedInterfaceBlockStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.ConjugatedInterfaceBlockStereotype 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.StringORIGINALThe original Interface Block of the conjugated Interface Block that has the same features as the original, except its Directed Features and Flow Properties are reversed.static java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedConjugatedInterfaceBlockStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearIsEncapsulated(Element element)voidclearOriginal(Element element)PropertygetIsEncapsulatedProperty()ElementgetOriginal(Element element)PropertygetOriginalProperty()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)voidsetOriginal(Element element, Element 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
-
ORIGINAL
public static final java.lang.String ORIGINAL
The original Interface Block of the conjugated Interface Block that has the same features as the original, except its Directed Features and Flow Properties are reversed.- 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
-
ConjugatedInterfaceBlockStereotype
protected ConjugatedInterfaceBlockStereotype(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
-
getOriginalProperty
@CheckForNull public Property getOriginalProperty()
-
getIsEncapsulatedProperty
@CheckForNull public Property getIsEncapsulatedProperty()
-
clearOriginal
public void clearOriginal(Element element)
-
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)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-