public class RequestData extends XMLObject implements ValidatorInterface
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CUST_CONSULTATION_REQUIRED |
static java.lang.String |
SPECIAL_INSTRUCTIONS1 |
static java.lang.String |
SPECIAL_INSTRUCTIONS2 |
static java.lang.String |
SPECIAL_INSTRUCTIONS3 |
xmlNode, xmlObjectType
Constructor and Description |
---|
RequestData()
Default constructor
|
RequestData(XMLObjectType xmlObjectType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
fieldsExists() |
java.lang.String |
getCustomerConsultationRequired() |
java.util.List<EventObject> |
getEvents() |
java.lang.String |
getParentCategory() |
java.lang.String |
getParentField() |
java.lang.String |
getSpecialInstructions1() |
java.lang.String |
getSpecialInstructions2() |
java.lang.String |
getSpecialInstructions3() |
java.util.List<? extends java.lang.Object> |
getYesNo() |
void |
setCustomerConsultationRequired(java.lang.String customerConsultationRequired) |
void |
setEvents(java.util.List<EventObject> event) |
void |
setParentCategory(java.lang.String parentCategory) |
void |
setParentField(java.lang.String parentField) |
void |
setSpecialInstructions1(java.lang.String specialInstructions1) |
void |
setSpecialInstructions2(java.lang.String specialInstructions2) |
void |
setSpecialInstructions3(java.lang.String specialInstructions3) |
boolean |
validate()
Called to validate the XMLObject.
|
protected boolean |
validateCustomerConsultationRequired() |
protected boolean |
validateSpecialInstructions1() |
protected boolean |
validateSpecialInstructions2() |
protected boolean |
validateSpecialInstructions3() |
createXML, exists, getXMLObjectType, setXMLString, setXMLString
public static java.lang.String CUST_CONSULTATION_REQUIRED
public static java.lang.String SPECIAL_INSTRUCTIONS1
public static java.lang.String SPECIAL_INSTRUCTIONS2
public static java.lang.String SPECIAL_INSTRUCTIONS3
public RequestData()
public RequestData(XMLObjectType xmlObjectType)
xmlObjectType
- The xmlObjectType to setpublic boolean fieldsExists()
fieldsExists
in class XMLObject
public java.util.List<? extends java.lang.Object> getYesNo()
public java.lang.String getSpecialInstructions1()
public void setSpecialInstructions1(java.lang.String specialInstructions1)
specialInstructions1
- The specialInstructions to set.public java.lang.String getSpecialInstructions2()
public void setSpecialInstructions2(java.lang.String specialInstructions2)
specialInstructions2
- The specialInstructions to set.public java.lang.String getSpecialInstructions3()
public void setSpecialInstructions3(java.lang.String specialInstructions3)
specialInstructions3
- The specialInstructions to set.public java.lang.String getCustomerConsultationRequired()
public void setCustomerConsultationRequired(java.lang.String customerConsultationRequired)
customerConsultationRequired
- The customerConsultationRequired to set.public java.util.List<EventObject> getEvents()
getEvents
in interface ValidatorInterface
ValidatorInterface.getEvents()
public void setEvents(java.util.List<EventObject> event)
event
- public java.lang.String getParentCategory()
public void setParentCategory(java.lang.String parentCategory)
parentCategory
- The parentCategory to set.public java.lang.String getParentField()
public void setParentField(java.lang.String parentField)
parentField
- The parentField to set.public boolean validate()
ValidatorInterface
validate
in interface ValidatorInterface
protected boolean validateCustomerConsultationRequired()
protected boolean validateSpecialInstructions1()
protected boolean validateSpecialInstructions2()
protected boolean validateSpecialInstructions3()