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.

    Java class for CachingMetadataType complex type.

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

     <complexType name="CachingMetadataType">
         <restriction base="{}anyType">
             <element name="retrievalTimestamp" type="{}dateTime" minOccurs="0"/>
             <element name="serialNumber" type="{}string"/>
    See Also:
    Serialized Form
    • Field Detail

      • serialNumber

        protected String serialNumber

        public static final QName COMPLEX_TYPE

        public static final ItemName F_RETRIEVAL_TIMESTAMP

        public static final ItemName F_SERIAL_NUMBER
    • Constructor Detail

      • CachingMetadataType

        public CachingMetadataType()
        Creates a new CachingMetadataType instance.
      • CachingMetadataType

        public CachingMetadataType​(CachingMetadataType o)
        Creates a new CachingMetadataType instance by deeply copying a given CachingMetadataType instance.
        o - The instance to copy.
        NullPointerException - if o is null.
    • Method Detail

      • setRetrievalTimestamp

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

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

        public void setSerialNumber​(String value)
        Sets the value of the serialNumber property.
        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
        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()
        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.
        clone in class Object
        A deep copy of this object.