@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public class Price extends AbstractPtA implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for Price complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Price">
<complexContent>
<extension base="{http://www.printtalk.org/schema_2_0}Abstract_pt_A">
<sequence>
<element name="Additional" type="{http://www.printtalk.org/schema_2_0}Additional" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Amount" type="{http://www.CIP4.org/JDFSchema_2_0}double" />
<attribute name="ItemRefs" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKENS" />
<attribute name="LineID" type="{http://www.CIP4.org/JDFSchema_2_0}ID" />
<attribute name="LineIDRefs" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKENS" />
<attribute name="Price" type="{http://www.CIP4.org/JDFSchema_2_0}double" />
<attribute name="Unit" type="{http://www.CIP4.org/JDFSchema_2_0}string" />
<attribute name="UnitPrice" type="{http://www.CIP4.org/JDFSchema_2_0}double" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Additional> |
additional |
protected Double |
amount |
protected List<String> |
itemRefs |
protected String |
lineID |
protected List<String> |
lineIDRefs |
protected Double |
price |
protected String |
unit |
protected Double |
unitPrice |
comment, descriptiveName, generalID| Constructor and Description |
|---|
Price() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<Additional> |
getAdditional()
Gets the value of the additional property.
|
Double |
getAmount()
Gets the value of the amount property.
|
List<String> |
getItemRefs()
Gets the value of the itemRefs property.
|
String |
getLineID()
Gets the value of the lineID property.
|
List<String> |
getLineIDRefs()
Gets the value of the lineIDRefs property.
|
Double |
getPrice()
Gets the value of the price property.
|
String |
getUnit()
Gets the value of the unit property.
|
Double |
getUnitPrice()
Gets the value of the unitPrice property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAmount(Double value)
Sets the value of the amount property.
|
void |
setLineID(String value)
Sets the value of the lineID property.
|
void |
setPrice(Double value)
Sets the value of the price property.
|
void |
setUnit(String value)
Sets the value of the unit property.
|
void |
setUnitPrice(Double value)
Sets the value of the unitPrice property.
|
Price |
withAdditional(Additional... values) |
Price |
withAdditional(Collection<Additional> values) |
Price |
withAmount(Double value) |
Price |
withComment(Collection<org.cip4.lib.xjdf.schema.Comment> values) |
Price |
withComment(org.cip4.lib.xjdf.schema.Comment... values) |
Price |
withDescriptiveName(String value) |
Price |
withGeneralID(Collection<org.cip4.lib.xjdf.schema.GeneralID> values) |
Price |
withGeneralID(org.cip4.lib.xjdf.schema.GeneralID... values) |
Price |
withItemRefs(Collection<String> values) |
Price |
withItemRefs(String... values) |
Price |
withLineID(String value) |
Price |
withLineIDRefs(Collection<String> values) |
Price |
withLineIDRefs(String... values) |
Price |
withPrice(Double value) |
Price |
withUnit(String value) |
Price |
withUnitPrice(Double value) |
getComment, getDescriptiveName, getGeneralID, setDescriptiveName@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") protected List<Additional> additional
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") protected Double amount
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") protected List<String> itemRefs
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") protected String lineID
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") protected List<String> lineIDRefs
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") protected Double price
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") protected String unit
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") protected Double unitPrice
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public List<Additional> getAdditional()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the additional property.
For example, to add a new item, do as follows:
getAdditional().add(newItem);
Objects of the following type(s) are allowed in the list
Additional
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Double getAmount()
Double@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public void setAmount(Double value)
value - allowed object is
Double@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public List<String> getItemRefs()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the itemRefs property.
For example, to add a new item, do as follows:
getItemRefs().add(newItem);
Objects of the following type(s) are allowed in the list
String
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public String getLineID()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public void setLineID(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public List<String> getLineIDRefs()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the lineIDRefs property.
For example, to add a new item, do as follows:
getLineIDRefs().add(newItem);
Objects of the following type(s) are allowed in the list
String
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Double getPrice()
Double@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public void setPrice(Double value)
value - allowed object is
Double@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public String getUnit()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public void setUnit(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Double getUnitPrice()
Double@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public void setUnitPrice(Double value)
value - allowed object is
Double@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withAdditional(Additional... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withAdditional(Collection<Additional> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withAmount(Double value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withItemRefs(String... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withItemRefs(Collection<String> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withLineID(String value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withLineIDRefs(String... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withLineIDRefs(Collection<String> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withPrice(Double value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withUnit(String value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withUnitPrice(Double value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withComment(org.cip4.lib.xjdf.schema.Comment... values)
withComment in class AbstractPtA@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withComment(Collection<org.cip4.lib.xjdf.schema.Comment> values)
withComment in class AbstractPtA@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withGeneralID(org.cip4.lib.xjdf.schema.GeneralID... values)
withGeneralID in class AbstractPtA@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withGeneralID(Collection<org.cip4.lib.xjdf.schema.GeneralID> values)
withGeneralID in class AbstractPtA@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public Price withDescriptiveName(String value)
withDescriptiveName in class AbstractPtA@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class AbstractPtA@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public boolean equals(Object object)
equals in class AbstractPtA@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class AbstractPtA@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-15T01:44:33+02:00", comments="JAXB RI v2.2.11") public int hashCode()
hashCode in class AbstractPtACopyright © 2016. All rights reserved.