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 VarSpecRootclone()intdim()endBuild()getCVp()protected voidprettyPrint(PrintStream out, String prefix) protected voidpushInheritedCVpToChildren(CVp dummy) voidsetChildren(List<VarSpecNode> children) voidlongprotected voidvalidateNewChild(VarSpecNode child) Methods inherited from class org.proforma.variability.transfer.VarSpecInnerNode
getChildren, getFirstNonDefineChildMethods 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:
clonein classVarSpecNode
-
pushInheritedCVpToChildren
- Specified by:
pushInheritedCVpToChildrenin classVarSpecNode
-
getCVp
- Overrides:
getCVpin classVarSpecInnerNode- Returns:
- list of variation points.
- Throws:
UnsupportedOperationException- if this is aVarSpecLeafReforVarSpecLeafCombine.
-
setCVp
- Overrides:
setCVpin classVarSpecInnerNode- Parameters:
cvp- list of variation points- Throws:
UnsupportedOperationException- if this is aVarSpecLeafReforVarSpecLeafCombine.
-
setChildren
- Overrides:
setChildrenin classVarSpecInnerNode- Parameters:
children- list of child nodes
-
sizeLowerBound
public long sizeLowerBound()- Specified by:
sizeLowerBoundin classVarSpecNode- Returns:
- the number of tuples in this set.
-
dim
public int dim()- Specified by:
dimin classVarSpecNode
-
getEffectiveCVp
- Specified by:
getEffectiveCVpin classVarSpecNode
-
build
-
endBuild
- Overrides:
endBuildin classVarSpecNode
-
validateNewChild
- Specified by:
validateNewChildin classVarSpecNode- Throws:
IllegalArgumentException
-
prettyPrint
- Specified by:
prettyPrintin classVarSpecNode
-
prettyPrintToString
-