Class AttrValueHistorical
- java.lang.Object
-
- org.opends.server.replication.plugin.AttrValueHistorical
-
public class AttrValueHistorical extends Object
AttrValueHistorical is the historical information of the modification of one attribute value.
-
-
Constructor Summary
Constructors Constructor Description AttrValueHistorical(ByteString value, AttributeType attributeType, CSN csnUpdate, CSN csnDelete)Build an AttrValueHistorical for a provided attribute value, providing the last time the provided value is either updated or deleted.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ByteStringgetAttributeValue()Get the attributeValue for which this object was generated.CSNgetValueDeleteTime()Get the last time when the value was deleted.CSNgetValueUpdateTime()Get the last time when the value was updated.inthashCode()booleanisUpdate()Check if the value associated with this object was updated.StringtoString()
-
-
-
Constructor Detail
-
AttrValueHistorical
public AttrValueHistorical(ByteString value, AttributeType attributeType, CSN csnUpdate, CSN csnDelete)
Build an AttrValueHistorical for a provided attribute value, providing the last time the provided value is either updated or deleted.- Parameters:
value- the provided attribute valueattributeType- the provided attribute typecsnUpdate- last time when this value was updatedcsnDelete- last time when this value for deleted
-
-
Method Detail
-
getValueDeleteTime
public CSN getValueDeleteTime()
Get the last time when the value was deleted.- Returns:
- the last time when the value was deleted
-
getValueUpdateTime
public CSN getValueUpdateTime()
Get the last time when the value was updated.- Returns:
- the last time when the value was updated
-
getAttributeValue
public ByteString getAttributeValue()
Get the attributeValue for which this object was generated.- Returns:
- the value for which this object was generated
-
isUpdate
public boolean isUpdate()
Check if the value associated with this object was updated.- Returns:
- true if the value associated with this object was updated
-
-