Package fr.gouv.vitam.metadata.core
Class UnitRuleCompute
- java.lang.Object
-
- fr.gouv.vitam.metadata.core.UnitNode
-
- fr.gouv.vitam.metadata.core.UnitRuleCompute
-
public class UnitRuleCompute extends UnitNode
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 UnitRuleCompute(UnitNode u)
Deprecated.constructor with UnitNodeUnitRuleCompute(UnitSimplified u)
Deprecated.constructor with UnitSimplified
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
computeRule()
Deprecated.Compute rule of Unit nodeUnitInheritedRule
getHeritedRules()
Deprecated.-
Methods inherited from class fr.gouv.vitam.metadata.core.UnitNode
buildAncestors, getAllUnitNode, getDirectParent, getUnit, setAllUnitNode
-
-
-
-
Constructor Detail
-
UnitRuleCompute
public UnitRuleCompute(UnitSimplified u)
Deprecated.constructor with UnitSimplified- Parameters:
u
- UnitSimplified
-
UnitRuleCompute
public UnitRuleCompute(UnitNode u)
Deprecated.constructor with UnitNode- Parameters:
u
- UnitNode
-
-
Method Detail
-
computeRule
public void computeRule() throws InvalidParseOperationException
Deprecated.Compute rule of Unit node- Throws:
InvalidParseOperationException
-
getHeritedRules
public UnitInheritedRule getHeritedRules()
Deprecated.- Returns:
- UnitInheritedRule
-
-