Package cruise.umple.compiler
Class CompoundFeatureNode
java.lang.Object
cruise.umple.compiler.FeatureNode
cruise.umple.compiler.CompoundFeatureNode
public class CompoundFeatureNode extends FeatureNode
A compund feature has multiple of features (like xor , or and other that have multiplicity.)
-
Constructor Summary
Constructors Constructor Description CompoundFeatureNode(FeatureModel aFeatureModel)
-
Method Summary
Modifier and Type Method Description boolean
addChildFeature(FeatureNode aChildFeature)
boolean
addChildFeatureAt(FeatureNode aChildFeature, int index)
boolean
addOrMoveChildFeatureAt(FeatureNode aChildFeature, int index)
void
delete()
FeatureNode
getChildFeature(int index)
java.util.List<FeatureNode>
getChildFeatures()
boolean
hasChildFeatures()
int
indexOfChildFeature(FeatureNode aChildFeature)
static int
minimumNumberOfChildFeatures()
int
numberOfChildFeatures()
boolean
removeChildFeature(FeatureNode aChildFeature)
Methods inherited from class cruise.umple.compiler.FeatureNode
addIncomingFeatureLink, addIncomingFeatureLinkAt, addOrMoveIncomingFeatureLinkAt, addOrMoveOutgoingFeatureLinkAt, addOutgoingFeatureLink, addOutgoingFeatureLinkAt, getCompoundFeatureNode, getFeatureModel, getId, getIncomingFeatureLink, getIncomingFeatureLinks, getIsCompoundFeature, getIsLeaf, getName, getOutgoingFeatureLink, getOutgoingFeatureLinks, getUniqueFeatureNodeName, hasCompoundFeatureNode, hasIncomingFeatureLinks, hasOutgoingFeatureLinks, indexOfIncomingFeatureLink, indexOfOutgoingFeatureLink, minimumNumberOfIncomingFeatureLinks, minimumNumberOfOutgoingFeatureLinks, numberOfIncomingFeatureLinks, numberOfOutgoingFeatureLinks, removeIncomingFeatureLink, removeOutgoingFeatureLink, setCompoundFeatureNode, setFeatureModel, setId, setIsCompoundFeature, setIsLeaf, setName, toString
-
Constructor Details
-
Method Details
-
getChildFeature
-
getChildFeatures
-
numberOfChildFeatures
public int numberOfChildFeatures() -
hasChildFeatures
public boolean hasChildFeatures() -
indexOfChildFeature
-
minimumNumberOfChildFeatures
public static int minimumNumberOfChildFeatures() -
addChildFeature
-
removeChildFeature
-
addChildFeatureAt
-
addOrMoveChildFeatureAt
-
delete
public void delete()- Overrides:
delete
in classFeatureNode
-