@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public class PartAmount
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}Part" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}PartWaste" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Amount" type="{http://www.CIP4.org/JDFSchema_2_0}float" />
<attribute name="MaxAmount" type="{http://www.CIP4.org/JDFSchema_2_0}float" />
<attribute name="MinAmount" type="{http://www.CIP4.org/JDFSchema_2_0}float" />
<attribute name="Waste" type="{http://www.CIP4.org/JDFSchema_2_0}float" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
amount |
protected java.lang.Float |
maxAmount |
protected java.lang.Float |
minAmount |
protected java.util.List<Part> |
part |
protected java.util.List<PartWaste> |
partWaste |
protected java.lang.Float |
waste |
| Constructor and Description |
|---|
PartAmount() |
| 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) |
java.lang.Double |
getAmount()
Gets the value of the amount property.
|
java.lang.Float |
getMaxAmount()
Gets the value of the maxAmount property.
|
java.lang.Float |
getMinAmount()
Gets the value of the minAmount 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.util.List<Part> |
getPart()
Gets the value of the part property.
|
java.util.List<PartWaste> |
getPartWaste()
Gets the value of the partWaste property.
|
java.lang.Float |
getWaste()
Gets the value of the waste property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAmount(java.lang.Double value)
Sets the value of the amount property.
|
void |
setMaxAmount(java.lang.Float value)
Sets the value of the maxAmount property.
|
void |
setMinAmount(java.lang.Float value)
Sets the value of the minAmount property.
|
void |
setWaste(java.lang.Float value)
Sets the value of the waste property.
|
PartAmount |
withAmount(java.lang.Double value) |
PartAmount |
withMaxAmount(java.lang.Float value) |
PartAmount |
withMinAmount(java.lang.Float value) |
PartAmount |
withPart(java.util.Collection<Part> values) |
PartAmount |
withPart(Part... values) |
PartAmount |
withPartWaste(java.util.Collection<PartWaste> values) |
PartAmount |
withPartWaste(PartWaste... values) |
PartAmount |
withWaste(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<Part> part
@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<PartWaste> partWaste
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.Double amount
@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 maxAmount
@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 minAmount
@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 waste
@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<Part> getPart()
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 part property.
For example, to add a new item, do as follows:
getPart().add(newItem);
Objects of the following type(s) are allowed in the list
Part
@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<PartWaste> getPartWaste()
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 partWaste property.
For example, to add a new item, do as follows:
getPartWaste().add(newItem);
Objects of the following type(s) are allowed in the list
PartWaste
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.lang.Double getAmount()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setAmount(java.lang.Double 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 getMaxAmount()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setMaxAmount(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 getMinAmount()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setMinAmount(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 getWaste()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setWaste(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 PartAmount withPart(Part... values)
public PartAmount withPart(java.util.Collection<Part> values)
public PartAmount withPartWaste(PartWaste... values)
public PartAmount withPartWaste(java.util.Collection<PartWaste> values)
public PartAmount withAmount(java.lang.Double value)
public PartAmount withMaxAmount(java.lang.Float value)
public PartAmount withMinAmount(java.lang.Float value)
public PartAmount withWaste(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