Class PartAmount

java.lang.Object
org.cip4.lib.xjdf.schema.PartAmount
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public class PartAmount extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

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.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:
  • Field Details

    • part

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<Part> part
    • partWaste

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<PartWaste> partWaste
    • amount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Double amount
    • maxAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float maxAmount
    • minAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float minAmount
    • waste

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float waste
  • Constructor Details

    • PartAmount

      public PartAmount()
  • Method Details

    • getPart

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 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

    • getPartWaste

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 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

    • getAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setAmount(Double value)
      Sets the value of the amount property.
      Parameters:
      value - allowed object is String
    • getMaxAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setMaxAmount(Float value)
      Sets the value of the maxAmount property.
      Parameters:
      value - allowed object is Float
    • getMinAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setMinAmount(Float value)
      Sets the value of the minAmount property.
      Parameters:
      value - allowed object is Float
    • getWaste

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setWaste(Float value)
      Sets the value of the waste property.
      Parameters:
      value - allowed object is Float
    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Map<QName,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(Collection<Part> values)
    • withPartWaste

      public PartAmount withPartWaste(PartWaste... values)
    • withPartWaste

      public PartAmount withPartWaste(Collection<PartWaste> values)
    • withAmount

      public PartAmount withAmount(Double value)
    • withMaxAmount

      public PartAmount withMaxAmount(Float value)
    • withMinAmount

      public PartAmount withMinAmount(Float value)
    • withWaste

      public PartAmount withWaste(Float value)
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object