Class AttrValueHistorical


  • public class AttrValueHistorical
    extends Object
    AttrValueHistorical is the historical information of the modification of one attribute value.
    • 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 value
        attributeType - the provided attribute type
        csnUpdate - last time when this value was updated
        csnDelete - last time when this value for deleted
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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