/sbt-poc/src/main/java/flexnet/macrovision/com/EmailLicenseRequestType.java

https://bitbucket.org/joolssmith/siemens-schweiz-data-remodelling-poc · Java · 276 lines · 174 code · 36 blank · 66 comment · 33 complexity · c4aa7bda75814a4dd0eb981e1a9a98b9 MD5 · raw file

  1. /**
  2. * EmailLicenseRequestType.java
  3. *
  4. * This file was auto-generated from WSDL
  5. * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
  6. */
  7. package flexnet.macrovision.com;
  8. public class EmailLicenseRequestType implements java.io.Serializable {
  9. private flexnet.macrovision.com.FulfillmentIdentifierType fulfillmentIdentifier;
  10. private java.lang.Boolean ignoreExistingEmailList;
  11. private java.lang.Boolean validateEmailAddresses;
  12. private java.lang.String[] emailIdList;
  13. private java.lang.String locale;
  14. public EmailLicenseRequestType() {
  15. }
  16. public EmailLicenseRequestType(
  17. flexnet.macrovision.com.FulfillmentIdentifierType fulfillmentIdentifier,
  18. java.lang.Boolean ignoreExistingEmailList,
  19. java.lang.Boolean validateEmailAddresses,
  20. java.lang.String[] emailIdList,
  21. java.lang.String locale) {
  22. this.fulfillmentIdentifier = fulfillmentIdentifier;
  23. this.ignoreExistingEmailList = ignoreExistingEmailList;
  24. this.validateEmailAddresses = validateEmailAddresses;
  25. this.emailIdList = emailIdList;
  26. this.locale = locale;
  27. }
  28. /**
  29. * Gets the fulfillmentIdentifier value for this EmailLicenseRequestType.
  30. *
  31. * @return fulfillmentIdentifier
  32. */
  33. public flexnet.macrovision.com.FulfillmentIdentifierType getFulfillmentIdentifier() {
  34. return fulfillmentIdentifier;
  35. }
  36. /**
  37. * Sets the fulfillmentIdentifier value for this EmailLicenseRequestType.
  38. *
  39. * @param fulfillmentIdentifier
  40. */
  41. public void setFulfillmentIdentifier(flexnet.macrovision.com.FulfillmentIdentifierType fulfillmentIdentifier) {
  42. this.fulfillmentIdentifier = fulfillmentIdentifier;
  43. }
  44. /**
  45. * Gets the ignoreExistingEmailList value for this EmailLicenseRequestType.
  46. *
  47. * @return ignoreExistingEmailList
  48. */
  49. public java.lang.Boolean getIgnoreExistingEmailList() {
  50. return ignoreExistingEmailList;
  51. }
  52. /**
  53. * Sets the ignoreExistingEmailList value for this EmailLicenseRequestType.
  54. *
  55. * @param ignoreExistingEmailList
  56. */
  57. public void setIgnoreExistingEmailList(java.lang.Boolean ignoreExistingEmailList) {
  58. this.ignoreExistingEmailList = ignoreExistingEmailList;
  59. }
  60. /**
  61. * Gets the validateEmailAddresses value for this EmailLicenseRequestType.
  62. *
  63. * @return validateEmailAddresses
  64. */
  65. public java.lang.Boolean getValidateEmailAddresses() {
  66. return validateEmailAddresses;
  67. }
  68. /**
  69. * Sets the validateEmailAddresses value for this EmailLicenseRequestType.
  70. *
  71. * @param validateEmailAddresses
  72. */
  73. public void setValidateEmailAddresses(java.lang.Boolean validateEmailAddresses) {
  74. this.validateEmailAddresses = validateEmailAddresses;
  75. }
  76. /**
  77. * Gets the emailIdList value for this EmailLicenseRequestType.
  78. *
  79. * @return emailIdList
  80. */
  81. public java.lang.String[] getEmailIdList() {
  82. return emailIdList;
  83. }
  84. /**
  85. * Sets the emailIdList value for this EmailLicenseRequestType.
  86. *
  87. * @param emailIdList
  88. */
  89. public void setEmailIdList(java.lang.String[] emailIdList) {
  90. this.emailIdList = emailIdList;
  91. }
  92. /**
  93. * Gets the locale value for this EmailLicenseRequestType.
  94. *
  95. * @return locale
  96. */
  97. public java.lang.String getLocale() {
  98. return locale;
  99. }
  100. /**
  101. * Sets the locale value for this EmailLicenseRequestType.
  102. *
  103. * @param locale
  104. */
  105. public void setLocale(java.lang.String locale) {
  106. this.locale = locale;
  107. }
  108. private java.lang.Object __equalsCalc = null;
  109. public synchronized boolean equals(java.lang.Object obj) {
  110. if (!(obj instanceof EmailLicenseRequestType)) return false;
  111. EmailLicenseRequestType other = (EmailLicenseRequestType) obj;
  112. if (obj == null) return false;
  113. if (this == obj) return true;
  114. if (__equalsCalc != null) {
  115. return (__equalsCalc == obj);
  116. }
  117. __equalsCalc = obj;
  118. boolean _equals;
  119. _equals = true &&
  120. ((this.fulfillmentIdentifier==null && other.getFulfillmentIdentifier()==null) ||
  121. (this.fulfillmentIdentifier!=null &&
  122. this.fulfillmentIdentifier.equals(other.getFulfillmentIdentifier()))) &&
  123. ((this.ignoreExistingEmailList==null && other.getIgnoreExistingEmailList()==null) ||
  124. (this.ignoreExistingEmailList!=null &&
  125. this.ignoreExistingEmailList.equals(other.getIgnoreExistingEmailList()))) &&
  126. ((this.validateEmailAddresses==null && other.getValidateEmailAddresses()==null) ||
  127. (this.validateEmailAddresses!=null &&
  128. this.validateEmailAddresses.equals(other.getValidateEmailAddresses()))) &&
  129. ((this.emailIdList==null && other.getEmailIdList()==null) ||
  130. (this.emailIdList!=null &&
  131. java.util.Arrays.equals(this.emailIdList, other.getEmailIdList()))) &&
  132. ((this.locale==null && other.getLocale()==null) ||
  133. (this.locale!=null &&
  134. this.locale.equals(other.getLocale())));
  135. __equalsCalc = null;
  136. return _equals;
  137. }
  138. private boolean __hashCodeCalc = false;
  139. public synchronized int hashCode() {
  140. if (__hashCodeCalc) {
  141. return 0;
  142. }
  143. __hashCodeCalc = true;
  144. int _hashCode = 1;
  145. if (getFulfillmentIdentifier() != null) {
  146. _hashCode += getFulfillmentIdentifier().hashCode();
  147. }
  148. if (getIgnoreExistingEmailList() != null) {
  149. _hashCode += getIgnoreExistingEmailList().hashCode();
  150. }
  151. if (getValidateEmailAddresses() != null) {
  152. _hashCode += getValidateEmailAddresses().hashCode();
  153. }
  154. if (getEmailIdList() != null) {
  155. for (int i=0;
  156. i<java.lang.reflect.Array.getLength(getEmailIdList());
  157. i++) {
  158. java.lang.Object obj = java.lang.reflect.Array.get(getEmailIdList(), i);
  159. if (obj != null &&
  160. !obj.getClass().isArray()) {
  161. _hashCode += obj.hashCode();
  162. }
  163. }
  164. }
  165. if (getLocale() != null) {
  166. _hashCode += getLocale().hashCode();
  167. }
  168. __hashCodeCalc = false;
  169. return _hashCode;
  170. }
  171. // Type metadata
  172. private static org.apache.axis.description.TypeDesc typeDesc =
  173. new org.apache.axis.description.TypeDesc(EmailLicenseRequestType.class, true);
  174. static {
  175. typeDesc.setXmlType(new javax.xml.namespace.QName("urn:com.macrovision:flexnet/operations", "emailLicenseRequestType"));
  176. org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  177. elemField.setFieldName("fulfillmentIdentifier");
  178. elemField.setXmlName(new javax.xml.namespace.QName("urn:com.macrovision:flexnet/operations", "fulfillmentIdentifier"));
  179. elemField.setXmlType(new javax.xml.namespace.QName("urn:com.macrovision:flexnet/operations", "fulfillmentIdentifierType"));
  180. elemField.setNillable(false);
  181. typeDesc.addFieldDesc(elemField);
  182. elemField = new org.apache.axis.description.ElementDesc();
  183. elemField.setFieldName("ignoreExistingEmailList");
  184. elemField.setXmlName(new javax.xml.namespace.QName("urn:com.macrovision:flexnet/operations", "ignoreExistingEmailList"));
  185. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
  186. elemField.setMinOccurs(0);
  187. elemField.setNillable(false);
  188. typeDesc.addFieldDesc(elemField);
  189. elemField = new org.apache.axis.description.ElementDesc();
  190. elemField.setFieldName("validateEmailAddresses");
  191. elemField.setXmlName(new javax.xml.namespace.QName("urn:com.macrovision:flexnet/operations", "validateEmailAddresses"));
  192. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
  193. elemField.setMinOccurs(0);
  194. elemField.setNillable(false);
  195. typeDesc.addFieldDesc(elemField);
  196. elemField = new org.apache.axis.description.ElementDesc();
  197. elemField.setFieldName("emailIdList");
  198. elemField.setXmlName(new javax.xml.namespace.QName("urn:com.macrovision:flexnet/operations", "emailIdList"));
  199. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  200. elemField.setMinOccurs(0);
  201. elemField.setNillable(false);
  202. elemField.setItemQName(new javax.xml.namespace.QName("urn:com.macrovision:flexnet/operations", "emailId"));
  203. typeDesc.addFieldDesc(elemField);
  204. elemField = new org.apache.axis.description.ElementDesc();
  205. elemField.setFieldName("locale");
  206. elemField.setXmlName(new javax.xml.namespace.QName("urn:com.macrovision:flexnet/operations", "locale"));
  207. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  208. elemField.setMinOccurs(0);
  209. elemField.setNillable(false);
  210. typeDesc.addFieldDesc(elemField);
  211. }
  212. /**
  213. * Return type metadata object
  214. */
  215. public static org.apache.axis.description.TypeDesc getTypeDesc() {
  216. return typeDesc;
  217. }
  218. /**
  219. * Get Custom Serializer
  220. */
  221. public static org.apache.axis.encoding.Serializer getSerializer(
  222. java.lang.String mechType,
  223. java.lang.Class _javaType,
  224. javax.xml.namespace.QName _xmlType) {
  225. return
  226. new org.apache.axis.encoding.ser.BeanSerializer(
  227. _javaType, _xmlType, typeDesc);
  228. }
  229. /**
  230. * Get Custom Deserializer
  231. */
  232. public static org.apache.axis.encoding.Deserializer getDeserializer(
  233. java.lang.String mechType,
  234. java.lang.Class _javaType,
  235. javax.xml.namespace.QName _xmlType) {
  236. return
  237. new org.apache.axis.encoding.ser.BeanDeserializer(
  238. _javaType, _xmlType, typeDesc);
  239. }
  240. }