case Cls:
return getEntity(entityData.getName(), EntityType.CLASS);
case Property:
if(entityData instanceof PropertyEntityData) {
PropertyEntityData ped = (PropertyEntityData) entityData;
PropertyType propertyType = ped.getPropertyType();
if(propertyType == PropertyType.OBJECT) {
return getEntity(entityData.getName(), EntityType.OBJECT_PROPERTY);
}
else if(propertyType == PropertyType.DATATYPE) {
return getEntity(entityData.getName(), EntityType.DATA_PROPERTY);