Class CachingMetadataType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.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"> <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
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_RETRIEVAL_TIMESTAMP
static ItemName
F_SERIAL_NUMBER
protected XMLGregorianCalendar
retrievalTimestamp
protected String
serialNumber
-
Constructor Summary
Constructors Constructor Description CachingMetadataType()
Creates a newCachingMetadataType
instance.CachingMetadataType(CachingMetadataType o)
Creates a newCachingMetadataType
instance by deeply copying a givenCachingMetadataType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
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)
CachingMetadataType
retrievalTimestamp(String value)
CachingMetadataType
retrievalTimestamp(XMLGregorianCalendar value)
CachingMetadataType
serialNumber(String value)
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.
-
-
-
Field Detail
-
retrievalTimestamp
protected XMLGregorianCalendar retrievalTimestamp
-
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 newCachingMetadataType
instance.
-
CachingMetadataType
public CachingMetadataType(CachingMetadataType o)
Creates a newCachingMetadataType
instance by deeply copying a givenCachingMetadataType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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 isXMLGregorianCalendar
-
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 isString
-
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
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
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 interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
retrievalTimestamp
public CachingMetadataType retrievalTimestamp(XMLGregorianCalendar value)
-
retrievalTimestamp
public CachingMetadataType retrievalTimestamp(String value)
-
serialNumber
public CachingMetadataType serialNumber(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public CachingMetadataType clone()
Creates and returns a deep copy of this object.
-
-