Package cruise.umple.compiler
Class FeatureLink
java.lang.Object
cruise.umple.compiler.FeatureLink
- Direct Known Subclasses:
MultiplicityFeatureConnectingOpType
public class FeatureLink
extends java.lang.Object
A FeatureLink connects a source feature to target feature(s) in the feature diagram.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeatureLink.FeatureConnectingOpType
-
Constructor Summary
Constructors Constructor Description FeatureLink()
-
Method Summary
Modifier and Type Method Description void
delete()
FeatureLink.FeatureConnectingOpType
getFeatureConnectingOpType()
Set a default value for featureLinks.FeatureModel
getFeatureModel()
boolean
getIsSub()
isSub to differentiate between sub-features and include/exclude relationshipFeatureNode
getSourceFeatureNode()
FeatureNode
getTargetFeatureNode()
boolean
hasFeatureModel()
boolean
hasSourceFeatureNode()
boolean
hasTargetFeatureNode()
boolean
setFeatureConnectingOpType(FeatureLink.FeatureConnectingOpType aFeatureConnectingOpType)
boolean
setFeatureModel(FeatureModel aFeatureModel)
boolean
setIsSub(boolean aIsSub)
boolean
setSourceFeatureNode(FeatureNode aSourceFeatureNode)
boolean
setTargetFeatureNode(FeatureNode aTargetFeatureNode)
java.lang.String
toString()
-
Constructor Details
-
FeatureLink
public FeatureLink()
-
-
Method Details
-
setIsSub
public boolean setIsSub(boolean aIsSub) -
setFeatureConnectingOpType
public boolean setFeatureConnectingOpType(FeatureLink.FeatureConnectingOpType aFeatureConnectingOpType) -
getIsSub
public boolean getIsSub()isSub to differentiate between sub-features and include/exclude relationship -
getFeatureConnectingOpType
Set a default value for featureLinks. -
getFeatureModel
-
hasFeatureModel
public boolean hasFeatureModel() -
getTargetFeatureNode
-
hasTargetFeatureNode
public boolean hasTargetFeatureNode() -
getSourceFeatureNode
-
hasSourceFeatureNode
public boolean hasSourceFeatureNode() -
setFeatureModel
-
setTargetFeatureNode
-
setSourceFeatureNode
-
delete
public void delete() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-