Meal.java 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 meal 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 56)
  11. * <p>
  12. * <pre>
  13. * &lt;complexType name="meal">
  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="recipe" type="{http://msqr.us/xsd/ieat}meal-recipe" maxOccurs="unbounded"/>
  19. * &lt;element name="owner" type="{http://msqr.us/xsd/ieat}user" minOccurs="0"/>
  20. * &lt;/sequence>
  21. * &lt;attribute name="mealId" type="{http://www.w3.org/2001/XMLSchema}long" />
  22. * &lt;/restriction>
  23. * &lt;/complexContent>
  24. * &lt;/complexType>
  25. * </pre>
  26. *
  27. */
  28. public interface Meal {
  29. /**
  30. * Gets the value of the owner property.
  31. *
  32. * @return
  33. * possible object is
  34. * {@link magoffin.matt.ieat.domain.User}
  35. */
  36. magoffin.matt.ieat.domain.User getOwner();
  37. /**
  38. * Sets the value of the owner property.
  39. *
  40. * @param value
  41. * allowed object is
  42. * {@link magoffin.matt.ieat.domain.User}
  43. */
  44. void setOwner(magoffin.matt.ieat.domain.User value);
  45. /**
  46. * Gets the value of the Recipe property.
  47. *
  48. * <p>
  49. * This accessor method returns a reference to the live list,
  50. * not a snapshot. Therefore any modification you make to the
  51. * returned list will be present inside the JAXB object.
  52. * This is why there is not a <CODE>set</CODE> method for the Recipe property.
  53. *
  54. * <p>
  55. * For example, to add a new item, do as follows:
  56. * <pre>
  57. * getRecipe().add(newItem);
  58. * </pre>
  59. *
  60. *
  61. * <p>
  62. * Objects of the following type(s) are allowed in the list
  63. * {@link magoffin.matt.ieat.domain.MealRecipe}
  64. *
  65. */
  66. java.util.List getRecipe();
  67. /**
  68. * Gets the value of the mealId property.
  69. *
  70. * @return
  71. * possible object is
  72. * {@link java.lang.Long}
  73. */
  74. java.lang.Long getMealId();
  75. /**
  76. * Sets the value of the mealId property.
  77. *
  78. * @param value
  79. * allowed object is
  80. * {@link java.lang.Long}
  81. */
  82. void setMealId(java.lang.Long value);
  83. /**
  84. * Gets the value of the name property.
  85. *
  86. * @return
  87. * possible object is
  88. * {@link java.lang.String}
  89. */
  90. java.lang.String getName();
  91. /**
  92. * Sets the value of the name property.
  93. *
  94. * @param value
  95. * allowed object is
  96. * {@link java.lang.String}
  97. */
  98. void setName(java.lang.String value);
  99. }