2009-01-09 1.2.0

org.eclipse.soda.dk.parameter
Class VariableListParameters

java.lang.Object
  extended by org.eclipse.soda.dk.parameter.Parameters
      extended by org.eclipse.soda.dk.parameter.MapParameters
          extended by org.eclipse.soda.dk.parameter.VariableListParameters
All Implemented Interfaces:
DataParameterService, ParameterService

public class VariableListParameters
extends MapParameters
implements ParameterService

Version:
1.2.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.parameter.MapParameters
offset
 
Fields inherited from class org.eclipse.soda.dk.parameter.Parameters
parameters
 
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
VariableListParameters(java.lang.String key, ParameterService[] parameters)
          Constructs an instance of this class from the specified key and parameters parameters.
VariableListParameters(java.lang.String key, ParameterService[] parameters, int offset)
          Constructs an instance of this class from the specified key, parameters and offset parameters.
 
Method Summary
 java.lang.Object decodeValue(MessageService message, ParameterCursorService cursor)
          Perform the decodeValue method and return the Object result.
 MessageService encodeValue(MessageService message, java.lang.Object value, ParameterCursorService cursor)
          Perform the encodeValue method and return the MessageService result.
 boolean more(MessageService message, ParameterCursorService cursor)
          More with the specified message and cursor parameters and return the boolean result.
 
Methods inherited from class org.eclipse.soda.dk.parameter.MapParameters
getOffset, setOffset
 
Methods inherited from class org.eclipse.soda.dk.parameter.Parameters
decode, decodeValue, encode, encodeValue, equals, getKey, getLength, getParameters, hashCode, isConstantParameter, setKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService
decodeValue, encodeValue, getKey, isConstantParameter
 
Methods inherited from interface org.eclipse.soda.dk.data.parameter.service.DataParameterService
decode, encode
 

Constructor Detail

VariableListParameters

public VariableListParameters(java.lang.String key,
                              ParameterService[] parameters)
Constructs an instance of this class from the specified key and parameters parameters.

Parameters:
key - The key (String) parameter.
parameters - The parameters (ParameterService[]) parameter.
See Also:
VariableListParameters(String,ParameterService[],int)

VariableListParameters

public VariableListParameters(java.lang.String key,
                              ParameterService[] parameters,
                              int offset)
Constructs an instance of this class from the specified key, parameters and offset parameters.

Parameters:
key - The key (String) parameter.
parameters - The parameters (ParameterService[]) parameter.
offset - The offset (int) parameter.
See Also:
VariableListParameters(String,ParameterService[])
Method Detail

decodeValue

public java.lang.Object decodeValue(MessageService message,
                                    ParameterCursorService cursor)
Perform the decodeValue method and return the Object result.

Specified by:
decodeValue in interface ParameterService
Overrides:
decodeValue in class MapParameters
Parameters:
message - The message (MessageService) parameter.
cursor - The cursor (ParameterCursorService) parameter.
Returns:
Results of the decode value (Object) value.
See Also:
encodeValue(MessageService,Object,ParameterCursorService)

encodeValue

public MessageService encodeValue(MessageService message,
                                  java.lang.Object value,
                                  ParameterCursorService cursor)
Perform the encodeValue method and return the MessageService result.

Specified by:
encodeValue in interface ParameterService
Overrides:
encodeValue in class MapParameters
Parameters:
message - The message (MessageService) parameter.
value - The value (Object) parameter.
cursor - The cursor (ParameterCursorService) parameter.
Returns:
Results of the encode value (MessageService) value.
See Also:
decodeValue(MessageService,ParameterCursorService)

more

public boolean more(MessageService message,
                    ParameterCursorService cursor)
More with the specified message and cursor parameters and return the boolean result.

Parameters:
message - The message (MessageService) parameter.
cursor - The cursor (ParameterCursorService) parameter.
Returns:
Results of the more (boolean) value.

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.