|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface STCValue
STC Value interface used for storing the actual value of an attribute's value.
| Method Summary | |
|---|---|
byte[] |
getByteValue()
Retrieves the value from the value Object as a byte array |
java.lang.String |
getStringValue()
Retrieves the String value from the value Object |
java.lang.Object |
getValue()
Returns the value from the value Object as an Object |
boolean |
isByteArray()
Checks whether the value is a byte array |
boolean |
isString()
Checks whether the value is a String |
void |
reset()
Method to reset the values |
void |
setByteValue(byte[] byteVal)
Sets the byte value for the value Object |
void |
setStringValue(java.lang.String strVal)
Sets the String value for the value Object |
void |
setValue(java.lang.Object val)
Sets the value for the value Object as an Object |
| Method Detail |
|---|
boolean isByteArray()
throws LDAPApplicationException
LDAPApplicationException - if the type of the value cannot be determined
boolean isString()
throws LDAPApplicationException
LDAPApplicationException - if the type of the value cannot be determined
java.lang.String getStringValue()
throws LDAPApplicationException
LDAPApplicationException - if the value is not of type String or if there
is no valuevoid setStringValue(java.lang.String strVal)
strVal - the String value of the value Object
byte[] getByteValue()
throws LDAPApplicationException
LDAPApplicationException - if the value is not of type byte array or if there
is no valuevoid setByteValue(byte[] byteVal)
byteVal - the String value of the value Object
void setValue(java.lang.Object val)
throws LDAPApplicationException
val - the value of the value Object as an Object
LDAPApplicationException - if the value is not of one of the supported types
java.lang.Object getValue()
throws LDAPApplicationException
LDAPApplicationException - if there is no valuevoid reset()
|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||