Class VarSpecLeafCombine
- java.lang.Object
-
- org.proforma.variability.transfer.VarSpecNode
-
- org.proforma.variability.transfer.VarSpecLeaf
-
- org.proforma.variability.transfer.VarSpecLeafCombine
-
- All Implemented Interfaces:
Serializable
public class VarSpecLeafCombine extends VarSpecLeaf
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VarSpecLeafCombine()
VarSpecLeafCombine(VarSpecLeafCombine other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VarSpecLeafCombine
clone()
protected org.proforma.variability.transfer.VarSpecNode.DefRefCollector
collectDefRefs()
Can be called only when all children are present.int
dim()
CVp
getEffectiveCVp()
List<V>
getValue()
protected void
prettyPrint(PrintStream out, String prefix)
protected void
pushInheritedCVpToChildren(CVp inheritedCVp)
void
setParent(VarSpecNode parent)
void
setValue(List<V> value)
long
sizeLowerBound()
protected void
validateNewChild(VarSpecNode child)
-
Methods inherited from class org.proforma.variability.transfer.VarSpecLeaf
getChildren, getCVp, setChildren, setCVp
-
Methods inherited from class org.proforma.variability.transfer.VarSpecNode
afterUnmarshal, collect, collectAndValidateAllDefsAndRefs, collectGroup, combine, combineGroup, define, deriveCollect, deriveVal, endBuild, endBuildTable, endCollectGroup, endCombineGroup, endDefine, findDef, getDebugId, getEffectiveVp, getEffectiveVpIndex, getLastChild, getNonDefineChildren, getParent, getRoot, numNonDefineChildren, prettyPrint, prettyPrint, range, range, range, ref, toString, val
-
-
-
-
Constructor Detail
-
VarSpecLeafCombine
public VarSpecLeafCombine()
-
VarSpecLeafCombine
public VarSpecLeafCombine(VarSpecLeafCombine other)
-
-
Method Detail
-
clone
public VarSpecLeafCombine clone()
- Specified by:
clone
in classVarSpecNode
-
collectDefRefs
protected org.proforma.variability.transfer.VarSpecNode.DefRefCollector collectDefRefs()
Can be called only when all children are present.- Overrides:
collectDefRefs
in classVarSpecNode
-
pushInheritedCVpToChildren
protected void pushInheritedCVpToChildren(CVp inheritedCVp)
- Specified by:
pushInheritedCVpToChildren
in classVarSpecNode
-
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
public CVp getEffectiveCVp()
- Specified by:
getEffectiveCVp
in classVarSpecNode
-
setParent
public void setParent(VarSpecNode parent)
- Overrides:
setParent
in classVarSpecNode
- Parameters:
parent
- parent node (or null for the root)
-
validateNewChild
protected void validateNewChild(VarSpecNode child) throws IllegalArgumentException
- Specified by:
validateNewChild
in classVarSpecNode
- Throws:
IllegalArgumentException
-
prettyPrint
protected void prettyPrint(PrintStream out, String prefix)
- Specified by:
prettyPrint
in classVarSpecNode
-
-