@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public class Price
extends AbstractPtA
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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.w3.org/2001/XMLSchema}double" />
<attribute name="ItemRefs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
<attribute name="LineID" type="{http://www.CIP4.org/JDFSchema_2_0}ID" />
<attribute name="LineIDRefs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
<attribute name="Price" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="UnitPrice" type="{http://www.w3.org/2001/XMLSchema}double" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Additional> |
additional |
protected java.lang.Double |
amount |
protected java.util.List<java.lang.String> |
itemRefs |
protected java.lang.String |
lineID |
protected java.util.List<java.lang.String> |
lineIDRefs |
protected java.lang.Double |
price |
protected java.lang.String |
unit |
protected java.lang.Double |
unitPrice |
comment, descriptiveName, generalID| Constructor and Description |
|---|
Price() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
java.util.List<Additional> |
getAdditional()
Gets the value of the additional property.
|
java.lang.Double |
getAmount()
Gets the value of the amount property.
|
java.util.List<java.lang.String> |
getItemRefs()
Gets the value of the itemRefs property.
|
java.lang.String |
getLineID()
Gets the value of the lineID property.
|
java.util.List<java.lang.String> |
getLineIDRefs()
Gets the value of the lineIDRefs property.
|
java.lang.Double |
getPrice()
Gets the value of the price property.
|
java.lang.String |
getUnit()
Gets the value of the unit property.
|
java.lang.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.HashCodeStrategy2 strategy) |
void |
setAmount(java.lang.Double value)
Sets the value of the amount property.
|
void |
setLineID(java.lang.String value)
Sets the value of the lineID property.
|
void |
setPrice(java.lang.Double value)
Sets the value of the price property.
|
void |
setUnit(java.lang.String value)
Sets the value of the unit property.
|
void |
setUnitPrice(java.lang.Double value)
Sets the value of the unitPrice property.
|
Price |
withAdditional(Additional... values) |
Price |
withAdditional(java.util.Collection<Additional> values) |
Price |
withAmount(java.lang.Double value) |
Price |
withComment(java.util.Collection<org.cip4.lib.xjdf.schema.Comment> values) |
Price |
withComment(org.cip4.lib.xjdf.schema.Comment... values) |
Price |
withDescriptiveName(java.lang.String value) |
Price |
withGeneralID(java.util.Collection<org.cip4.lib.xjdf.schema.GeneralID> values) |
Price |
withGeneralID(org.cip4.lib.xjdf.schema.GeneralID... values) |
Price |
withItemRefs(java.util.Collection<java.lang.String> values) |
Price |
withItemRefs(java.lang.String... values) |
Price |
withLineID(java.lang.String value) |
Price |
withLineIDRefs(java.util.Collection<java.lang.String> values) |
Price |
withLineIDRefs(java.lang.String... values) |
Price |
withPrice(java.lang.Double value) |
Price |
withUnit(java.lang.String value) |
Price |
withUnitPrice(java.lang.Double value) |
getComment, getDescriptiveName, getGeneralID, setDescriptiveName@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
protected java.util.List<Additional> additional
@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
protected java.lang.Double amount
@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
protected java.util.List<java.lang.String> itemRefs
@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
protected java.lang.String lineID
@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
protected java.util.List<java.lang.String> lineIDRefs
@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
protected java.lang.Double price
@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
protected java.lang.String unit
@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
protected java.lang.Double unitPrice
@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public java.util.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="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public java.lang.Double getAmount()
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public void setAmount(java.lang.Double value)
value - allowed object is
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public java.util.List<java.lang.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="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public java.lang.String getLineID()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public void setLineID(java.lang.String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public java.util.List<java.lang.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="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public java.lang.Double getPrice()
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public void setPrice(java.lang.Double value)
value - allowed object is
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public java.lang.String getUnit()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public void setUnit(java.lang.String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public java.lang.Double getUnitPrice()
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2022-10-06T08:59:43+02:00",
comments="JAXB RI v2.2.11")
public void setUnitPrice(java.lang.Double value)
value - allowed object is
Doublepublic Price withAdditional(Additional... values)
public Price withAdditional(java.util.Collection<Additional> values)
public Price withAmount(java.lang.Double value)
public Price withItemRefs(java.lang.String... values)
public Price withItemRefs(java.util.Collection<java.lang.String> values)
public Price withLineID(java.lang.String value)
public Price withLineIDRefs(java.lang.String... values)
public Price withLineIDRefs(java.util.Collection<java.lang.String> values)
public Price withPrice(java.lang.Double value)
public Price withUnit(java.lang.String value)
public Price withUnitPrice(java.lang.Double value)
public Price withComment(org.cip4.lib.xjdf.schema.Comment... values)
withComment in class AbstractPtApublic Price withComment(java.util.Collection<org.cip4.lib.xjdf.schema.Comment> values)
withComment in class AbstractPtApublic Price withGeneralID(org.cip4.lib.xjdf.schema.GeneralID... values)
withGeneralID in class AbstractPtApublic Price withGeneralID(java.util.Collection<org.cip4.lib.xjdf.schema.GeneralID> values)
withGeneralID in class AbstractPtApublic Price withDescriptiveName(java.lang.String value)
withDescriptiveName in class AbstractPtApublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2equals in class AbstractPtApublic boolean equals(java.lang.Object object)
equals in class AbstractPtApublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2hashCode in class AbstractPtApublic int hashCode()
hashCode in class AbstractPtA