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 QNameCOMPLEX_TYPEstatic ItemNameF_RETRIEVAL_TIMESTAMPstatic ItemNameF_SERIAL_NUMBERprotected XMLGregorianCalendarretrievalTimestampprotected StringserialNumber
-
Constructor Summary
Constructors Constructor Description CachingMetadataType()Creates a newCachingMetadataTypeinstance.CachingMetadataType(CachingMetadataType o)Creates a newCachingMetadataTypeinstance by deeply copying a givenCachingMetadataTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)CachingMetadataTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)XMLGregorianCalendargetRetrievalTimestamp()Gets the value of the retrievalTimestamp property.StringgetSerialNumber()Gets the value of the serialNumber property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)CachingMetadataTyperetrievalTimestamp(String value)CachingMetadataTyperetrievalTimestamp(XMLGregorianCalendar value)CachingMetadataTypeserialNumber(String value)voidsetRetrievalTimestamp(XMLGregorianCalendar value)Sets the value of the retrievalTimestamp property.voidsetSerialNumber(String value)Sets the value of the serialNumber property.StringtoString()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 newCachingMetadataTypeinstance.
-
CachingMetadataType
public CachingMetadataType(CachingMetadataType o)
Creates a newCachingMetadataTypeinstance by deeply copying a givenCachingMetadataTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
clone
public CachingMetadataType clone()
Creates and returns a deep copy of this object.
-
-