public class ServiceScriptsFileResource extends Object
Modifier and Type | Field and Description |
---|---|
String |
fileName |
boolean |
fileNameIsModified |
String |
scriptContent |
boolean |
scriptContentIsModified |
Modifier | Constructor and Description |
---|---|
protected |
ServiceScriptsFileResource()
Protected Call for Use by Node Construction Methods
|
|
ServiceScriptsFileResource(String fileName,
String scriptContent) |
Modifier and Type | Method and Description |
---|---|
static ServiceScriptsFileResource |
fromProxy(BroadWorksServer bws,
ServiceScriptsFileResourceProxy proxy)
Re-inserts non-serializable information into a Proxy class in order to regain the source DataType class
|
String |
getFileName() |
static ServiceScriptsFileResource |
getFromNode(Node node)
Retrieves an elements of type ServiceScriptsFileResource by parsing an XML node.
|
static ServiceScriptsFileResource[] |
getListFromNode(Node[] nodeList)
Retrieves an Array of elements of type ServiceScriptsFileResource by parsing the XML node.
|
static ServiceScriptsFileResource[] |
getListFromNode(Node node,
String elementName)
Retrieves an Array of elements of type ServiceScriptsFileResource by parsing the XML node.
|
ServiceScriptsFileResourceProxy |
getProxy()
Retrieves the Serializable version of this DataType
|
String |
getScriptContent() |
ServiceScriptsFileResource |
setFileName(String fileName) |
ServiceScriptsFileResource |
setScriptContent(String scriptContent) |
String |
toString() |
@Size(min=1) public String fileName
public transient boolean fileNameIsModified
public String scriptContent
public transient boolean scriptContentIsModified
protected ServiceScriptsFileResource()
public String getFileName()
public ServiceScriptsFileResource setFileName(String fileName)
public String getScriptContent()
public ServiceScriptsFileResource setScriptContent(String scriptContent)
public static ServiceScriptsFileResource getFromNode(Node node)
node
- The source node to parse.public static ServiceScriptsFileResource[] getListFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.public static ServiceScriptsFileResource[] getListFromNode(Node[] nodeList)
nodeList
- The source node array to retrieve the elements.public ServiceScriptsFileResourceProxy getProxy()
public static ServiceScriptsFileResource fromProxy(BroadWorksServer bws, ServiceScriptsFileResourceProxy proxy)
bws
- The current active BroadWorks Server connection.proxy
- The proxy object to inject.Copyright © 2016 ECG, Inc. All rights reserved.