use of org.apache.atlas.repository.graphdb.AtlasElement in project atlas by apache.
the class AtlasJanusElement method setPropertyFromElementsIds.
@Override
public void setPropertyFromElementsIds(String propertyName, List<AtlasElement> values) {
List<String> propertyValue = new ArrayList<>(values.size());
for (AtlasElement value : values) {
propertyValue.add(value.getId().toString());
}
setProperty(propertyName, propertyValue);
}
use of org.apache.atlas.repository.graphdb.AtlasElement in project atlas by apache.
the class Titan0Element method setPropertyFromElementsIds.
@Override
public void setPropertyFromElementsIds(String propertyName, List<AtlasElement> values) {
List<String> propertyValue = new ArrayList<>(values.size());
for (AtlasElement element : values) {
propertyValue.add(element.getId().toString());
}
setProperty(propertyName, propertyValue);
}
use of org.apache.atlas.repository.graphdb.AtlasElement in project incubator-atlas by apache.
the class Titan1Element method setPropertyFromElementsIds.
@Override
public void setPropertyFromElementsIds(String propertyName, List<AtlasElement> values) {
List<String> propertyValue = new ArrayList<>(values.size());
for (AtlasElement value : values) {
propertyValue.add(value.getId().toString());
}
setProperty(propertyName, propertyValue);
}
Aggregations