org.opends.server.replication.plugin
Class AttrInfoWithOptions

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

public class AttrInfoWithOptions
extends java.lang.Object

Used to store historical information. Contain a map of AttrInfo for each options of a given attribute type.


Constructor Summary
AttrInfoWithOptions()
          creates a new AttrInfoWithOptions.
 
Method Summary
 AttributeInfo get(java.util.Set<java.lang.String> options)
          Get the info for a given option.
 java.util.HashMap<java.util.Set<java.lang.String>,AttributeInfo> getAttributesInfo()
          get the Attributes information associated to this object.
 AttributeInfo put(java.util.Set<java.lang.String> options, AttributeInfo attrInfo)
          Associate some info to a given set of options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttrInfoWithOptions

public AttrInfoWithOptions()
creates a new AttrInfoWithOptions.

Method Detail

get

public AttributeInfo get(java.util.Set<java.lang.String> options)
Get the info for a given option.

Parameters:
options - the options
Returns:
the information

put

public AttributeInfo put(java.util.Set<java.lang.String> options,
                         AttributeInfo attrInfo)
Associate some info to a given set of options.

Parameters:
options - the options
attrInfo - the info to associate
Returns:
the info to associate

getAttributesInfo

public java.util.HashMap<java.util.Set<java.lang.String>,AttributeInfo> getAttributesInfo()
get the Attributes information associated to this object.

Returns:
the set of informations