public class PropertySet
extends java.lang.Object
implements java.io.Serializable
PropertySet
in a
PropertySetCollection
In other words, it represents a particular search result entry from a
collection of search resultsConstructor and Description |
---|
PropertySet(java.lang.String baseDN,
javax.naming.directory.SearchResult result) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAttributeNames()
Returns an array of String containing the name of all the properties -
all the attribute names returned with this particular search entry.
|
java.lang.String |
getDN()
Returns the name of this property set - the DN of the search entry
represented by this property set
|
Property |
getProperty(int i)
Returns the i-th property of this property set - the i-th attribute
of this search entry.
|
Property |
getProperty(java.lang.String attrID)
Returns the property identified by the attrID - the attrID is the
attribute name
|
boolean |
isEmpty()
Returns true if the property set does not contain any properties;
false otherwise
|
int |
size()
Returns the size of this property set - the number of returned
attributes for this particular search result entry
|
public PropertySet(java.lang.String baseDN, javax.naming.directory.SearchResult result)
public final boolean isEmpty()
public final int size()
public final java.lang.String[] getAttributeNames()
public final Property getProperty(int i)
i
- the index of the property to be retrievedpublic final Property getProperty(java.lang.String attrID)
attrID
- the attribute to be retrievedpublic final java.lang.String getDN()