Class PartAmount

  • All Implemented Interfaces:
    java.io.Serializable

    @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v4.0.2",
               date="2023-07-17T18:40:39Z")
    public class PartAmount
    extends java.lang.Object
    implements java.io.Serializable

    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 Detail

      • part

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.util.List<Part> part
      • partWaste

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.util.List<PartWaste> partWaste
      • amount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.Double amount
      • maxAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.Float maxAmount
      • minAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.Float minAmount
      • waste

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.Float waste
    • Constructor Detail

      • PartAmount

        public PartAmount()
    • Method Detail

      • getPart

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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 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

        Returns:
        The value of the part property.
      • getPartWaste

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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 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

        Returns:
        The value of the partWaste property.
      • getAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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.2",
                   date="2023-07-17T18:40:39Z")
        public void setAmount​(java.lang.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 v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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.2",
                   date="2023-07-17T18:40:39Z")
        public void setMaxAmount​(java.lang.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 v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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.2",
                   date="2023-07-17T18:40:39Z")
        public void setMinAmount​(java.lang.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 v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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.2",
                   date="2023-07-17T18:40:39Z")
        public void setWaste​(java.lang.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 v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object