if (propertiesRange == INTERNAL_PROP_RANGE.allObjectProperties) {
HashMap<String, Label> linkList = ontMgr.getObjectProperties();
if(linkList != null) {
for(Label label : linkList.values()) {
properties.add(new ObjectPropertyLink(label.getUri(), label, ObjectPropertyType.None));
}
}
} else if(propertiesRange == INTERNAL_PROP_RANGE.allDataProperties) {
HashMap<String, Label> linkList = ontMgr.getDataProperties();
for(Label label : linkList.values()) {
properties.add(new DataPropertyLink(label.getUri(), label));
}
} else if(propertiesRange == INTERNAL_PROP_RANGE.allDataAndObjectProperties) {
HashMap<String, Label> linkList = ontMgr.getDataProperties();
for(Label label : linkList.values()) {
properties.add(new DataPropertyLink(label.getUri(), label));
}
HashMap<String, Label> objectLinkList = ontMgr.getObjectProperties();
for(Label label : objectLinkList.values()) {
if(!linkList.containsValue(label))
properties.add(new ObjectPropertyLink(label.getUri(), label, ObjectPropertyType.None));
}
} else if(propertiesRange == INTERNAL_PROP_RANGE.propertiesWithDomainRange) {
Map<String, Label> linkList = ontMgr.getObjectPropertiesByDomainRange(domainURI, rangeURI, true);
for(Label label : linkList.values()) {
properties.add(new DataPropertyLink(label.getUri(), label));