Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.ldap.util
Class Property

java.lang.Object
  extended by oracle.ldap.util.Property

All Implemented Interfaces:
java.io.Serializable

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

This class represents a particular property in a PropertySet. In other words, it represents a particular attribute of an entry's attribute set.

See Also:
Serialized Form

Method Summary
 java.lang.String getName()
          Returns the name of this property - the name of the attribute this property represents.
 java.lang.Object getValue(int i)
          Returns the i-th value of this property - the i-th attribute value.
 int size()
          Returns the size of this property - the number of values of the returned attribute

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

size

public final int size()
Returns the size of this property - the number of values of the returned attribute
Returns:
an int indicating the number of values belonging to this property; it can return 0.

getName

public final java.lang.String getName()
Returns the name of this property - the name of the attribute this property represents.
Returns:
a String representing the name of this property.

getValue

public final java.lang.Object getValue(int i)
Returns the i-th value of this property - the i-th attribute value. An Object is returned. The user must type-cast this appropriately
Parameters:
i - the index of the value to be retrieved
Returns:
the i-th value of this property

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.