Class From

  • 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 From
    extends BaseElement
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for From complex type.

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

     <complexType name="From">
       <complexContent>
         <extension base="{http://www.printtalk.org/schema_20}BaseElement">
           <sequence>
             <element name="Credential" type="{http://www.printtalk.org/schema_20}Credential" maxOccurs="unbounded"/>
             <element name="UserAgent" type="{http://www.printtalk.org/schema_20}UserAgent" minOccurs="0"/>
           </sequence>
           <anyAttribute processContents='lax' namespace='##other'/>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • credential

        @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<Credential> credential
      • userAgent

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected UserAgent userAgent
    • Constructor Detail

      • From

        public From()
    • Method Detail

      • getCredential

        @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<Credential> getCredential()
        Gets the value of the credential 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 credential property.

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

            getCredential().add(newItem);
         

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

      • getUserAgent

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public UserAgent getUserAgent()
        Gets the value of the userAgent property.
        Returns:
        possible object is UserAgent
      • setUserAgent

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

        public From withCredential​(Credential... values)
      • withCredential

        public From withCredential​(java.util.Collection<Credential> 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