com.evolveum.midpoint.xml.ns._public.common.common_2a
Class CachingMetadataType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.CachingMetadataType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class CachingMetadataType
extends Object
implements Serializable, Cloneable, 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">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="retrievalTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="serialNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
static QName COMPLEX_TYPE
           
static QName F_RETRIEVAL_TIMESTAMP
           
static QName F_SERIAL_NUMBER
           
protected  XMLGregorianCalendar retrievalTimestamp
           
protected  String serialNumber
           
 
Constructor Summary
CachingMetadataType()
          Creates a new CachingMetadataType instance.
CachingMetadataType(CachingMetadataType o)
          Creates a new CachingMetadataType instance by deeply copying a given CachingMetadataType instance.
 
Method Summary
 CachingMetadataType clone()
          Creates and returns a deep copy of this object.
 boolean equals(Object object)
           
 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)
           
 XMLGregorianCalendar getRetrievalTimestamp()
          Gets the value of the retrievalTimestamp property.
 String getSerialNumber()
          Gets the value of the serialNumber property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setRetrievalTimestamp(XMLGregorianCalendar value)
          Sets the value of the retrievalTimestamp property.
 void setSerialNumber(String value)
          Sets the value of the serialNumber property.
 String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

retrievalTimestamp

protected XMLGregorianCalendar retrievalTimestamp

serialNumber

protected String serialNumber

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_RETRIEVAL_TIMESTAMP

public static final QName F_RETRIEVAL_TIMESTAMP

F_SERIAL_NUMBER

public static final QName 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.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getRetrievalTimestamp

public XMLGregorianCalendar getRetrievalTimestamp()
Gets the value of the retrievalTimestamp property.

Returns:
possible object is XMLGregorianCalendar

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

equals

public boolean equals(Object object)
Overrides:
equals in class Object

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.


Copyright © 2013 evolveum. All Rights Reserved.