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