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.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
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.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConjugatedInterfaceBlockStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearIsEncapsulated(Element element)
void
clearOriginal(Element element)
Property
getIsEncapsulatedProperty()
Element
getOriginal(Element element)
Property
getOriginalProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isIsEncapsulated(Element element)
void
setIsEncapsulated(Element element, java.lang.Boolean value)
void
setOriginal(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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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)
-
-