public class ServiceScriptsFileResource extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
fileName |
protected String |
scriptContent |
Constructor and Description |
---|
ServiceScriptsFileResource()
Serializable Constructor
|
ServiceScriptsFileResource(String fileName,
String scriptContent) |
Modifier and Type | Method and Description |
---|---|
static Element |
formRequest(Request<?> request,
ServiceScriptsFileResource datatype,
String elementName)
Appends this DataType to the given Request
|
static ServiceScriptsFileResource[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type ServiceScriptsFileResource by parsing the XML node.
|
String |
getFileName() |
static ServiceScriptsFileResource |
getFromNode(Node node)
Retrieves an elements of type ServiceScriptsFileResource by parsing an XML node.
|
String |
getScriptContent() |
ServiceScriptsFileResource |
setFileName(String fileName) |
ServiceScriptsFileResource |
setScriptContent(String scriptContent) |
@Size(min=1) protected String fileName
protected String scriptContent
public ServiceScriptsFileResource()
public String getFileName()
public ServiceScriptsFileResource setFileName(String fileName)
public String getScriptContent()
public ServiceScriptsFileResource setScriptContent(String scriptContent)
@GwtIncompatible public static Element formRequest(Request<?> request, ServiceScriptsFileResource datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static ServiceScriptsFileResource getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static ServiceScriptsFileResource[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.Copyright © 2016 ECG. All rights reserved.