1.0.0

org.eclipse.soda.dk.parameter
Class ListParameters

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.ListParameters
All Implemented Interfaces:
DataParameterService, ParameterService

public class ListParameters
extends MapParameters
implements ParameterService

Version:
1.0.0

Field Summary
 
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, SHORT, STRING, UNSIGNED
 
Constructor Summary
ListParameters(java.lang.String key, ParameterService[] parameters)
          Constructs an instance of this class from the specified key and parameters parameters.
 
Method Summary
 java.lang.Object decodeValue(MessageService message)
          Perform the decodeValue method and return the Object result.
 MessageService encodeValue(MessageService message, java.lang.Object value)
          Perform the encodeValue method and return the MessageService result.
 
Methods inherited from class org.eclipse.soda.dk.parameter.Parameters
decode, encode, equals, getKey, getParameters, hashCode, 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
getKey
 
Methods inherited from interface org.eclipse.soda.dk.data.parameter.service.DataParameterService
decode, encode
 

Constructor Detail

ListParameters

public ListParameters(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.
Method Detail

decodeValue

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

Specified by:
decodeValue in interface ParameterService
Overrides:
decodeValue in class MapParameters
Parameters:
message - org.eclipse.soda.dk.message.service.MessageService
Returns:
Results of the decode value (Object) value.
See Also:
ParameterService.decodeValue(org.eclipse.soda.dk.message.service.MessageService), encodeValue(MessageService,Object)

encodeValue

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

Specified by:
encodeValue in interface ParameterService
Overrides:
encodeValue in class MapParameters
Parameters:
message - org.eclipse.soda.dk.message.service.MessageService
value - java.lang.Object
Returns:
Results of the encode value (MessageService) value.
See Also:
ParameterService.encodeValue(org.eclipse.soda.dk.message.service.MessageService, java.lang.Object), decodeValue(MessageService)

1.0.0

Copyright (c) 1999, 2007 IBM