@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
public class DropItem
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">
<attribute name="Amount" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}integer" />
<attribute name="ItemRef" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}IDREF" />
<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" />
<attribute name="Unit" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKEN" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected int |
amount |
protected Resource |
item |
protected Shape |
totalDimensions |
protected java.lang.Float |
totalVolume |
protected java.lang.Float |
totalWeight |
protected java.lang.String |
unit |
| Constructor and Description |
|---|
DropItem() |
| 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.
|
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.
|
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.
|
java.lang.String |
getUnit()
Gets the value of the unit 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 |
setItem(Resource value)
Sets the value of the item 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.
|
void |
setUnit(java.lang.String value)
Sets the value of the unit property.
|
DropItem |
withAmount(int value) |
DropItem |
withItem(Resource value) |
DropItem |
withTotalDimensions(Shape value) |
DropItem |
withTotalVolume(java.lang.Float value) |
DropItem |
withTotalWeight(java.lang.Float value) |
DropItem |
withUnit(java.lang.String value) |
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
protected int amount
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
protected Resource item
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
protected Shape totalDimensions
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.Float totalVolume
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.Float totalWeight
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.String unit
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
public int getAmount()
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
public void setAmount(int value)
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
public Resource getItem()
Object@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+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="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
public Shape getTotalDimensions()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+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="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
public java.lang.Float getTotalVolume()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+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="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
public java.lang.Float getTotalWeight()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+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="2017-09-18T01:24:23+00:00",
comments="JAXB RI v2.2.11")
public java.lang.String getUnit()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2017-09-18T01:24:23+00: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="2017-09-18T01:24:23+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 DropItem withAmount(int value)
public DropItem withTotalVolume(java.lang.Float value)
public DropItem withTotalWeight(java.lang.Float value)
public DropItem withUnit(java.lang.String 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