RecipeStepImpl.java 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-01/24/2006 06:08 PM(kohsuke)-fcs
  3. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2018.09.10 at 08:01:16 AM PDT
  6. //
  7. package magoffin.matt.ieat.domain.impl;
  8. public class RecipeStepImpl implements magoffin.matt.ieat.domain.RecipeStep, java.io.Serializable, com.sun.xml.bind.JAXBObject, magoffin.matt.ieat.domain.impl.runtime.UnmarshallableObject, magoffin.matt.ieat.domain.impl.runtime.XMLSerializable, magoffin.matt.ieat.domain.impl.runtime.ValidatableObject
  9. {
  10. private final static long serialVersionUID = 200905041L;
  11. protected java.lang.String _Value;
  12. public final static java.lang.Class version = (magoffin.matt.ieat.domain.impl.JAXBVersion.class);
  13. private static com.sun.msv.grammar.Grammar schemaFragment;
  14. protected boolean has_Hjid;
  15. protected java.lang.Long _Hjid;
  16. private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
  17. return (magoffin.matt.ieat.domain.RecipeStep.class);
  18. }
  19. public java.lang.String getValue() {
  20. return _Value;
  21. }
  22. public void setValue(java.lang.String value) {
  23. _Value = value;
  24. }
  25. public magoffin.matt.ieat.domain.impl.runtime.UnmarshallingEventHandler createUnmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context) {
  26. return new magoffin.matt.ieat.domain.impl.RecipeStepImpl.Unmarshaller(context);
  27. }
  28. public void serializeBody(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  29. throws org.xml.sax.SAXException
  30. {
  31. try {
  32. context.text(((java.lang.String) _Value), "Value");
  33. } catch (java.lang.Exception e) {
  34. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  35. }
  36. }
  37. public void serializeAttributes(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  38. throws org.xml.sax.SAXException
  39. {
  40. }
  41. public void serializeURIs(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  42. throws org.xml.sax.SAXException
  43. {
  44. }
  45. public java.lang.Class getPrimaryInterface() {
  46. return (magoffin.matt.ieat.domain.RecipeStep.class);
  47. }
  48. public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
  49. if (schemaFragment == null) {
  50. schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
  51. "\u00ac\u00ed\u0000\u0005sr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/r"
  52. +"elaxng/datatype/Datatype;L\u0000\u0006exceptt\u0000 Lcom/sun/msv/grammar/Ex"
  53. +"pression;L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xr\u0000\u001ecom.sun."
  54. +"msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
  55. +"ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xpppsr\u0000#com.sun.msv.data"
  56. +"type.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.ms"
  57. +"v.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.d"
  58. +"atatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype."
  59. +"xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/St"
  60. +"ring;L\u0000\btypeNameq\u0000~\u0000\u000bL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/x"
  61. +"sd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchema"
  62. +"t\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Pr"
  63. +"eserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProc"
  64. +"essor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSe"
  65. +"tExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.util.StringPai"
  66. +"r\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u000bL\u0000\fnamespaceURIq\u0000~\u0000\u000bxpq\u0000~\u0000\u000fq\u0000~\u0000"
  67. +"\u000esr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTabl"
  68. +"et\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com"
  69. +".sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005coun"
  70. +"tB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Expression"
  71. +"Pool;xp\u0000\u0000\u0000\u0000\u0001px"));
  72. }
  73. return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
  74. }
  75. public boolean equals(java.lang.Object obj) {
  76. if (this == obj) {
  77. return true;
  78. }
  79. if ((null == obj)||(!(obj instanceof magoffin.matt.ieat.domain.RecipeStep))) {
  80. return false;
  81. }
  82. magoffin.matt.ieat.domain.impl.RecipeStepImpl target = ((magoffin.matt.ieat.domain.impl.RecipeStepImpl) obj);
  83. {
  84. java.lang.String value = this.getValue();
  85. java.lang.String targetValue = target.getValue();
  86. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  87. return false;
  88. }
  89. }
  90. return true;
  91. }
  92. public int hashCode() {
  93. int hash = 7;
  94. {
  95. java.lang.String value = this.getValue();
  96. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  97. }
  98. return hash;
  99. }
  100. public java.lang.Long getHjid() {
  101. return _Hjid;
  102. }
  103. public void setHjid(java.lang.Long value) {
  104. _Hjid = value;
  105. has_Hjid = true;
  106. }
  107. public class Unmarshaller
  108. extends magoffin.matt.ieat.domain.impl.runtime.AbstractUnmarshallingEventHandlerImpl
  109. {
  110. public Unmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context) {
  111. super(context, "--");
  112. }
  113. protected Unmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context, int startState) {
  114. this(context);
  115. state = startState;
  116. }
  117. public java.lang.Object owner() {
  118. return magoffin.matt.ieat.domain.impl.RecipeStepImpl.this;
  119. }
  120. public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
  121. throws org.xml.sax.SAXException
  122. {
  123. int attIdx;
  124. outer:
  125. while (true) {
  126. switch (state) {
  127. case 1 :
  128. revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
  129. return ;
  130. }
  131. super.enterElement(___uri, ___local, ___qname, __atts);
  132. break;
  133. }
  134. }
  135. public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  136. throws org.xml.sax.SAXException
  137. {
  138. int attIdx;
  139. outer:
  140. while (true) {
  141. switch (state) {
  142. case 1 :
  143. revertToParentFromLeaveElement(___uri, ___local, ___qname);
  144. return ;
  145. }
  146. super.leaveElement(___uri, ___local, ___qname);
  147. break;
  148. }
  149. }
  150. public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  151. throws org.xml.sax.SAXException
  152. {
  153. int attIdx;
  154. outer:
  155. while (true) {
  156. switch (state) {
  157. case 1 :
  158. revertToParentFromEnterAttribute(___uri, ___local, ___qname);
  159. return ;
  160. }
  161. super.enterAttribute(___uri, ___local, ___qname);
  162. break;
  163. }
  164. }
  165. public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  166. throws org.xml.sax.SAXException
  167. {
  168. int attIdx;
  169. outer:
  170. while (true) {
  171. switch (state) {
  172. case 1 :
  173. revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
  174. return ;
  175. }
  176. super.leaveAttribute(___uri, ___local, ___qname);
  177. break;
  178. }
  179. }
  180. public void handleText(final java.lang.String value)
  181. throws org.xml.sax.SAXException
  182. {
  183. int attIdx;
  184. outer:
  185. while (true) {
  186. try {
  187. switch (state) {
  188. case 0 :
  189. state = 1;
  190. eatText1(value);
  191. return ;
  192. case 1 :
  193. revertToParentFromText(value);
  194. return ;
  195. }
  196. } catch (java.lang.RuntimeException e) {
  197. handleUnexpectedTextException(value, e);
  198. }
  199. break;
  200. }
  201. }
  202. private void eatText1(final java.lang.String value)
  203. throws org.xml.sax.SAXException
  204. {
  205. try {
  206. _Value = value;
  207. } catch (java.lang.Exception e) {
  208. handleParseConversionException(e);
  209. }
  210. }
  211. }
  212. }