Skip navigation links

Oracle Internet Directory API Reference
10g(10.1.4)

B15992-01


oracle.ldap.util
Class PropertySet

java.lang.Object
  extended byoracle.ldap.util.PropertySet

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
VarPropertySet

public class PropertySet
extends java.lang.Object
implements java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
PropertySet(java.lang.String baseDN, javax.naming.directory.SearchResult result)
           

 

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

 

Constructor Detail

PropertySet

public PropertySet(java.lang.String baseDN,
                   javax.naming.directory.SearchResult result)

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 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

Skip navigation links

Oracle Internet Directory API Reference
10g(10.1.4)

B15992-01


Copyright © 1999, 2006 Oracle. All Rights Reserved.