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