use of org.openforis.idm.model.BooleanAttribute in project collect by openforis.
the class ModelLocationPath method computeValue.
@Override
public Object computeValue(EvalContext context) {
Object value = super.computeValue(context);
if (value instanceof DynamicPropertyPointer) {
NodePointer pointer = ((DynamicPropertyPointer) value).getValuePointer();
Object object = pointer.getNode();
if (object instanceof BooleanAttribute) {
return pointer.getValue();
}
}
return value;
}
Aggregations