Class UnitGraphModel
java.lang.Object
fr.gouv.vitam.metadata.core.database.collections.UnitGraphModel
unit graph model.
-
Constructor Summary
ConstructorDescriptionUnitGraphModel
(Unit unit) UnitGraphModel
(String id, String originatingAgency) -
Method Summary
-
Constructor Details
-
UnitGraphModel
- Parameters:
id
- unit id of unitoriginatingAgency
- originating agency of unit
-
UnitGraphModel
- Parameters:
unit
-
-
-
Method Details
-
addParent
Add graph parent information into current graph. Compute all graph information from current au.- Parameters:
parent
- graph information.
-
id
-
parents
-
ancestors
-
originatingAgency
-
originatingAgencies
-
unitDepths
-
minDepth
public int minDepth() -
maxDepth
public int maxDepth() -
graph
-