Class Condition

  • 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 Condition
    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"/>
           </sequence>
           <attribute name="PartContext" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<Part> part  
      protected java.lang.String partContext  
    • Constructor Summary

      Constructors 
      Constructor Description
      Condition()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      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.lang.String getPartContext()
      Gets the value of the partContext property.
      int hashCode()  
      void setPartContext​(java.lang.String value)
      Sets the value of the partContext property.
      Condition withPart​(java.util.Collection<Part> values)  
      Condition withPart​(Part... values)  
      Condition withPartContext​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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
      • partContext

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

      • Condition

        public Condition()
    • 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.
      • getPartContext

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public java.lang.String getPartContext()
        Gets the value of the partContext property.
        Returns:
        possible object is String
      • setPartContext

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setPartContext​(java.lang.String value)
        Sets the value of the partContext property.
        Parameters:
        value - allowed object is String
      • 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 Condition withPart​(java.util.Collection<Part> values)
      • withPartContext

        public Condition withPartContext​(java.lang.String 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