com.unboundid.ldap.sdk.unboundidds.extensions
Class ChangelogBatchStartingPoint

java.lang.Object
  extended by com.unboundid.ldap.sdk.unboundidds.extensions.ChangelogBatchStartingPoint
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BeginningOfChangelogStartingPoint, ChangeTimeStartingPoint, EndOfChangelogStartingPoint, ResumeWithCSNStartingPoint, ResumeWithTokenStartingPoint

@NotExtensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public abstract class ChangelogBatchStartingPoint
extends java.lang.Object
implements java.io.Serializable

NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.
This class defines the API that should be implemented by classes which may represent a way to identify the start of a batch of changes to retrieve using the GetChangelogBatchExtendedRequest.

See Also:
Serialized Form

Constructor Summary
ChangelogBatchStartingPoint()
           
 
Method Summary
static ChangelogBatchStartingPoint decode(ASN1Element element)
          Decodes the provided ASN.1 element as a changelog batch starting point.
abstract  ASN1Element encode()
          Encodes this starting point value to an ASN.1 element suitable for inclusion in a changelog batch extended request.
 java.lang.String toString()
          Retrieves a string representation of this changelog batch starting point.
abstract  void toString(java.lang.StringBuilder buffer)
          Appends a string representation of this changelog batch starting point to the provided buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangelogBatchStartingPoint

public ChangelogBatchStartingPoint()
Method Detail

encode

public abstract ASN1Element encode()
Encodes this starting point value to an ASN.1 element suitable for inclusion in a changelog batch extended request.

Returns:
The encoded representation of this starting point value.

decode

public static ChangelogBatchStartingPoint decode(ASN1Element element)
                                          throws LDAPException
Decodes the provided ASN.1 element as a changelog batch starting point.

Parameters:
element - The ASN.1 element to be decoded. It must not be null.
Returns:
The decoded changelog batch starting point.
Throws:
LDAPException - If the provided ASN.1 element cannot be decoded as a changelog batch starting point.

toString

public final java.lang.String toString()
Retrieves a string representation of this changelog batch starting point.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this changelog batch starting point.

toString

public abstract void toString(java.lang.StringBuilder buffer)
Appends a string representation of this changelog batch starting point to the provided buffer.

Parameters:
buffer - The buffer to which the information should be appended.