@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public class BundleItem
extends java.lang.Object
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}BundleItem" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Amount" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}integer" />
<attribute name="BundleType" type="{http://www.CIP4.org/JDFSchema_2_0}BundleType" />
<attribute name="ItemRef" type="{http://www.CIP4.org/JDFSchema_2_0}IDREF" />
<attribute name="TotalAmount" type="{http://www.CIP4.org/JDFSchema_2_0}integer" />
<attribute name="TotalDimensions" type="{http://www.CIP4.org/JDFSchema_2_0}shape" />
<attribute name="TotalVolume" type="{http://www.CIP4.org/JDFSchema_2_0}float" />
<attribute name="TotalWeight" type="{http://www.CIP4.org/JDFSchema_2_0}float" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected int |
amount |
protected java.util.List<BundleItem> |
bundleItem |
protected BundleType |
bundleType |
protected Resource |
item |
protected java.lang.Integer |
totalAmount |
protected Shape |
totalDimensions |
protected java.lang.Float |
totalVolume |
protected java.lang.Float |
totalWeight |
| Constructor and Description |
|---|
BundleItem() |
| 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.EqualsStrategy strategy) |
int |
getAmount()
Gets the value of the amount property.
|
java.util.List<BundleItem> |
getBundleItem()
Gets the value of the bundleItem property.
|
BundleType |
getBundleType()
Gets the value of the bundleType property.
|
Resource |
getItem()
Gets the value of the item property.
|
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
java.lang.Integer |
getTotalAmount()
Gets the value of the totalAmount property.
|
Shape |
getTotalDimensions()
Gets the value of the totalDimensions property.
|
java.lang.Float |
getTotalVolume()
Gets the value of the totalVolume property.
|
java.lang.Float |
getTotalWeight()
Gets the value of the totalWeight property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAmount(int value)
Sets the value of the amount property.
|
void |
setBundleType(BundleType value)
Sets the value of the bundleType property.
|
void |
setItem(Resource value)
Sets the value of the item property.
|
void |
setTotalAmount(java.lang.Integer value)
Sets the value of the totalAmount property.
|
void |
setTotalDimensions(Shape value)
Sets the value of the totalDimensions property.
|
void |
setTotalVolume(java.lang.Float value)
Sets the value of the totalVolume property.
|
void |
setTotalWeight(java.lang.Float value)
Sets the value of the totalWeight property.
|
BundleItem |
withAmount(int value) |
BundleItem |
withBundleItem(BundleItem... values) |
BundleItem |
withBundleItem(java.util.Collection<BundleItem> values) |
BundleItem |
withBundleType(BundleType value) |
BundleItem |
withItem(Resource value) |
BundleItem |
withTotalAmount(java.lang.Integer value) |
BundleItem |
withTotalDimensions(Shape value) |
BundleItem |
withTotalVolume(java.lang.Float value) |
BundleItem |
withTotalWeight(java.lang.Float value) |
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.util.List<BundleItem> bundleItem
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected int amount
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected BundleType bundleType
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected Resource item
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.Integer totalAmount
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected Shape totalDimensions
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.Float totalVolume
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.Float totalWeight
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.util.List<BundleItem> getBundleItem()
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 bundleItem property.
For example, to add a new item, do as follows:
getBundleItem().add(newItem);
Objects of the following type(s) are allowed in the list
BundleItem
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public int getAmount()
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setAmount(int value)
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public BundleType getBundleType()
BundleType@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setBundleType(BundleType value)
value - allowed object is
BundleType@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public Resource getItem()
Object@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setItem(Resource value)
value - allowed object is
Object@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.lang.Integer getTotalAmount()
Integer@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setTotalAmount(java.lang.Integer value)
value - allowed object is
Integer@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public Shape getTotalDimensions()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setTotalDimensions(Shape value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.lang.Float getTotalVolume()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setTotalVolume(java.lang.Float value)
value - allowed object is
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.lang.Float getTotalWeight()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setTotalWeight(java.lang.Float value)
value - allowed object is
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
public BundleItem withBundleItem(BundleItem... values)
public BundleItem withBundleItem(java.util.Collection<BundleItem> values)
public BundleItem withAmount(int value)
public BundleItem withBundleType(BundleType value)
public BundleItem withItem(Resource value)
public BundleItem withTotalAmount(java.lang.Integer value)
public BundleItem withTotalDimensions(Shape value)
public BundleItem withTotalVolume(java.lang.Float value)
public BundleItem withTotalWeight(java.lang.Float value)
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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Object