Class ApprovalPerson

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

    public class ApprovalPerson
    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">
           <attribute name="ApprovalRole">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Approvinator"/>
                 <enumeration value="Informative"/>
                 <enumeration value="Obligated"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="ApprovalRoleDetails" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="ContactRef" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ApprovalPerson

        public ApprovalPerson()
    • Method Detail

      • getApprovalRoleDetails

        public java.lang.String getApprovalRoleDetails()
        Gets the value of the approvalRoleDetails property.
        Returns:
        possible object is String
      • setApprovalRoleDetails

        public void setApprovalRoleDetails​(java.lang.String value)
        Sets the value of the approvalRoleDetails property.
        Parameters:
        value - allowed object is String
      • getContact

        public Resource getContact()
        Gets the value of the contact property.
        Returns:
        possible object is Object
      • setContact

        public void setContact​(Resource value)
        Sets the value of the contact property.
        Parameters:
        value - allowed object is Object
      • 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
      • withApprovalRoleDetails

        public ApprovalPerson withApprovalRoleDetails​(java.lang.String 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