public boolean hasDependentPropertyIris() { return getDependentPropertyIris() != null && getDependentPropertyIris().size() > 0; }
@Override public OntologyProperty getDependentPropertyParent(String iri, String workspaceId) { for (OntologyProperty property : getProperties(workspaceId)) { if (property.getDependentPropertyIris().contains(iri)) { return property; } } return null; }
for (String dependentPropertyIri : property.getDependentPropertyIris()) { if (values.get(dependentPropertyIri) == null) { VisibilityJson oldVisibilityJson = new VisibilityJson(oldVisibilitySource);
for (String dependentPropertyIri : ontologyProperty.getDependentPropertyIris()) { properties.addAll(toList(e.getProperties(propertyKey, dependentPropertyIri)));
" dependentProp('http://visallo.org/test#lastName')\n" + " ]).join(', ')", nameProperty.getDisplayFormula().trim()); ImmutableList<String> dependentPropertyIris = nameProperty.getDependentPropertyIris(); assertEquals(3, dependentPropertyIris.size()); assertTrue(dependentPropertyIris.contains("http://visallo.org/test#firstName"));
" dependentProp('http://visallo.org/test#lastName')\n" + " ]).join(', ')", nameProperty.getDisplayFormula().trim()); ImmutableList<String> dependentPropertyIris = nameProperty.getDependentPropertyIris(); assertEquals(3, dependentPropertyIris.size()); assertTrue(dependentPropertyIris.contains("http://visallo.org/test#firstName"));
result.setValidationFormula(getValidationFormula()); result.setDisplayFormula(getDisplayFormula()); result.setDependentPropertyIris(getDependentPropertyIris()); result.setDeleteable(getDeleteable()); result.setUpdateable(getUpdateable());