use of org.openforis.idm.metamodel.Survey in project collect by openforis.
the class ValidationDependencyGraph method determineDependents.
@Override
protected Set<NodePathPointer> determineDependents(Node<?> source) throws InvalidExpressionException {
Survey survey = source.getSurvey();
Set<NodePathPointer> dependentPointers = survey.getValidationDependencies(source.getDefinition());
return dependentPointers;
}
use of org.openforis.idm.metamodel.Survey in project collect by openforis.
the class ValidationDependencyGraph method determineSources.
@Override
protected Set<NodePathPointer> determineSources(Node<?> dependent) throws InvalidExpressionException {
Survey survey = dependent.getSurvey();
Set<NodePathPointer> sourcePointers = survey.getValidationSources(dependent.getDefinition());
return sourcePointers;
}
Aggregations