|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.ldapadapter.appconn.STCAttributeImpl
public class STCAttributeImpl
This class is used as a container for a single attribute and its values
| Constructor Summary | |
|---|---|
protected |
STCAttributeImpl()
|
protected |
STCAttributeImpl(javax.naming.directory.Attribute attr)
Creates a new instance of STCAttribute |
| Method Summary | |
|---|---|
int |
countSTCValue()
Returns the number of values for this attribute |
java.lang.String |
getName()
Method to retrieve the name of the attribute |
STCValues |
getSTCValues()
Method to retrieve the list of values of the attribute |
void |
reset()
Method to reset the values |
STCValue |
retrieveSTCValue(int j)
Returns the value of the attribute at the specified index from the array of values |
void |
setName(java.lang.String name)
Method to set the name of the attribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected STCAttributeImpl()
protected STCAttributeImpl(javax.naming.directory.Attribute attr)
throws javax.naming.NamingException
attr - the Attribute object
javax.naming.NamingException - if an error occurs while retrieving the values of the attribute| Method Detail |
|---|
public void reset()
reset in interface STCAttributepublic STCValues getSTCValues()
getSTCValues in interface STCAttributepublic java.lang.String getName()
getName in interface STCAttributepublic void setName(java.lang.String name)
setName in interface STCAttributename - the name of the attributepublic int countSTCValue()
countSTCValue in interface STCAttribute
public STCValue retrieveSTCValue(int j)
throws java.lang.IndexOutOfBoundsException
retrieveSTCValue in interface STCAttributej - the index of the value to be returned
java.lang.IndexOutOfBoundsException - if the index specified is not in range
|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||