public class StubsToModelUtils extends Object
| Constructor and Description |
|---|
StubsToModelUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.datatransformation.datatransformationservice.stubs.ArrayOfContentTypes |
contentTypeArrayToStub(ArrayList<org.gcube.datatransformation.datatransformationlibrary.model.ContentType> contentTypesList)
|
static org.gcube.datatransformation.datatransformationlibrary.model.ContentType |
contentTypeFromStub(org.gcube.datatransformation.datatransformationservice.stubs.ContentType contentType)
Returns a model
ContentType from a stub ContentType |
static org.gcube.datatransformation.datatransformationservice.stubs.ContentType |
contentTypeToStub(org.gcube.datatransformation.datatransformationlibrary.model.ContentType contentType)
Returns a stub
ContentType from a model ContentType. |
static org.gcube.datatransformation.datatransformationlibrary.datahandlers.model.Input |
inputFromStub(org.gcube.datatransformation.datatransformationservice.stubs.Input stubInput)
Returns model's Input constructed from stubs Input
|
static org.gcube.datatransformation.datatransformationlibrary.datahandlers.model.Output |
outputFromStub(org.gcube.datatransformation.datatransformationservice.stubs.Output stubOutput)
Returns model's Output constructed from stubs Output
|
static org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] |
parametersFromStub(org.gcube.datatransformation.datatransformationservice.stubs.Parameter[] parameters)
Returns an array of
Parameter from an array of Parameter |
public static org.gcube.datatransformation.datatransformationlibrary.model.ContentType contentTypeFromStub(org.gcube.datatransformation.datatransformationservice.stubs.ContentType contentType)
throws Exception
ContentType from a stub ContentTypecontentType - The stub ContentTypeContentTypeException - If an error in conversion occurred.public static org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] parametersFromStub(org.gcube.datatransformation.datatransformationservice.stubs.Parameter[] parameters)
Parameter from an array of Parameterparameters - The array of ParameterParameterpublic static org.gcube.datatransformation.datatransformationservice.stubs.ContentType contentTypeToStub(org.gcube.datatransformation.datatransformationlibrary.model.ContentType contentType)
throws Exception
ContentType from a model ContentType.contentType - The model ContentTypeContentTypeException - If an error in conversion occurred.public static org.gcube.datatransformation.datatransformationservice.stubs.ArrayOfContentTypes contentTypeArrayToStub(ArrayList<org.gcube.datatransformation.datatransformationlibrary.model.ContentType> contentTypesList)
contentTypesList - The ArrayList of model ContentTypeContentTypespublic static org.gcube.datatransformation.datatransformationlibrary.datahandlers.model.Input inputFromStub(org.gcube.datatransformation.datatransformationservice.stubs.Input stubInput)
stubInput - public static org.gcube.datatransformation.datatransformationlibrary.datahandlers.model.Output outputFromStub(org.gcube.datatransformation.datatransformationservice.stubs.Output stubOutput)
stubInput - Copyright © 2014. All Rights Reserved.