|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 attributeMethod Detail |
---|
public void reset()
reset
in interface STCAttribute
public STCValues getSTCValues()
getSTCValues
in interface STCAttribute
public java.lang.String getName()
getName
in interface STCAttribute
public void setName(java.lang.String name)
setName
in interface STCAttribute
name
- the name of the attributepublic int countSTCValue()
countSTCValue
in interface STCAttribute
public STCValue retrieveSTCValue(int j) throws java.lang.IndexOutOfBoundsException
retrieveSTCValue
in interface STCAttribute
j
- 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 |