Class VarSpecRoot
java.lang.Object
org.proforma.variability.transfer.VarSpecNode
org.proforma.variability.transfer.VarSpecInnerNode
org.proforma.variability.transfer.VarSpecRoot
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VarSpecRoot
clone()
int
dim()
endBuild()
getCVp()
protected void
prettyPrint
(PrintStream out, String prefix) protected void
pushInheritedCVpToChildren
(CVp dummy) void
setChildren
(List<VarSpecNode> children) void
long
protected void
validateNewChild
(VarSpecNode child) Methods inherited from class org.proforma.variability.transfer.VarSpecInnerNode
getChildren, getFirstNonDefineChild
Methods inherited from class org.proforma.variability.transfer.VarSpecNode
afterUnmarshal, collect, collectAndValidateAllDefsAndRefs, collectDefRefs, collectGroup, combine, combineGroup, define, deriveCollect, deriveVal, endBuildTable, endCollectGroup, endCombineGroup, endDefine, findDef, getDebugId, getEffectiveVp, getEffectiveVpIndex, getLastChild, getNonDefineChildren, getParent, getRoot, numNonDefineChildren, prettyPrint, prettyPrint, range, range, range, ref, setParent, toString, val
-
Constructor Details
-
VarSpecRoot
public VarSpecRoot() -
VarSpecRoot
-
-
Method Details
-
clone
- Specified by:
clone
in classVarSpecNode
-
pushInheritedCVpToChildren
- Specified by:
pushInheritedCVpToChildren
in classVarSpecNode
-
getCVp
- Overrides:
getCVp
in classVarSpecInnerNode
- Returns:
- list of variation points.
- Throws:
UnsupportedOperationException
- if this is aVarSpecLeafRef
orVarSpecLeafCombine
.
-
setCVp
- Overrides:
setCVp
in classVarSpecInnerNode
- Parameters:
cvp
- list of variation points- Throws:
UnsupportedOperationException
- if this is aVarSpecLeafRef
orVarSpecLeafCombine
.
-
setChildren
- Overrides:
setChildren
in classVarSpecInnerNode
- Parameters:
children
- list of child nodes
-
sizeLowerBound
public long sizeLowerBound()- Specified by:
sizeLowerBound
in classVarSpecNode
- Returns:
- the number of tuples in this set.
-
dim
public int dim()- Specified by:
dim
in classVarSpecNode
-
getEffectiveCVp
- Specified by:
getEffectiveCVp
in classVarSpecNode
-
build
-
endBuild
- Overrides:
endBuild
in classVarSpecNode
-
validateNewChild
- Specified by:
validateNewChild
in classVarSpecNode
- Throws:
IllegalArgumentException
-
prettyPrint
- Specified by:
prettyPrint
in classVarSpecNode
-
prettyPrintToString
-