Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.ConnectorPropertyStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.ConnectorPropertyStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.ConnectorPropertyStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile
_p
private Property
connector
static java.lang.String
CONNECTOR
A connector of the block owning the property on which the stereotype is applied.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnectorPropertyStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearConnector(Element element)
Element
getConnector(Element element)
Property
getConnectorProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setConnector(Element element, Element value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
CONNECTOR
public static final java.lang.String CONNECTOR
A connector of the block owning the property on which the stereotype is applied.- See Also:
- Constant Field Values
-
_p
private final SysMLProfile _p
-
connector
@CheckForNull private Property connector
-
-
Constructor Detail
-
ConnectorPropertyStereotype
protected ConnectorPropertyStereotype(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
-
getConnectorProperty
@CheckForNull public Property getConnectorProperty()
-
clearConnector
public void clearConnector(Element element)
-
clear
protected void clear()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-