|
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.core.EscObject
org.eclipse.soda.dk.parameter.ComplexStreamParameter
public class ComplexStreamParameter
The OffsetParameter class implements the ParameterService interface.
Parameter,
ParameterService| Field Summary | |
|---|---|
protected java.lang.String |
key
Define the key (String) field. |
protected ParameterService[] |
parameters
Define the parameters (ParameterService[]) field. |
| Constructor Summary | |
|---|---|
ComplexStreamParameter(java.lang.String key,
ParameterService[] parameters)
Constructs an instance of this class from the specified key, offset and length parameters. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
decodeMessage(MessageService message,
ParameterCursorService cursor)
Perform the decodeMessage method and return the Object
result. |
MessageService |
encodeMessage(MessageService message,
java.lang.Object value,
int offset,
ParameterCursorService cursor)
Perform the encodeMessage method and return the MessageService result. |
java.lang.String |
getKey()
Gets the key (String) value. |
ParameterService[] |
getParameters()
Gets the parameters (ParameterService[]) value. |
boolean |
isConstantParameter()
Gets the constant parameter (boolean) value. |
void |
setKey(java.lang.String key)
Sets the key value. |
void |
setParameters(ParameterService[] parameters)
Sets the parameters value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ParameterService[] parameters
protected java.lang.String key
| Constructor Detail |
|---|
public ComplexStreamParameter(java.lang.String key,
ParameterService[] parameters)
key - The key (String) parameter.parameters - The parameters (ParameterService[]) parameter.| Method Detail |
|---|
protected java.lang.Object decodeMessage(MessageService message,
ParameterCursorService cursor)
Object
result.
message - The message (MessageService) parameter.cursor - The cursor (ParameterCursorService) parameter.
Object) value.encodeMessage(MessageService,Object,int,ParameterCursorService)
public MessageService encodeMessage(MessageService message,
java.lang.Object value,
int offset,
ParameterCursorService cursor)
MessageService result.
message - The message (MessageService) parameter.value - The value (Object) parameter.offset - The offset (int) parameter.cursor - The cursor (ParameterCursorService) parameter.
MessageService)
value.decodeMessage(MessageService,ParameterCursorService)public java.lang.String getKey()
String) value.setKey(String)public ParameterService[] getParameters()
ParameterService[]) value.setParameters(ParameterService[])public boolean isConstantParameter()
boolean) value.public void setKey(java.lang.String key)
key - The key (String) parameter.getKey()public void setParameters(ParameterService[] parameters)
parameters - The parameters (ParameterService[]) parameter.getParameters()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||