org.opends.server.replication.plugin
Class HistVal

java.lang.Object
  extended by org.opends.server.replication.plugin.HistVal

public class HistVal
extends java.lang.Object

This Class is used to encode/decode historical information from the String form to the internal usable form.

Author:
Gilles Bellaton

Constructor Summary
HistVal(java.lang.String strVal)
          Create a new HistVal form the String encoded form.
 
Method Summary
 Modification generateMod()
          Generate a Modification equivalent to this HistVal.
 AttributeValue getAttributeValue()
          Get the Attribute Value.
 java.lang.String getAttrString()
          Get the String form of the attribute type.
 AttributeType getAttrType()
          Get the type of this HistVal.
 ChangeNumber getCn()
          Get the ChangeNUmber of this HistVal.
 HistKey getHistKey()
          Get the HistKey.
 java.util.Set<java.lang.String> getOptions()
          Get the options or an empty set if there are no options.
 java.lang.String getStringValue()
          Get the String form of the attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistVal

public HistVal(java.lang.String strVal)
Create a new HistVal form the String encoded form.

Parameters:
strVal - The String encoded form of historical information.
Method Detail

getAttrString

public java.lang.String getAttrString()
Get the String form of the attribute type.

Returns:
Returns the String form of the attribute type.

getAttrType

public AttributeType getAttrType()
Get the type of this HistVal.

Returns:
Returns the type of this HistVal.

getCn

public ChangeNumber getCn()
Get the ChangeNUmber of this HistVal.

Returns:
Returns the ChangeNumber of this HistVal.

getHistKey

public HistKey getHistKey()
Get the HistKey.

Returns:
Returns the histKey.

getOptions

public java.util.Set<java.lang.String> getOptions()
Get the options or an empty set if there are no options.

Returns:
Returns the options.

getStringValue

public java.lang.String getStringValue()
Get the String form of the attribute.

Returns:
The String form of the attribute.

getAttributeValue

public AttributeValue getAttributeValue()
Get the Attribute Value.

Returns:
The Attribute Value.

generateMod

public Modification generateMod()
Generate a Modification equivalent to this HistVal.

Returns:
A Modification equivalent to this HistVal.