fixing issue
This commit is contained in:
parent
0cc1ead630
commit
9eceb98059
|
@ -387,7 +387,8 @@ public class ResourceRegistryClientImpl extends BaseRequestInfo implements Resou
|
|||
public <ERElem extends ERElement> List<Type> getTypeFromServer(Class<ERElem> clazz, Boolean polymorphic)
|
||||
throws SchemaNotFoundException, ResourceRegistryException {
|
||||
try {
|
||||
String json = getTypeFromServer(TypeUtility.getTypeName(clazz), polymorphic);
|
||||
// String json = getTypeFromServer(TypeUtility.getTypeName(clazz), polymorphic);
|
||||
String json = getType(TypeUtility.getTypeName(clazz), polymorphic);
|
||||
return TypeMapper.deserializeTypeDefinitions(json);
|
||||
} catch(ResourceRegistryException e) {
|
||||
throw e;
|
||||
|
@ -406,8 +407,10 @@ public class ResourceRegistryClientImpl extends BaseRequestInfo implements Resou
|
|||
Node<Type> node = typesKnowledge.getModelKnowledge().getNodeByName(typeName);
|
||||
if(polymorphic) {
|
||||
// TODO
|
||||
// Navigate the subtree
|
||||
}else {
|
||||
// TODO
|
||||
node.getNodeElement();
|
||||
}
|
||||
return null;
|
||||
} catch(Exception e) {
|
||||
|
|
Loading…
Reference in New Issue