|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.parameter.Parameters
public class Parameters
| Field Summary | |
|---|---|
protected ParameterService[] |
parameters
Define the parameters (ParameterService[]) field. |
| Fields inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService |
|---|
ARRAY, ASCII, ASCIIZ, BOOLEAN, BYTE, BYTES, DOUBLE, FLOAT, HEXASCII, HEXSTRING, INSERT, INTEGER, LITTLEENDIAN, LONG, NASCII, NSTRING, NULL, SERVICE_NAME, SHORT, STRING, UNLIMITED, UNSIGNED, USE_CURSOR, USE_CURSOR_INSERT |
| Constructor Summary | |
|---|---|
Parameters(java.lang.String key,
ParameterService[] parameters)
Constructs an instance of this class from the specified key and parameters parameters. |
|
| Method Summary | |
|---|---|
java.lang.Object |
decode(java.lang.Object container)
Decode with the specified container parameter and return the Object result. |
java.lang.Object |
decodeValue(MessageService message)
Decode value with the specified message parameter and return the Object result. |
java.lang.Object |
decodeValue(MessageService message,
ParameterCursorService cursor)
Perform the decodeValue method and return the Object
result. |
java.lang.Object |
encode(java.lang.Object container,
java.lang.Object data)
Encode with the specified container and data parameters and return the Object result. |
MessageService |
encodeValue(MessageService message,
java.lang.Object value)
Encode value with the specified message and value parameters and return the MessageService result. |
MessageService |
encodeValue(MessageService message,
java.lang.Object value,
ParameterCursorService cursor)
Perform the encodeValue method and return the MessageService
result. |
boolean |
equals(java.lang.Object obj)
Compares two objects for equality. |
java.lang.String |
getKey()
Gets the key (String) value. |
int |
getLength(MessageService message,
ParameterCursorService cursor)
Get length with the specified message and cursor parameters and return the int result. |
ParameterService[] |
getParameters()
Gets the parameters (ParameterService[]) value. |
int |
hashCode()
Generates a hash code for the receiver. |
boolean |
isConstantParameter()
Gets the constant parameter (boolean) value. |
void |
setKey(java.lang.String key)
Sets the key value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ParameterService[] parameters
| Constructor Detail |
|---|
public Parameters(java.lang.String key,
ParameterService[] parameters)
key - The key (String) parameter.parameters - The parameters (ParameterService[]) parameter.getParameters()| Method Detail |
|---|
public java.lang.Object decode(java.lang.Object container)
decode in interface DataParameterServicecontainer - The container (Object) parameter.
Object) value.public java.lang.Object decodeValue(MessageService message)
decodeValue in interface ParameterServicemessage - The message (MessageService) parameter.
Object) value.decodeValue(MessageService,ParameterCursorService),
encodeValue(MessageService,Object),
encodeValue(MessageService,Object,ParameterCursorService)
public java.lang.Object decodeValue(MessageService message,
ParameterCursorService cursor)
Object
result.
decodeValue in interface ParameterServicemessage - The message (MessageService) parameter.cursor - The cursor (ParameterCursorService) parameter.
Object) value.decodeValue(MessageService),
encodeValue(MessageService,Object),
encodeValue(MessageService,Object,ParameterCursorService)
public java.lang.Object encode(java.lang.Object container,
java.lang.Object data)
encode in interface DataParameterServicecontainer - The container (Object) parameter.data - The data (Object) parameter.
Object) value.
public MessageService encodeValue(MessageService message,
java.lang.Object value)
encodeValue in interface ParameterServicemessage - The message (MessageService) parameter.value - The value (Object) parameter.
MessageService)
value.decodeValue(MessageService),
decodeValue(MessageService,ParameterCursorService),
encodeValue(MessageService,Object,ParameterCursorService)
public MessageService encodeValue(MessageService message,
java.lang.Object value,
ParameterCursorService cursor)
MessageService
result.
encodeValue in interface ParameterServicemessage - The message (MessageService) parameter.value - The value (Object) parameter.cursor - The cursor (ParameterCursorService) parameter.
MessageService)
value.decodeValue(MessageService),
decodeValue(MessageService,ParameterCursorService),
encodeValue(MessageService,Object)public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The obj (Object) parameter.
Hashtablepublic java.lang.String getKey()
getKey in interface ParameterServiceString) value.setKey(String)
public int getLength(MessageService message,
ParameterCursorService cursor)
message - The message (MessageService) parameter.cursor - The cursor (ParameterCursorService) parameter.
int) value.public ParameterService[] getParameters()
ParameterService[]) value.Parameters(String,ParameterService[])public int hashCode()
hashCode in class java.lang.ObjectHashtablepublic boolean isConstantParameter()
isConstantParameter in interface ParameterServiceboolean) value.public void setKey(java.lang.String key)
key - The key (String) parameter.getKey()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||