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

java.lang.Object
  extended by com.unboundid.ldap.sdk.unboundidds.extensions.ChangelogBatchChangeSelectionCriteria
      extended by com.unboundid.ldap.sdk.unboundidds.extensions.AllAttributesChangeSelectionCriteria

@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class AllAttributesChangeSelectionCriteria
extends ChangelogBatchChangeSelectionCriteria

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 provides an implementation of a get changelog batch change selection criteria value that indicates that the server should only return changes which target all or more of the specified attributes. The changes may target other attributes as well, but all of the associated attributes must be included in the change.


Constructor Summary
AllAttributesChangeSelectionCriteria(java.util.Collection<java.lang.String> attributeNames)
          Creates a new all attributes change selection criteria value with the provided set of attribute names.
AllAttributesChangeSelectionCriteria(java.lang.String... attributeNames)
          Creates a new all attributes change selection criteria value with the provided set of attribute names.
 
Method Summary
 ASN1Element encodeInnerElement()
          Encodes the inner element for this changelog batch change selection criteria to an ASN.1 element.
 java.util.List<java.lang.String> getAttributeNames()
          Retrieves the names of the target attributes for changes that should be retrieved.
 void toString(java.lang.StringBuilder buffer)
          Appends a string representation of this changelog batch change selection criteria value to the provided buffer.
 
Methods inherited from class com.unboundid.ldap.sdk.unboundidds.extensions.ChangelogBatchChangeSelectionCriteria
decode, encode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllAttributesChangeSelectionCriteria

public AllAttributesChangeSelectionCriteria(java.lang.String... attributeNames)
Creates a new all attributes change selection criteria value with the provided set of attribute names.

Parameters:
attributeNames - The names of the target attributes for changes that should be retrieved. It must not be null or empty.

AllAttributesChangeSelectionCriteria

public AllAttributesChangeSelectionCriteria(java.util.Collection<java.lang.String> attributeNames)
Creates a new all attributes change selection criteria value with the provided set of attribute names.

Parameters:
attributeNames - The names of the target attributes for changes that should be retrieved. It must not be null or empty.
Method Detail

getAttributeNames

public java.util.List<java.lang.String> getAttributeNames()
Retrieves the names of the target attributes for changes that should be retrieved.

Returns:
The names of the target attributes for changes that should be retrieved.

encodeInnerElement

public ASN1Element encodeInnerElement()
Encodes the inner element for this changelog batch change selection criteria to an ASN.1 element.

Specified by:
encodeInnerElement in class ChangelogBatchChangeSelectionCriteria
Returns:
The encoded representation of the inner element to include in the encoded representation of the changelog batch change selection criteria element.

toString

public void toString(java.lang.StringBuilder buffer)
Appends a string representation of this changelog batch change selection criteria value to the provided buffer.

Specified by:
toString in class ChangelogBatchChangeSelectionCriteria
Parameters:
buffer - The buffer to which the information should be appended.