Class PartAmount

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class PartAmount
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field 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 Summary

      Constructors 
      Constructor Description
      PartAmount()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.EqualsStrategy2 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.HashCodeStrategy2 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)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • part

        protected java.util.List<Part> part
      • partWaste

        protected java.util.List<PartWaste> partWaste
      • amount

        protected java.lang.Double amount
      • maxAmount

        protected java.lang.Float maxAmount
      • minAmount

        protected java.lang.Float minAmount
      • waste

        protected java.lang.Float waste
    • Constructor Detail

      • PartAmount

        public PartAmount()
    • Method Detail

      • getPart

        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 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

        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 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

        public java.lang.Double getAmount()
        Gets the value of the amount property.
        Returns:
        possible object is String
      • setAmount

        public void setAmount​(java.lang.Double value)
        Sets the value of the amount property.
        Parameters:
        value - allowed object is String
      • getMaxAmount

        public java.lang.Float getMaxAmount()
        Gets the value of the maxAmount property.
        Returns:
        possible object is Float
      • setMaxAmount

        public void setMaxAmount​(java.lang.Float value)
        Sets the value of the maxAmount property.
        Parameters:
        value - allowed object is Float
      • getMinAmount

        public java.lang.Float getMinAmount()
        Gets the value of the minAmount property.
        Returns:
        possible object is Float
      • setMinAmount

        public void setMinAmount​(java.lang.Float value)
        Sets the value of the minAmount property.
        Parameters:
        value - allowed object is Float
      • getWaste

        public java.lang.Float getWaste()
        Gets the value of the waste property.
        Returns:
        possible object is Float
      • setWaste

        public void setWaste​(java.lang.Float value)
        Sets the value of the waste property.
        Parameters:
        value - allowed object is Float
      • getOtherAttributes

        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​(java.util.Collection<Part> 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​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.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 java.lang.Object