}
return resource;
}
private static Resource createApplicationOutput(ApplicationOutput o) {
ApplicationOutputResource resource = new ApplicationOutputResource();
if (o != null){
resource.setInterfaceID(o.getInterfaceID());
resource.setOutputKey(o.getOutputKey());
resource.setOutputVal(o.getOutputVal());
resource.setDataType(o.getDataType());
resource.setAppInterfaceResource((AppInterfaceResource)createAppInterfaceResource(o.getApplicationInterface()));
}
return resource;
}