Package fr.gouv.vitam.metadata.core
Class UnitNode
- java.lang.Object
-
- fr.gouv.vitam.metadata.core.UnitNode
-
- Direct Known Subclasses:
UnitRuleCompute
public class UnitNode extends java.lang.Object
Deprecated.: Use the new api /unitsWithInheritedRules instead. To be removed in future releases.Object to build the graph of unit
-
-
Constructor Summary
Constructors Constructor Description UnitNode()
Deprecated.Empty ConstructorUnitNode(UnitSimplified u)
Deprecated.constructor with UnitSimplified
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
buildAncestors(java.util.Map<java.lang.String,UnitSimplified> parentMap, java.util.Map<java.lang.String,UnitNode> allUnitNode, java.util.Set<java.lang.String> rootList)
Deprecated.Build a graph of all parentsjava.util.Map<java.lang.String,UnitNode>
getAllUnitNode()
Deprecated.java.util.Map<java.lang.String,UnitNode>
getDirectParent()
Deprecated.UnitSimplified
getUnit()
Deprecated.UnitNode
setAllUnitNode(java.util.Map<java.lang.String,UnitNode> allUnitNode)
Deprecated.
-
-
-
Constructor Detail
-
UnitNode
public UnitNode()
Deprecated.Empty Constructor
-
UnitNode
public UnitNode(UnitSimplified u)
Deprecated.constructor with UnitSimplified- Parameters:
u
- UnitSimplified
-
-
Method Detail
-
buildAncestors
public void buildAncestors(java.util.Map<java.lang.String,UnitSimplified> parentMap, java.util.Map<java.lang.String,UnitNode> allUnitNode, java.util.Set<java.lang.String> rootList)
Deprecated.Build a graph of all parents- Parameters:
parentMap
- map of parent unitallUnitNode
- map a all unitrootList
- list of root
-
getDirectParent
public java.util.Map<java.lang.String,UnitNode> getDirectParent()
Deprecated.- Returns:
- DirectParent node
-
getUnit
public UnitSimplified getUnit()
Deprecated.- Returns:
- UnitSimplified
-
getAllUnitNode
public java.util.Map<java.lang.String,UnitNode> getAllUnitNode()
Deprecated.- Returns:
- the map of all unit node
-
-