Class Refusal

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

    @Generated(value="com.sun.tools.xjc.Driver",
               date="2020-04-08T08:04:58+00:00",
               comments="JAXB RI v2.3.2")
    public class Refusal
    extends BaseElement
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for Refusal complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Refusal">
       <complexContent>
         <extension base="{http://www.printtalk.org/schema_20}BaseElement">
           <sequence>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" minOccurs="0"/>
           </sequence>
           <attribute name="Reason" use="required">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Busy"/>
                 <enumeration value="InvalidPrice"/>
                 <enumeration value="Milestone"/>
                 <enumeration value="Other"/>
                 <enumeration value="WrongProduct"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="ReasonDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.cip4.lib.xjdf.schema.Comment comment  
      protected java.lang.String reason  
      protected java.util.List<java.lang.String> reasonDetails  
    • Constructor Summary

      Constructors 
      Constructor Description
      Refusal()  
    • 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)  
      org.cip4.lib.xjdf.schema.Comment getComment()
      Gets the value of the comment property.
      java.lang.String getReason()
      Gets the value of the reason property.
      java.util.List<java.lang.String> getReasonDetails()
      Gets the value of the reasonDetails property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      void setComment​(org.cip4.lib.xjdf.schema.Comment value)
      Sets the value of the comment property.
      void setReason​(java.lang.String value)
      Sets the value of the reason property.
      Refusal withComment​(org.cip4.lib.xjdf.schema.Comment value)  
      Refusal withReason​(java.lang.String value)  
      Refusal withReasonDetails​(java.lang.String... values)  
      Refusal withReasonDetails​(java.util.Collection<java.lang.String> values)  
      • Methods inherited from class java.lang.Object

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

      • comment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected org.cip4.lib.xjdf.schema.Comment comment
      • reason

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String reason
      • reasonDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.util.List<java.lang.String> reasonDetails
    • Constructor Detail

      • Refusal

        public Refusal()
    • Method Detail

      • getComment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public org.cip4.lib.xjdf.schema.Comment getComment()
        Gets the value of the comment property.
        Returns:
        possible object is Comment
      • setComment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setComment​(org.cip4.lib.xjdf.schema.Comment value)
        Sets the value of the comment property.
        Parameters:
        value - allowed object is Comment
      • getReason

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getReason()
        Gets the value of the reason property.
        Returns:
        possible object is String
      • setReason

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setReason​(java.lang.String value)
        Sets the value of the reason property.
        Parameters:
        value - allowed object is String
      • getReasonDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.util.List<java.lang.String> getReasonDetails()
        Gets the value of the reasonDetails 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 reasonDetails property.

        For example, to add a new item, do as follows:

            getReasonDetails().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • withComment

        public Refusal withComment​(org.cip4.lib.xjdf.schema.Comment value)
      • withReason

        public Refusal withReason​(java.lang.String value)
      • withReasonDetails

        public Refusal withReasonDetails​(java.lang.String... values)
      • withReasonDetails

        public Refusal withReasonDetails​(java.util.Collection<java.lang.String> values)
      • 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
        Overrides:
        equals in class BaseElement
      • equals

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