|
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.BaseParameter
org.eclipse.soda.dk.parameter.BaseKeyParameter
org.eclipse.soda.dk.parameter.MultiParameter
public class MultiParameter
| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
key |
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
BIT_MASKS, MASKS, SET_MASKS, SET_TOP_MASKS |
| 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 | |
|---|---|
MultiParameter()
Constructs an instance of this class. |
|
MultiParameter(java.lang.String key)
Constructs an instance of this class from the specified key parameter. |
|
MultiParameter(java.lang.String key,
ParameterService[] parameters)
Constructs an instance of this class from the specified key and parameters parameters. |
|
MultiParameter(java.lang.String key,
ParameterService[] parameters,
ParameterService countBlock)
Constructs an instance of this class from the specified key, count block and parameter parameters. |
|
| Method Summary | |
|---|---|
java.lang.Object |
decodeValue(MessageService message,
ParameterCursorService cursor)
Decode value with the specified message and cursor parameters and return the Object result. |
java.lang.Object |
decodeValue(MessageService message,
ParameterCursorService cursor,
int start,
int count)
Decode value with the specified message, cursor, start and count parameters and return the Object result. |
MessageService |
encodeValue(MessageService message,
java.lang.Object value,
ParameterCursorService cursor)
Encode value with the specified message, value and cursor parameters and return the MessageService result. |
MessageService |
encodeValue(MessageService result,
java.lang.Object value,
ParameterCursorService cursor,
int start,
int count)
Encode value with the specified result, value, cursor, start and count parameters and return the MessageService result. |
MessageService |
encodeValueList(MessageService result,
java.util.List value,
ParameterCursorService cursor)
Encode value list with the specified result, value and cursor parameters and return the MessageService result. |
ParameterService |
getCountBlock()
Gets the count block (ParameterService) value. |
ParameterService[] |
getParameters()
Gets the parameter (ParameterService) value. |
boolean |
needsCursor()
Needs cursor and return the boolean result. |
void |
setCountBlock(ParameterService countBlock)
Sets the count block value. |
void |
setParameters(ParameterService[] parameters)
Sets the parameter value. |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
getKey, setKey |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
createCursorChild, decode, decodeBytes, decodeEnd, decodeString, decodeValue, encode, encodeBytes, encodeData, encodeString, encodeValue, expand, expand, getAbsoluteOffset, getBytes, getDefaultStyle, getLength, getLength, getLittleEndianLong, getLong, getOffset, getOffsetAbsolute, getOffsetDefault, getOffsetLength, getOffsetValue, getUnsignedInteger, getUnsignedLittleEndianLong, getUnsignedLittleEngianLong, getUnsignedLong, isConstantParameter, isInsert, isInsert, setBits, setBits, setBits, setBitsLittleEngian, setBytes, setBytes, setBytes, setBytesLittleEndian, updateCursor, updateCursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MultiParameter()
MultiParameter(String),
MultiParameter(String,ParameterService[]),
MultiParameter(String,ParameterService[],ParameterService)public MultiParameter(java.lang.String key)
key - The key (String) parameter.MultiParameter(),
MultiParameter(String,ParameterService[]),
MultiParameter(String,ParameterService[],ParameterService)
public MultiParameter(java.lang.String key,
ParameterService[] parameters)
key - The key (String) parameter.parameters - The parameters (ParameterService[]) parameter.MultiParameter(),
MultiParameter(String),
MultiParameter(String,ParameterService[],ParameterService)
public MultiParameter(java.lang.String key,
ParameterService[] parameters,
ParameterService countBlock)
key - The key (String) parameter.parameters - The parameters (ParameterService[]) parameter.countBlock - The count block (ParameterService) parameter.MultiParameter(),
MultiParameter(String),
MultiParameter(String,ParameterService[])| Method Detail |
|---|
public java.lang.Object decodeValue(MessageService message,
ParameterCursorService cursor)
decodeValue in interface ParameterServicedecodeValue in class BaseParametermessage - The message (MessageService) parameter.cursor - The cursor (ParameterCursorService) parameter.
Object) value.decodeValue(MessageService,ParameterCursorService,int,int),
encodeValue(MessageService,Object,ParameterCursorService),
encodeValue(MessageService,Object,ParameterCursorService,int,int)
public java.lang.Object decodeValue(MessageService message,
ParameterCursorService cursor,
int start,
int count)
message - The message (MessageService) parameter.cursor - The cursor (ParameterCursorService) parameter.start - The start (int) parameter.count - The count (int) parameter.
Object) value.decodeValue(MessageService,ParameterCursorService),
encodeValue(MessageService,Object,ParameterCursorService),
encodeValue(MessageService,Object,ParameterCursorService,int,int)
public MessageService encodeValue(MessageService message,
java.lang.Object value,
ParameterCursorService cursor)
encodeValue in interface ParameterServiceencodeValue in class BaseParametermessage - The message (MessageService) parameter.value - The value (Object) parameter.cursor - The cursor (ParameterCursorService) parameter.
MessageService) value.decodeValue(MessageService,ParameterCursorService),
decodeValue(MessageService,ParameterCursorService,int,int),
encodeValue(MessageService,Object,ParameterCursorService,int,int)
public MessageService encodeValue(MessageService result,
java.lang.Object value,
ParameterCursorService cursor,
int start,
int count)
result - The result (MessageService) parameter.value - The value (Object) parameter.cursor - The cursor (ParameterCursorService) parameter.start - The start (int) parameter.count - The count (int) parameter.
MessageService) value.decodeValue(MessageService,ParameterCursorService),
decodeValue(MessageService,ParameterCursorService,int,int),
encodeValue(MessageService,Object,ParameterCursorService)
public MessageService encodeValueList(MessageService result,
java.util.List value,
ParameterCursorService cursor)
result - The result (MessageService) parameter.value - The value (List) parameter.cursor - The cursor (ParameterCursorService) parameter.
MessageService) value.public ParameterService getCountBlock()
ParameterService) value.setCountBlock(ParameterService)public ParameterService[] getParameters()
ParameterService) value.setParameters(ParameterService[])public boolean needsCursor()
needsCursor in class BaseParameterboolean) value.BaseParameter.updateCursor(ParameterCursorService),
BaseParameter.updateCursor(ParameterCursorService,int)public void setCountBlock(ParameterService countBlock)
countBlock - The count block (ParameterService) parameter.getCountBlock()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 | |||||||||