Unit.java 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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 unit 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 173)
  11. * <p>
  12. * <pre>
  13. * &lt;complexType name="unit">
  14. * &lt;simpleContent>
  15. * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
  16. * &lt;attribute name="abbreviation" type="{http://www.w3.org/2001/XMLSchema}string" />
  17. * &lt;attribute name="mass" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
  18. * &lt;attribute name="systemId" type="{http://www.w3.org/2001/XMLSchema}int" />
  19. * &lt;attribute name="toImperial" type="{http://www.w3.org/2001/XMLSchema}double" />
  20. * &lt;attribute name="toMetric" type="{http://www.w3.org/2001/XMLSchema}double" />
  21. * &lt;attribute name="toUS" type="{http://www.w3.org/2001/XMLSchema}double" />
  22. * &lt;attribute name="unitId" type="{http://www.w3.org/2001/XMLSchema}int" />
  23. * &lt;/extension>
  24. * &lt;/simpleContent>
  25. * &lt;/complexType>
  26. * </pre>
  27. *
  28. */
  29. public interface Unit {
  30. /**
  31. * Gets the value of the abbreviation property.
  32. *
  33. * @return
  34. * possible object is
  35. * {@link java.lang.String}
  36. */
  37. java.lang.String getAbbreviation();
  38. /**
  39. * Sets the value of the abbreviation property.
  40. *
  41. * @param value
  42. * allowed object is
  43. * {@link java.lang.String}
  44. */
  45. void setAbbreviation(java.lang.String value);
  46. /**
  47. * Gets the value of the mass property.
  48. *
  49. */
  50. boolean isMass();
  51. /**
  52. * Sets the value of the mass property.
  53. *
  54. */
  55. void setMass(boolean value);
  56. /**
  57. * Gets the value of the toImperial property.
  58. *
  59. */
  60. double getToImperial();
  61. /**
  62. * Sets the value of the toImperial property.
  63. *
  64. */
  65. void setToImperial(double value);
  66. /**
  67. * Gets the value of the unitId property.
  68. *
  69. * @return
  70. * possible object is
  71. * {@link java.lang.Integer}
  72. */
  73. java.lang.Integer getUnitId();
  74. /**
  75. * Sets the value of the unitId property.
  76. *
  77. * @param value
  78. * allowed object is
  79. * {@link java.lang.Integer}
  80. */
  81. void setUnitId(java.lang.Integer value);
  82. /**
  83. * Gets the value of the value property.
  84. *
  85. * @return
  86. * possible object is
  87. * {@link java.lang.String}
  88. */
  89. java.lang.String getValue();
  90. /**
  91. * Sets the value of the value property.
  92. *
  93. * @param value
  94. * allowed object is
  95. * {@link java.lang.String}
  96. */
  97. void setValue(java.lang.String value);
  98. /**
  99. * Gets the value of the systemId property.
  100. *
  101. * @return
  102. * possible object is
  103. * {@link java.lang.Integer}
  104. */
  105. java.lang.Integer getSystemId();
  106. /**
  107. * Sets the value of the systemId property.
  108. *
  109. * @param value
  110. * allowed object is
  111. * {@link java.lang.Integer}
  112. */
  113. void setSystemId(java.lang.Integer value);
  114. /**
  115. * Gets the value of the toMetric property.
  116. *
  117. */
  118. double getToMetric();
  119. /**
  120. * Sets the value of the toMetric property.
  121. *
  122. */
  123. void setToMetric(double value);
  124. /**
  125. * Gets the value of the toUS property.
  126. *
  127. */
  128. double getToUS();
  129. /**
  130. * Sets the value of the toUS property.
  131. *
  132. */
  133. void setToUS(double value);
  134. }