Class CachingMetadataType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class CachingMetadataType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Metadata that record when a cache copy was retrieved, the identifiers (etags) of that copy and possibly also other data. It is used to guide cache coherence policies and cache management in general. <p>Java class for CachingMetadataType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="CachingMetadataType"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="retrievalTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt; &lt;element name="serialNumber" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • serialNumber

        protected String serialNumber
      • COMPLEX_TYPE

        public static final QName COMPLEX_TYPE
      • F_RETRIEVAL_TIMESTAMP

        public static final ItemName F_RETRIEVAL_TIMESTAMP
      • F_SERIAL_NUMBER

        public static final ItemName F_SERIAL_NUMBER
    • Constructor Detail

      • CachingMetadataType

        public CachingMetadataType()
        Creates a new {@code CachingMetadataType} instance.
      • CachingMetadataType

        public CachingMetadataType​(CachingMetadataType o)
        Creates a new {@code CachingMetadataType} instance by deeply copying a given {@code CachingMetadataType} instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if {@code o} is {@code null}.
    • Method Detail

      • setRetrievalTimestamp

        public void setRetrievalTimestamp​(XMLGregorianCalendar value)
        Sets the value of the retrievalTimestamp property.
        Parameters:
        value - allowed object is XMLGregorianCalendar
      • getSerialNumber

        public String getSerialNumber()
        Gets the value of the serialNumber property.
        Returns:
        possible object is String
      • setSerialNumber

        public void setSerialNumber​(String value)
        Sets the value of the serialNumber property.
        Parameters:
        value - allowed object is String
      • toString

        public String toString()
        Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals
      • clone

        public CachingMetadataType clone()
        Creates and returns a deep copy of this object.
        Overrides:
        clone in class Object
        Returns:
        A deep copy of this object.