|
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.ResultImpl
public class ResultImpl
This class is used as a container to package a single result that is fetched from a search operation. It contains the entry name and its attributes.
| Constructor Summary | |
|---|---|
protected |
ResultImpl()
|
protected |
ResultImpl(javax.naming.directory.SearchResult sr)
Creates a new instance of Result |
| Method Summary | |
|---|---|
int |
countSTCAttribute()
Gets the number of attributes available. |
java.lang.String |
getName()
Get the name of the current result. |
STCAttributes |
getSTCAttributes()
Get the collection of attributes. |
void |
reset()
Method to reset the values |
STCAttribute |
retrieveSTCAttribute(int i)
Gets the attribute specified by the index position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ResultImpl()
protected ResultImpl(javax.naming.directory.SearchResult sr)
throws javax.naming.NamingException
app - The LDAP client application associated with this Result
instance.
javax.naming.NamingException| Method Detail |
|---|
public void reset()
Result
reset in interface Resultpublic java.lang.String getName()
getName in interface Resultpublic STCAttributes getSTCAttributes()
getSTCAttributes in interface Result
public STCAttribute retrieveSTCAttribute(int i)
throws java.lang.IndexOutOfBoundsException
retrieveSTCAttribute in interface Resulti - The integer index specifying the position of the
attribute to return.
java.lang.IndexOutOfBoundsException - if index i < 0 || index i > countAttributes()public int countSTCAttribute()
countSTCAttribute in interface Result
|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||