com.unboundid.directory.sdk.broker.types
Interface MetaDataMods


@NotExtensible
public interface MetaDataMods

Container for a set of modifications to the user metadata or large metadata attributes.


Method Summary
 int getTotalMods()
          Get the number of values to add plus the number of values to delete.
 java.util.Collection<com.unboundid.util.ByteString> getValuesToAdd()
          Get the list of values to add.
 java.util.Collection<com.unboundid.util.ByteString> getValuesToDelete()
          Get the list of values to delete.
 

Method Detail

getValuesToDelete

java.util.Collection<com.unboundid.util.ByteString> getValuesToDelete()
Get the list of values to delete. This will never be null.

Returns:
a list of ByteString values to delete from the metadata attribute

getValuesToAdd

java.util.Collection<com.unboundid.util.ByteString> getValuesToAdd()
Get the list of values to add. This will never be null.

Returns:
a list of ByteString values to add to the metadata attribute

getTotalMods

int getTotalMods()
Get the number of values to add plus the number of values to delete.

Returns:
the total number of values in this modification set