Class PartAmount
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.PartAmount
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public class PartAmount extends java.lang.Object implements java.io.SerializableJava 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.w3.org/2001/XMLSchema}float" /> <attribute name="MaxAmount" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="MinAmount" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="Waste" type="{http://www.w3.org/2001/XMLSchema}float" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartAmount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.lang.DoublegetAmount()Gets the value of the amount property.java.lang.FloatgetMaxAmount()Gets the value of the maxAmount property.java.lang.FloatgetMinAmount()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.FloatgetWaste()Gets the value of the waste property.inthashCode()voidsetAmount(java.lang.Double value)Sets the value of the amount property.voidsetMaxAmount(java.lang.Float value)Sets the value of the maxAmount property.voidsetMinAmount(java.lang.Float value)Sets the value of the minAmount property.voidsetWaste(java.lang.Float value)Sets the value of the waste property.PartAmountwithAmount(java.lang.Double value)PartAmountwithMaxAmount(java.lang.Float value)PartAmountwithMinAmount(java.lang.Float value)PartAmountwithPart(java.util.Collection<Part> values)PartAmountwithPart(Part... values)PartAmountwithPartWaste(java.util.Collection<PartWaste> values)PartAmountwithPartWaste(PartWaste... values)PartAmountwithWaste(java.lang.Float value)
-
-
-
Field Detail
-
part
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.util.List<Part> part
-
partWaste
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.util.List<PartWaste> partWaste
-
amount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.Double amount
-
maxAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.Float maxAmount
-
minAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.Float minAmount
-
waste
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.Float waste
-
-
Method Detail
-
getPart
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public java.util.List<Part> getPart()Gets the value of the part 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the part property.
-
getPartWaste
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public java.util.List<PartWaste> getPartWaste()Gets the value of the partWaste 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the partWaste property.
-
getAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public java.lang.Double getAmount()Gets the value of the amount property.- Returns:
- possible object is
String
-
setAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public void setAmount(java.lang.Double value)Sets the value of the amount property.- Parameters:
value- allowed object isString
-
getMaxAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public java.lang.Float getMaxAmount()Gets the value of the maxAmount property.- Returns:
- possible object is
Float
-
setMaxAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public void setMaxAmount(java.lang.Float value)Sets the value of the maxAmount property.- Parameters:
value- allowed object isFloat
-
getMinAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public java.lang.Float getMinAmount()Gets the value of the minAmount property.- Returns:
- possible object is
Float
-
setMinAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public void setMinAmount(java.lang.Float value)Sets the value of the minAmount property.- Parameters:
value- allowed object isFloat
-
getWaste
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public java.lang.Float getWaste()Gets the value of the waste property.- Returns:
- possible object is
Float
-
setWaste
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public void setWaste(java.lang.Float value)Sets the value of the waste property.- Parameters:
value- allowed object isFloat
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public 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.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.
- Returns:
- always non-null
-
withPart
public PartAmount withPart(Part... values)
-
withPart
public PartAmount withPart(java.util.Collection<Part> values)
-
withPartWaste
public PartAmount withPartWaste(PartWaste... values)
-
withPartWaste
public PartAmount withPartWaste(java.util.Collection<PartWaste> values)
-
withAmount
public PartAmount withAmount(java.lang.Double value)
-
withMaxAmount
public PartAmount withMaxAmount(java.lang.Float value)
-
withMinAmount
public PartAmount withMinAmount(java.lang.Float value)
-
withWaste
public PartAmount withWaste(java.lang.Float value)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-