|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.Entry
com.unboundid.ldap.sdk.ReadOnlyEntry
com.unboundid.ldap.sdk.unboundidds.controls.JoinedEntry
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JoinedEntry
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 a joined entry, which is a read-only representation of an entry that has been joined with a search result entry using the LDAP join control. See the class-level documentation for the
JoinRequestControl
class for additional information and an example
demonstrating its use.
JoinedEntry ::= SEQUENCE { objectName LDAPDN, attributes PartialAttributeList, nestedJoinResults SEQUENCE OF JoinedEntry OPTIONAL }
Constructor Summary | |
---|---|
JoinedEntry(Entry entry,
java.util.List<JoinedEntry> nestedJoinResults)
Creates a new joined entry with the specified DN, attributes, and nested join results. |
|
JoinedEntry(java.lang.String dn,
java.util.Collection<Attribute> attributes,
java.util.List<JoinedEntry> nestedJoinResults)
Creates a new joined entry with the specified DN, attributes, and nested join results. |
Method Summary | |
---|---|
java.util.List<JoinedEntry> |
getNestedJoinResults()
Retrieves the list of nested join results for this joined entry. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this joined entry to the provided buffer. |
Methods inherited from class com.unboundid.ldap.sdk.ReadOnlyEntry |
---|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeAttributeValues, removeAttributeValues, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setDN, setDN |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JoinedEntry(Entry entry, java.util.List<JoinedEntry> nestedJoinResults)
entry
- The entry containing the DN and attributes to
use for this joined entry. It must not be
null
.nestedJoinResults
- A list of nested join results for this joined
entry. It may be null
or empty if there
are no nested join results.public JoinedEntry(java.lang.String dn, java.util.Collection<Attribute> attributes, java.util.List<JoinedEntry> nestedJoinResults)
dn
- The DN for this joined entry. It must not be
null
.attributes
- The set of attributes for this joined entry. It
must not be null
.nestedJoinResults
- A list of nested join results for this joined
entry. It may be null
or empty if there
are no nested join results.Method Detail |
---|
public java.util.List<JoinedEntry> getNestedJoinResults()
public void toString(java.lang.StringBuilder buffer)
toString
in interface LDIFRecord
toString
in class Entry
buffer
- The buffer to which the information should be appended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |