oracle.ldap.util
Class PropertySet

java.lang.Object
  |
  +--oracle.ldap.util.PropertySet

public class PropertySet
extends java.lang.Object

This class represents a particular PropertySet in a PropertySetCollection. In other words, it represents a particular search result entry from a collection of search results


Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEmpty

public final boolean isEmpty()
Returns true if the property set does not contain any properties; false otherwise
Returns:
boolean indicating whether the property set is empty or not

size

public final int size()
Returns the size of this property set - the number of returned attributes for this particular search result entry
Returns:
an int indicating the number of properties belonging to this property set; it can return 0.

getAttributeNames

public final 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.
Returns:
a String array containing all the property names.

getProperty

public final Property getProperty(int i)
Returns the i-th property of this property set - the i-th attribute of this search entry.
Parameters:
i - the index of the property to be retrieved
Returns:
a Property representing the i-th property.

getProperty

public final Property getProperty(java.lang.String attrID)
Returns the property identified by the attrID - the attrID is the attribute name
Parameters:
attrID - the attribute name to be retrieved
Returns:
a Property with attribute name attrID.

getDN

public final java.lang.String getDN()
Returns the name of this property set - the DN of the search entry represented by this property set
Returns:
a String representing the DN of the property set