Recipe.java 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  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;
  8. /**
  9. * Java content class for recipe complex type.
  10. * <p>The following schema fragment specifies the expected content contained within this java content object. (defined at file:/home/tom/workspace/iEat/hyperjaxb2-build/src/main/resources/core.xsd line 81)
  11. * <p>
  12. * <pre>
  13. * &lt;complexType name="recipe">
  14. * &lt;complexContent>
  15. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  16. * &lt;sequence>
  17. * &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
  18. * &lt;element name="excerpt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  19. * &lt;element name="source" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  20. * &lt;element name="directions" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  21. * &lt;element name="image" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  22. * &lt;element name="base" type="{http://msqr.us/xsd/ieat}base" minOccurs="0"/>
  23. * &lt;element name="course" type="{http://msqr.us/xsd/ieat}course" minOccurs="0"/>
  24. * &lt;element name="ethnicity" type="{http://msqr.us/xsd/ieat}ethnicity" minOccurs="0"/>
  25. * &lt;element name="difficulty" type="{http://msqr.us/xsd/ieat}difficulty" minOccurs="0"/>
  26. * &lt;element name="owner" type="{http://msqr.us/xsd/ieat}user" minOccurs="0"/>
  27. * &lt;element name="prep-time" type="{http://msqr.us/xsd/ieat}prep-time" minOccurs="0"/>
  28. * &lt;element name="system" type="{http://msqr.us/xsd/ieat}system"/>
  29. * &lt;element name="ingredient" type="{http://msqr.us/xsd/ieat}recipe-ingredient" maxOccurs="unbounded" minOccurs="0"/>
  30. * &lt;element name="related-recipe" type="{http://msqr.us/xsd/ieat}related-recipe" maxOccurs="unbounded" minOccurs="0"/>
  31. * &lt;element name="step" type="{http://msqr.us/xsd/ieat}recipe-step" maxOccurs="unbounded" minOccurs="0"/>
  32. * &lt;element name="comment" type="{http://msqr.us/xsd/ieat}recipe-comment" maxOccurs="unbounded" minOccurs="0"/>
  33. * &lt;element name="rating" type="{http://msqr.us/xsd/ieat}recipe-rating" maxOccurs="unbounded" minOccurs="0"/>
  34. * &lt;/sequence>
  35. * &lt;attribute name="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
  36. * &lt;attribute name="modifiedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
  37. * &lt;attribute name="recipeId" type="{http://www.w3.org/2001/XMLSchema}long" />
  38. * &lt;attribute name="servingSize" type="{http://www.w3.org/2001/XMLSchema}int" />
  39. * &lt;/restriction>
  40. * &lt;/complexContent>
  41. * &lt;/complexType>
  42. * </pre>
  43. *
  44. */
  45. public interface Recipe {
  46. /**
  47. * Gets the value of the Comment property.
  48. *
  49. * <p>
  50. * This accessor method returns a reference to the live list,
  51. * not a snapshot. Therefore any modification you make to the
  52. * returned list will be present inside the JAXB object.
  53. * This is why there is not a <CODE>set</CODE> method for the Comment property.
  54. *
  55. * <p>
  56. * For example, to add a new item, do as follows:
  57. * <pre>
  58. * getComment().add(newItem);
  59. * </pre>
  60. *
  61. *
  62. * <p>
  63. * Objects of the following type(s) are allowed in the list
  64. * {@link magoffin.matt.ieat.domain.RecipeComment}
  65. *
  66. */
  67. java.util.List getComment();
  68. /**
  69. * Gets the value of the owner property.
  70. *
  71. * @return
  72. * possible object is
  73. * {@link magoffin.matt.ieat.domain.User}
  74. */
  75. magoffin.matt.ieat.domain.User getOwner();
  76. /**
  77. * Sets the value of the owner property.
  78. *
  79. * @param value
  80. * allowed object is
  81. * {@link magoffin.matt.ieat.domain.User}
  82. */
  83. void setOwner(magoffin.matt.ieat.domain.User value);
  84. /**
  85. * Gets the value of the directions property.
  86. *
  87. * @return
  88. * possible object is
  89. * {@link java.lang.String}
  90. */
  91. java.lang.String getDirections();
  92. /**
  93. * Sets the value of the directions property.
  94. *
  95. * @param value
  96. * allowed object is
  97. * {@link java.lang.String}
  98. */
  99. void setDirections(java.lang.String value);
  100. /**
  101. * Gets the value of the difficulty property.
  102. *
  103. * @return
  104. * possible object is
  105. * {@link magoffin.matt.ieat.domain.Difficulty}
  106. */
  107. magoffin.matt.ieat.domain.Difficulty getDifficulty();
  108. /**
  109. * Sets the value of the difficulty property.
  110. *
  111. * @param value
  112. * allowed object is
  113. * {@link magoffin.matt.ieat.domain.Difficulty}
  114. */
  115. void setDifficulty(magoffin.matt.ieat.domain.Difficulty value);
  116. /**
  117. * Gets the value of the Rating property.
  118. *
  119. * <p>
  120. * This accessor method returns a reference to the live list,
  121. * not a snapshot. Therefore any modification you make to the
  122. * returned list will be present inside the JAXB object.
  123. * This is why there is not a <CODE>set</CODE> method for the Rating property.
  124. *
  125. * <p>
  126. * For example, to add a new item, do as follows:
  127. * <pre>
  128. * getRating().add(newItem);
  129. * </pre>
  130. *
  131. *
  132. * <p>
  133. * Objects of the following type(s) are allowed in the list
  134. * {@link magoffin.matt.ieat.domain.RecipeRating}
  135. *
  136. */
  137. java.util.List getRating();
  138. /**
  139. * Gets the value of the recipeId property.
  140. *
  141. * @return
  142. * possible object is
  143. * {@link java.lang.Long}
  144. */
  145. java.lang.Long getRecipeId();
  146. /**
  147. * Sets the value of the recipeId property.
  148. *
  149. * @param value
  150. * allowed object is
  151. * {@link java.lang.Long}
  152. */
  153. void setRecipeId(java.lang.Long value);
  154. /**
  155. * Gets the value of the RelatedRecipe property.
  156. *
  157. * <p>
  158. * This accessor method returns a reference to the live list,
  159. * not a snapshot. Therefore any modification you make to the
  160. * returned list will be present inside the JAXB object.
  161. * This is why there is not a <CODE>set</CODE> method for the RelatedRecipe property.
  162. *
  163. * <p>
  164. * For example, to add a new item, do as follows:
  165. * <pre>
  166. * getRelatedRecipe().add(newItem);
  167. * </pre>
  168. *
  169. *
  170. * <p>
  171. * Objects of the following type(s) are allowed in the list
  172. * {@link magoffin.matt.ieat.domain.RelatedRecipe}
  173. *
  174. */
  175. java.util.List getRelatedRecipe();
  176. /**
  177. * Gets the value of the Step property.
  178. *
  179. * <p>
  180. * This accessor method returns a reference to the live list,
  181. * not a snapshot. Therefore any modification you make to the
  182. * returned list will be present inside the JAXB object.
  183. * This is why there is not a <CODE>set</CODE> method for the Step property.
  184. *
  185. * <p>
  186. * For example, to add a new item, do as follows:
  187. * <pre>
  188. * getStep().add(newItem);
  189. * </pre>
  190. *
  191. *
  192. * <p>
  193. * Objects of the following type(s) are allowed in the list
  194. * {@link magoffin.matt.ieat.domain.RecipeStep}
  195. *
  196. */
  197. java.util.List getStep();
  198. /**
  199. * Gets the value of the modifiedDate property.
  200. *
  201. * @return
  202. * possible object is
  203. * {@link java.util.Calendar}
  204. */
  205. java.util.Calendar getModifiedDate();
  206. /**
  207. * Sets the value of the modifiedDate property.
  208. *
  209. * @param value
  210. * allowed object is
  211. * {@link java.util.Calendar}
  212. */
  213. void setModifiedDate(java.util.Calendar value);
  214. /**
  215. * The URL of an image file to display with the recipe.
  216. *
  217. * @return
  218. * possible object is
  219. * {@link java.lang.String}
  220. */
  221. java.lang.String getImage();
  222. /**
  223. * The URL of an image file to display with the recipe.
  224. *
  225. * @param value
  226. * allowed object is
  227. * {@link java.lang.String}
  228. */
  229. void setImage(java.lang.String value);
  230. /**
  231. * Gets the value of the source property.
  232. *
  233. * @return
  234. * possible object is
  235. * {@link java.lang.String}
  236. */
  237. java.lang.String getSource();
  238. /**
  239. * Sets the value of the source property.
  240. *
  241. * @param value
  242. * allowed object is
  243. * {@link java.lang.String}
  244. */
  245. void setSource(java.lang.String value);
  246. /**
  247. * Gets the value of the base property.
  248. *
  249. * @return
  250. * possible object is
  251. * {@link magoffin.matt.ieat.domain.Base}
  252. */
  253. magoffin.matt.ieat.domain.Base getBase();
  254. /**
  255. * Sets the value of the base property.
  256. *
  257. * @param value
  258. * allowed object is
  259. * {@link magoffin.matt.ieat.domain.Base}
  260. */
  261. void setBase(magoffin.matt.ieat.domain.Base value);
  262. /**
  263. * Gets the value of the system property.
  264. *
  265. * @return
  266. * possible object is
  267. * {@link magoffin.matt.ieat.domain.System}
  268. */
  269. magoffin.matt.ieat.domain.System getSystem();
  270. /**
  271. * Sets the value of the system property.
  272. *
  273. * @param value
  274. * allowed object is
  275. * {@link magoffin.matt.ieat.domain.System}
  276. */
  277. void setSystem(magoffin.matt.ieat.domain.System value);
  278. /**
  279. * Gets the value of the name property.
  280. *
  281. * @return
  282. * possible object is
  283. * {@link java.lang.String}
  284. */
  285. java.lang.String getName();
  286. /**
  287. * Sets the value of the name property.
  288. *
  289. * @param value
  290. * allowed object is
  291. * {@link java.lang.String}
  292. */
  293. void setName(java.lang.String value);
  294. /**
  295. * Gets the value of the ethnicity property.
  296. *
  297. * @return
  298. * possible object is
  299. * {@link magoffin.matt.ieat.domain.Ethnicity}
  300. */
  301. magoffin.matt.ieat.domain.Ethnicity getEthnicity();
  302. /**
  303. * Sets the value of the ethnicity property.
  304. *
  305. * @param value
  306. * allowed object is
  307. * {@link magoffin.matt.ieat.domain.Ethnicity}
  308. */
  309. void setEthnicity(magoffin.matt.ieat.domain.Ethnicity value);
  310. /**
  311. * Gets the value of the servingSize property.
  312. *
  313. * @return
  314. * possible object is
  315. * {@link java.lang.Integer}
  316. */
  317. java.lang.Integer getServingSize();
  318. /**
  319. * Sets the value of the servingSize property.
  320. *
  321. * @param value
  322. * allowed object is
  323. * {@link java.lang.Integer}
  324. */
  325. void setServingSize(java.lang.Integer value);
  326. /**
  327. * Gets the value of the prepTime property.
  328. *
  329. * @return
  330. * possible object is
  331. * {@link magoffin.matt.ieat.domain.PrepTime}
  332. */
  333. magoffin.matt.ieat.domain.PrepTime getPrepTime();
  334. /**
  335. * Sets the value of the prepTime property.
  336. *
  337. * @param value
  338. * allowed object is
  339. * {@link magoffin.matt.ieat.domain.PrepTime}
  340. */
  341. void setPrepTime(magoffin.matt.ieat.domain.PrepTime value);
  342. /**
  343. * Gets the value of the Ingredient property.
  344. *
  345. * <p>
  346. * This accessor method returns a reference to the live list,
  347. * not a snapshot. Therefore any modification you make to the
  348. * returned list will be present inside the JAXB object.
  349. * This is why there is not a <CODE>set</CODE> method for the Ingredient property.
  350. *
  351. * <p>
  352. * For example, to add a new item, do as follows:
  353. * <pre>
  354. * getIngredient().add(newItem);
  355. * </pre>
  356. *
  357. *
  358. * <p>
  359. * Objects of the following type(s) are allowed in the list
  360. * {@link magoffin.matt.ieat.domain.RecipeIngredient}
  361. *
  362. */
  363. java.util.List getIngredient();
  364. /**
  365. * Gets the value of the excerpt property.
  366. *
  367. * @return
  368. * possible object is
  369. * {@link java.lang.String}
  370. */
  371. java.lang.String getExcerpt();
  372. /**
  373. * Sets the value of the excerpt property.
  374. *
  375. * @param value
  376. * allowed object is
  377. * {@link java.lang.String}
  378. */
  379. void setExcerpt(java.lang.String value);
  380. /**
  381. * Gets the value of the createdDate property.
  382. *
  383. * @return
  384. * possible object is
  385. * {@link java.util.Calendar}
  386. */
  387. java.util.Calendar getCreatedDate();
  388. /**
  389. * Sets the value of the createdDate property.
  390. *
  391. * @param value
  392. * allowed object is
  393. * {@link java.util.Calendar}
  394. */
  395. void setCreatedDate(java.util.Calendar value);
  396. /**
  397. * Gets the value of the course property.
  398. *
  399. * @return
  400. * possible object is
  401. * {@link magoffin.matt.ieat.domain.Course}
  402. */
  403. magoffin.matt.ieat.domain.Course getCourse();
  404. /**
  405. * Sets the value of the course property.
  406. *
  407. * @param value
  408. * allowed object is
  409. * {@link magoffin.matt.ieat.domain.Course}
  410. */
  411. void setCourse(magoffin.matt.ieat.domain.Course value);
  412. }