|
Oracle Internet Directory API Reference 10g(9.0.4) B10423-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ldap.util.PropertySetCollection
This class represents a collection of PropertySets. In other words, it represents a set of search result entries from a given search.
Constructor Summary | |
PropertySetCollection(int initSize) |
Method Summary | |
java.lang.String[] |
getDns() Returns an array of String containing the name of all the property sets - the DN's of all the search entries in this search result. |
PropertySet |
getPropertySet(int i) Returns the i-th property set of this property set collection - the i-th search entry of this search result. |
PropertySet |
getPropertySet(java.lang.String dn) Returns the property set identified by dn - the search entry with the given DN |
java.lang.String |
getUniquePropertyValue(java.lang.String propName) Provides a short cut for caller to retrieve value of a specific property from the PropertySetCollection . |
boolean |
isEmpty() Returns true if the property set collection does not contain any property set; false otherwise |
int |
size() Returns the size of the property set collection - the number of search entries in the search result |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertySetCollection(int initSize)
Method Detail |
public final boolean isEmpty()
public final int size()
public final java.lang.String[] getDns()
public final PropertySet getPropertySet(int i)
public final PropertySet getPropertySet(java.lang.String dn)
public java.lang.String getUniquePropertyValue(java.lang.String propName) throws UtilException
Provides a short cut for caller to retrieve value of a specific property from the PropertySetCollection
. The property must be unique among the collection of PropertySet
(s). And it must be a single value attribute/property.
UtilException
- - when the PropertySetCollection is empty - when the specified property does not have value. - when there is more than 1 matching PropertySet. - when the specified property have more than 1 value.
|
Oracle Internet Directory API Reference 10g(9.0.4) B10423-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |