package com.constellio.model.entities.calculators.dependencies;
import java.util.List;
import com.constellio.model.entities.Taxonomy;
/**
* This class contains the metadatas of a taxonomy record assigned to the schema using the localMetadata
* The metadatas of the taxonomy records are only those who have a taxonomy dependency
*/
public class HierarchyDependencyValue {
private Taxonomy taxonomy;
private List<String> paths;
private List<String> removedAuthorizationIds;
private List<String> attachedAncestors;
public HierarchyDependencyValue(Taxonomy taxonomy, List<String> paths,
List<String> removedAuthorizationIds, List<String> attachedAncestors) {
this.taxonomy = taxonomy;
this.paths = paths;
this.removedAuthorizationIds = removedAuthorizationIds;
this.attachedAncestors = attachedAncestors;
}
public Taxonomy getTaxonomy() {
return taxonomy;
}
public List<String> getPaths() {
return paths;
}
public List<String> getRemovedAuthorizationIds() {
return removedAuthorizationIds;
}
public List<String> getAttachedAncestors() {
return attachedAncestors;
}
}