public class Holiday extends Object
Modifier and Type | Field and Description |
---|---|
Date |
endDate |
boolean |
endDateIsModified |
String |
holidayName |
boolean |
holidayNameIsModified |
Date |
startDate |
boolean |
startDateIsModified |
Modifier | Constructor and Description |
---|---|
protected |
Holiday()
Protected Call for Use by Node Construction Methods
|
|
Holiday(String holidayName,
Date startDate) |
Modifier and Type | Method and Description |
---|---|
static Holiday |
fromProxy(BroadWorksServer bws,
HolidayProxy proxy)
Re-inserts non-serializable information into a Proxy class in order to regain the source DataType class
|
Date |
getEndDate() |
static Holiday |
getFromNode(Node node)
Retrieves an elements of type Holiday by parsing an XML node.
|
String |
getHolidayName() |
static Holiday[] |
getListFromNode(Node[] nodeList)
Retrieves an Array of elements of type Holiday by parsing the XML node.
|
static Holiday[] |
getListFromNode(Node node,
String elementName)
Retrieves an Array of elements of type Holiday by parsing the XML node.
|
HolidayProxy |
getProxy()
Retrieves the Serializable version of this DataType
|
Date |
getStartDate() |
Holiday |
setEndDate(Date endDate) |
Holiday |
setHolidayName(String holidayName) |
Holiday |
setStartDate(Date startDate) |
String |
toString() |
@Size(min=1, max=40) public String holidayName
public transient boolean holidayNameIsModified
public Date startDate
public transient boolean startDateIsModified
public Date endDate
public transient boolean endDateIsModified
public String getHolidayName()
public Date getStartDate()
public Date getEndDate()
public static Holiday getFromNode(Node node)
node
- The source node to parse.public static Holiday[] getListFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.public static Holiday[] getListFromNode(Node[] nodeList)
nodeList
- The source node array to retrieve the elements.public HolidayProxy getProxy()
public static Holiday fromProxy(BroadWorksServer bws, HolidayProxy proxy)
bws
- The current active BroadWorks Server connection.proxy
- The proxy object to inject.Copyright © 2016 ECG, Inc. All rights reserved.