Class Price
- java.lang.Object
-
- org.cip4.lib.xprinttalk.schema.BaseElement
-
- org.cip4.lib.xprinttalk.schema.Price
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public class Price extends BaseElement implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java 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_20}BaseElement"> <sequence> <element name="Additional" type="{http://www.printtalk.org/schema_20}Additional" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Amount" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="DescriptiveName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="DropID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ItemRefs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="LineID" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="LineIDRefs" type="{http://www.w3.org/2001/XMLSchema}IDREFS" /> <attribute name="Price" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="PriceType" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Discount"/> <enumeration value="DownPayment"/> <enumeration value="Handling"/> <enumeration value="Markup"/> <enumeration value="Other"/> <enumeration value="Prepaid"/> <enumeration value="Product"/> <enumeration value="Shipping"/> <enumeration value="Subtotal"/> <enumeration value="Total"/> </restriction> </simpleType> </attribute> <attribute name="TaxType" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Gross"/> <enumeration value="Net"/> <enumeration value="Tax"/> </restriction> </simpleType> </attribute> <attribute name="UnitPrice" type="{http://www.w3.org/2001/XMLSchema}double" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Additional>additionalprotected java.lang.Doubleamountprotected java.lang.StringdescriptiveNameprotected java.lang.StringdropIDprotected java.util.List<java.lang.String>itemRefsprotected java.lang.StringlineIDprotected java.util.List<java.lang.Object>lineIDRefsprotected doublepriceprotected java.lang.StringpriceTypeprotected java.lang.StringtaxTypeprotected java.lang.DoubleunitPrice
-
Constructor Summary
Constructors Constructor Description Price()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(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.DoublegetAmount()Gets the value of the amount property.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName property.java.lang.StringgetDropID()Gets the value of the dropID property.java.util.List<java.lang.String>getItemRefs()Gets the value of the itemRefs property.java.lang.StringgetLineID()Gets the value of the lineID property.java.util.List<java.lang.Object>getLineIDRefs()Gets the value of the lineIDRefs property.doublegetPrice()Gets the value of the price property.java.lang.StringgetPriceType()Gets the value of the priceType property.java.lang.StringgetTaxType()Gets the value of the taxType property.java.lang.DoublegetUnitPrice()Gets the value of the unitPrice property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAmount(java.lang.Double value)Sets the value of the amount property.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetDropID(java.lang.String value)Sets the value of the dropID property.voidsetLineID(java.lang.String value)Sets the value of the lineID property.voidsetPrice(double value)Sets the value of the price property.voidsetPriceType(java.lang.String value)Sets the value of the priceType property.voidsetTaxType(java.lang.String value)Sets the value of the taxType property.voidsetUnitPrice(java.lang.Double value)Sets the value of the unitPrice property.PricewithAdditional(java.util.Collection<Additional> values)PricewithAdditional(Additional... values)PricewithAmount(java.lang.Double value)PricewithDescriptiveName(java.lang.String value)PricewithDropID(java.lang.String value)PricewithItemRefs(java.lang.String... values)PricewithItemRefs(java.util.Collection<java.lang.String> values)PricewithLineID(java.lang.String value)PricewithLineIDRefs(java.lang.Object... values)PricewithLineIDRefs(java.util.Collection<java.lang.Object> values)PricewithPrice(double value)PricewithPriceType(java.lang.String value)PricewithTaxType(java.lang.String value)PricewithUnitPrice(java.lang.Double value)-
Methods inherited from class org.cip4.lib.xprinttalk.schema.BaseElement
getOtherAttributes
-
-
-
-
Field Detail
-
additional
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.util.List<Additional> additional
-
amount
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.lang.Double amount
-
descriptiveName
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.lang.String descriptiveName
-
dropID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.lang.String dropID
-
itemRefs
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.util.List<java.lang.String> itemRefs
-
lineID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.lang.String lineID
-
lineIDRefs
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.util.List<java.lang.Object> lineIDRefs
-
price
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected double price
-
priceType
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.lang.String priceType
-
taxType
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.lang.String taxType
-
unitPrice
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.lang.Double unitPrice
-
-
Method Detail
-
getAdditional
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.util.List<Additional> getAdditional()Gets the value of the additional property.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
setmethod 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
-
getAmount
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.lang.Double getAmount()Gets the value of the amount property.- Returns:
- possible object is
Double
-
setAmount
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setAmount(java.lang.Double value)Sets the value of the amount property.- Parameters:
value- allowed object isDouble
-
getDescriptiveName
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.lang.String getDescriptiveName()Gets the value of the descriptiveName property.- Returns:
- possible object is
String
-
setDescriptiveName
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.- Parameters:
value- allowed object isString
-
getDropID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.lang.String getDropID()Gets the value of the dropID property.- Returns:
- possible object is
String
-
setDropID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setDropID(java.lang.String value)Sets the value of the dropID property.- Parameters:
value- allowed object isString
-
getItemRefs
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.util.List<java.lang.String> getItemRefs()Gets the value of the itemRefs property.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
setmethod 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
-
getLineID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.lang.String getLineID()Gets the value of the lineID property.- Returns:
- possible object is
String
-
setLineID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setLineID(java.lang.String value)Sets the value of the lineID property.- Parameters:
value- allowed object isString
-
getLineIDRefs
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.util.List<java.lang.Object> getLineIDRefs()Gets the value of the lineIDRefs property.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
setmethod 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
Object
-
getPrice
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public double getPrice()Gets the value of the price property.
-
setPrice
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setPrice(double value)Sets the value of the price property.
-
getPriceType
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.lang.String getPriceType()Gets the value of the priceType property.- Returns:
- possible object is
String
-
setPriceType
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setPriceType(java.lang.String value)Sets the value of the priceType property.- Parameters:
value- allowed object isString
-
getTaxType
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.lang.String getTaxType()Gets the value of the taxType property.- Returns:
- possible object is
String
-
setTaxType
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setTaxType(java.lang.String value)Sets the value of the taxType property.- Parameters:
value- allowed object isString
-
getUnitPrice
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.lang.Double getUnitPrice()Gets the value of the unitPrice property.- Returns:
- possible object is
Double
-
setUnitPrice
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setUnitPrice(java.lang.Double value)Sets the value of the unitPrice property.- Parameters:
value- allowed object isDouble
-
withAdditional
public Price withAdditional(Additional... values)
-
withAdditional
public Price withAdditional(java.util.Collection<Additional> values)
-
withAmount
public Price withAmount(java.lang.Double value)
-
withDescriptiveName
public Price withDescriptiveName(java.lang.String value)
-
withDropID
public Price withDropID(java.lang.String value)
-
withItemRefs
public Price withItemRefs(java.lang.String... values)
-
withItemRefs
public Price withItemRefs(java.util.Collection<java.lang.String> values)
-
withLineID
public Price withLineID(java.lang.String value)
-
withLineIDRefs
public Price withLineIDRefs(java.lang.Object... values)
-
withLineIDRefs
public Price withLineIDRefs(java.util.Collection<java.lang.Object> values)
-
withPrice
public Price withPrice(double value)
-
withPriceType
public Price withPriceType(java.lang.String value)
-
withTaxType
public Price withTaxType(java.lang.String value)
-
withUnitPrice
public Price withUnitPrice(java.lang.Double value)
-
equals
public 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)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBaseElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBaseElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBaseElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseElement
-
-