dataObjectType.setType(DataType.valueOf(nodeInputResource.getInputType()));
}
dataObjectType.setMetaData(nodeInputResource.getMetadata());
return dataObjectType;
}else if (object instanceof NodeOutputResource){
NodeOutputResource nodeOutputResource = (NodeOutputResource)object;
dataObjectType.setKey(nodeOutputResource.getOutputKey());
dataObjectType.setValue(nodeOutputResource.getValue());
if (nodeOutputResource.getOutputType() != null){
dataObjectType.setType(DataType.valueOf(nodeOutputResource.getOutputType()));
}
dataObjectType.setMetaData(nodeOutputResource.getMetadata());
return dataObjectType;
}else if (object instanceof ApplicationInputResource){
ApplicationInputResource inputResource = (ApplicationInputResource)object;
dataObjectType.setKey(inputResource.getInputKey());
dataObjectType.setValue(inputResource.getValue());