|
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.STCValueImpl
public class STCValueImpl
This class is used as a container for a single value of an attribute's value
| Constructor Summary | |
|---|---|
protected |
STCValueImpl()
|
protected |
STCValueImpl(java.lang.Object aVal)
Creates a new instance of STCValue |
| 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 aVal)
Sets the value for the value Object as an Object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected STCValueImpl()
protected STCValueImpl(java.lang.Object aVal)
val - the value as an Object| Method Detail |
|---|
public void reset()
STCValue
reset in interface STCValue
public boolean isByteArray()
throws LDAPApplicationException
isByteArray in interface STCValueLDAPApplicationException - if the type of the value cannot be determined
public boolean isString()
throws LDAPApplicationException
isString in interface STCValueLDAPApplicationException - if the type of the value cannot be determined
public java.lang.String getStringValue()
throws LDAPApplicationException
getStringValue in interface STCValueLDAPApplicationException - if the value is not of type String or if there
is no valuepublic void setStringValue(java.lang.String strVal)
setStringValue in interface STCValuestrVal - the String value of the value Object
public byte[] getByteValue()
throws LDAPApplicationException
getByteValue in interface STCValueLDAPApplicationException - if the value is not of type byte array or if there
is no valuepublic void setByteValue(byte[] byteVal)
setByteValue in interface STCValuebyteVal - the String value of the value Object
public void setValue(java.lang.Object aVal)
throws LDAPApplicationException
setValue in interface STCValueval - the value of the value Object as an Object
LDAPApplicationException - if the value is not of one of the supported types
public java.lang.Object getValue()
throws LDAPApplicationException
getValue in interface STCValueLDAPApplicationException - if there is no value
|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||