/**
* TCreate_Input.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package de.epages.ws.orderdocument7.model;
/**
* input arguments of a create() call.
* a set of order document specific attributes that will be used
* to create an order document.
* the alias element is optional, a new alias will be created
* if omitted.
* all others are optional.
*/
public class TCreate_Input implements java.io.Serializable {
/* order alias */
private java.lang.String alias;
/* order document's order (object path to order) */
private java.lang.String order;
/* order document's class (object path to order document class) */
private java.lang.String _class;
/* indicates whether or not the order document has been issued */
private java.lang.Boolean issued;
/* order document's issue date. will be ignored if Issued indicates
* false. if Issued indicates true and IssueDate is omitted the current
* date will be used. */
private java.util.Calendar issueDate;
public TCreate_Input() {
}
public TCreate_Input(
java.lang.String alias,
java.lang.String order,
java.lang.String _class,
java.lang.Boolean issued,
java.util.Calendar issueDate) {
this.alias = alias;
this.order = order;
this._class = _class;
this.issued = issued;
this.issueDate = issueDate;
}
/**
* Gets the alias value for this TCreate_Input.
*
* @return alias * order alias
*/
public java.lang.String getAlias() {
return alias;
}
/**
* Sets the alias value for this TCreate_Input.
*
* @param alias * order alias
*/
public void setAlias(java.lang.String alias) {
this.alias = alias;
}
/**
* Gets the order value for this TCreate_Input.
*
* @return order * order document's order (object path to order)
*/
public java.lang.String getOrder() {
return order;
}
/**
* Sets the order value for this TCreate_Input.
*
* @param order * order document's order (object path to order)
*/
public void setOrder(java.lang.String order) {
this.order = order;
}
/**
* Gets the _class value for this TCreate_Input.
*
* @return _class * order document's class (object path to order document class)
*/
public java.lang.String get_class() {
return _class;
}
/**
* Sets the _class value for this TCreate_Input.
*
* @param _class * order document's class (object path to order document class)
*/
public void set_class(java.lang.String _class) {
this._class = _class;
}
/**
* Gets the issued value for this TCreate_Input.
*
* @return issued * indicates whether or not the order document has been issued
*/
public java.lang.Boolean getIssued() {
return issued;
}
/**
* Sets the issued value for this TCreate_Input.
*
* @param issued * indicates whether or not the order document has been issued
*/
public void setIssued(java.lang.Boolean issued) {
this.issued = issued;
}
/**
* Gets the issueDate value for this TCreate_Input.
*
* @return issueDate * order document's issue date. will be ignored if Issued indicates
* false. if Issued indicates true and IssueDate is omitted the current
* date will be used.
*/
public java.util.Calendar getIssueDate() {
return issueDate;
}
/**
* Sets the issueDate value for this TCreate_Input.
*
* @param issueDate * order document's issue date. will be ignored if Issued indicates
* false. if Issued indicates true and IssueDate is omitted the current
* date will be used.
*/
public void setIssueDate(java.util.Calendar issueDate) {
this.issueDate = issueDate;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TCreate_Input)) return false;
TCreate_Input other = (TCreate_Input) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.alias==null && other.getAlias()==null) ||
(this.alias!=null &&
this.alias.equals(other.getAlias()))) &&
((this.order==null && other.getOrder()==null) ||
(this.order!=null &&
this.order.equals(other.getOrder()))) &&
((this._class==null && other.get_class()==null) ||
(this._class!=null &&
this._class.equals(other.get_class()))) &&
((this.issued==null && other.getIssued()==null) ||
(this.issued!=null &&
this.issued.equals(other.getIssued()))) &&
((this.issueDate==null && other.getIssueDate()==null) ||
(this.issueDate!=null &&
this.issueDate.equals(other.getIssueDate())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAlias() != null) {
_hashCode += getAlias().hashCode();
}
if (getOrder() != null) {
_hashCode += getOrder().hashCode();
}
if (get_class() != null) {
_hashCode += get_class().hashCode();
}
if (getIssued() != null) {
_hashCode += getIssued().hashCode();
}
if (getIssueDate() != null) {
_hashCode += getIssueDate().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(TCreate_Input.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("urn://epages.de/WebService/OrderDocumentTypes/2011/08", "TCreate_Input"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("alias");
elemField.setXmlName(new javax.xml.namespace.QName("", "Alias"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("order");
elemField.setXmlName(new javax.xml.namespace.QName("", "Order"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("_class");
elemField.setXmlName(new javax.xml.namespace.QName("", "Class"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("issued");
elemField.setXmlName(new javax.xml.namespace.QName("", "Issued"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("issueDate");
elemField.setXmlName(new javax.xml.namespace.QName("", "IssueDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}