dataObjectType.setType(DataType.valueOf(expOutput.getOutputType()));
}
dataObjectType.setMetaData(expOutput.getMetadata());
return dataObjectType;
}else if (object instanceof NodeInputResource){
NodeInputResource nodeInputResource = (NodeInputResource)object;
dataObjectType.setKey(nodeInputResource.getInputKey());
dataObjectType.setValue(nodeInputResource.getValue());
if (nodeInputResource.getInputType() != null){
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());