public class TimeSchedule extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected ScheduleLevel |
type |
Constructor and Description |
---|
TimeSchedule()
Serializable Constructor
|
TimeSchedule(ScheduleLevel type,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
TimeSchedule datatype,
String elementName)
Appends this DataType to the given Request
|
static TimeSchedule[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type TimeSchedule by parsing the XML node.
|
static TimeSchedule |
getFromNode(Node node)
Retrieves an elements of type TimeSchedule by parsing an XML node.
|
String |
getName() |
ScheduleLevel |
getType() |
int |
hashCode() |
TimeSchedule |
setName(String name) |
TimeSchedule |
setType(ScheduleLevel type) |
@NotNull protected ScheduleLevel type
@NotNull @Size(min=1, max=40) protected String name
public TimeSchedule(ScheduleLevel type, String name)
public TimeSchedule()
public ScheduleLevel getType()
public TimeSchedule setType(ScheduleLevel type)
public String getName()
public TimeSchedule setName(String name)
@GwtIncompatible public static Element formRequest(Request<?> request, TimeSchedule datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static TimeSchedule getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static TimeSchedule[] 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.