Class VarSpecNode
java.lang.Object
org.proforma.variability.transfer.VarSpecNode
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
VarSpecInnerNode
,VarSpecLeaf
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterUnmarshal
(javax.xml.bind.Unmarshaller unmarshaller, Object parent) Postprocessing sets parent relationshipsabstract VarSpecNode
clone()
protected void
This method is called once by the root node.protected org.proforma.variability.transfer.VarSpecNode.DefRefCollector
Can be called only when all children are present.collectGroup
(String... keys) combineGroup
(String... keys) deriveCollect
(String jsSource) abstract int
dim()
endBuild()
protected VarSpecNodeDef
abstract List<VarSpecNode>
abstract CVp
getCVp()
protected String
abstract CVp
getEffectiveVp
(String key) int
Returns the last child node.getRoot()
protected int
void
void
prettyPrint
(PrintStream out) protected abstract void
prettyPrint
(PrintStream out, String prefix) protected abstract void
pushInheritedCVpToChildren
(CVp inheritedCVp) abstract void
setChildren
(List<VarSpecNode> children) abstract void
void
setParent
(VarSpecNode parent) abstract long
toString()
protected abstract void
validateNewChild
(VarSpecNode child)
-
Constructor Details
-
VarSpecNode
public VarSpecNode() -
VarSpecNode
-
-
Method Details
-
clone
-
getDebugId
-
getChildren
-
setChildren
-
getCVp
-
setCVp
-
collectDefRefs
protected org.proforma.variability.transfer.VarSpecNode.DefRefCollector collectDefRefs()Can be called only when all children are present. -
findDef
-
afterUnmarshal
Postprocessing sets parent relationships -
collectAndValidateAllDefsAndRefs
protected void collectAndValidateAllDefsAndRefs()This method is called once by the root node. -
pushInheritedCVpToChildren
-
sizeLowerBound
public abstract long sizeLowerBound()- Returns:
- the number of tuples in this set.
-
dim
public abstract int dim() -
getEffectiveCVp
-
getRoot
-
getParent
- Returns:
- parent node (null for the root)
-
setParent
- Parameters:
parent
- parent node (or null for the root)
-
getEffectiveVpIndex
-
getEffectiveVp
-
getLastChild
Returns the last child node. -
getNonDefineChildren
-
numNonDefineChildren
protected int numNonDefineChildren() -
endBuild
-
endBuildTable
-
define
-
endDefine
-
collectGroup
-
endCollectGroup
-
combineGroup
-
endCombineGroup
-
combine
-
ref
-
collect
-
range
-
range
-
range
-
val
-
deriveVal
-
deriveCollect
-
validateNewChild
- Throws:
IllegalArgumentException
-
prettyPrint
public void prettyPrint() -
prettyPrint
-
prettyPrint
-
toString
-