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

java.lang.Object
  extended by com.unboundid.ldap.sdk.unboundidds.extensions.NotificationSubscriptionDetails
All Implemented Interfaces:
java.io.Serializable

@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class NotificationSubscriptionDetails
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 represents a data structure with information about a notification subscription defined in an UnboundID server instance.

See Also:
Serialized Form

Constructor Summary
NotificationSubscriptionDetails(java.lang.String id, java.util.Collection<ASN1OctetString> details)
          Creates a new notification subscription details object with the provided information.
 
Method Summary
 java.util.List<ASN1OctetString> getDetails()
          Retrieves the encoded details for this subscription details object.
 java.lang.String getID()
          Retrieves the unique ID for this subscription details object.
 java.lang.String toString()
          Retrieves a string representation of this notification subscription details object.
 void toString(java.lang.StringBuilder buffer)
          Appends a string representation of this notification subscription details object to the provided buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationSubscriptionDetails

public NotificationSubscriptionDetails(java.lang.String id,
                                       java.util.Collection<ASN1OctetString> details)
Creates a new notification subscription details object with the provided information.

Parameters:
id - The unique ID for this notification subscription. It must not be null.
details - The encoded details for this notification subscription. It must not be null or empty.
Method Detail

getID

public java.lang.String getID()
Retrieves the unique ID for this subscription details object.

Returns:
The unique ID for this subscription details object.

getDetails

public java.util.List<ASN1OctetString> getDetails()
Retrieves the encoded details for this subscription details object.

Returns:
The encoded details for this subscription details object.

toString

public java.lang.String toString()
Retrieves a string representation of this notification subscription details object.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this notification subscription details object.

toString

public void toString(java.lang.StringBuilder buffer)
Appends a string representation of this notification subscription details object to the provided buffer.

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