1.0.0

org.eclipse.soda.dk.parameter
Class SimpleIntegerParameter

java.lang.Object
  extended by org.eclipse.soda.dk.core.EscObject
      extended by org.eclipse.soda.dk.parameter.Parameter
          extended by org.eclipse.soda.dk.parameter.SimpleParameter
              extended by org.eclipse.soda.dk.parameter.SimpleIntegerParameter
All Implemented Interfaces:
DataParameterService, ParameterService

public class SimpleIntegerParameter
extends SimpleParameter

Version:
1.0.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.parameter.Parameter
MASKS, SET_MASKS, SET_TOP_MASKS
 
Fields inherited from class org.eclipse.soda.dk.core.EscObject
CLONE_EXCEPTION_RESOURCE, EMPTY_BYTES, EMPTY_STRING, ERROR_OCCURRED_EXCEPTION_RESOURCE, ID_FILTER_KEY, ID_KEY, ID_KEY_ANY, INTEGER_TABLE, KEY_KEY, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_TRACE, LOG_WARNING, PREFIX_KEY, RESOURCE_BUNDLE, SLEEP_EXCEPTION_RESOURCE, SYSTEM_INFO_RESOURCE, TO_STRING_CONFIGURATION_KEYS, TRACE_LEVEL_HIGH, TRACE_LEVEL_LOW, TRACE_LEVEL_MAX, TRACE_LEVEL_MIN, TRACE_LEVEL_NONE, TRACE_LEVEL_NORMAL, TRACELEVEL_KEY, UNKNOWN_ERROR_RESOURCE
 
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
SimpleIntegerParameter(java.lang.String key, TransformService transform, int index, int size)
          Constructor for SimpleIntegerParameter using the input parameter(s).
SimpleIntegerParameter(java.lang.String key, TransformService transform, int index, int size, short style)
          Constructor for SimpleIntegerParameter using the input parameter(s).
 
Method Summary
 java.lang.Object decodeMessage(MessageService message)
          Perform the decodeMessage method and return the Object result.
 MessageService encodeMessage(MessageService message, java.lang.Object value, int offset)
          Perform the encodeMessage method and return the MessageService result.
 
Methods inherited from class org.eclipse.soda.dk.parameter.SimpleParameter
decodeBytes, decodeBytes, decodeDouble, decodeDoubleObject, decodeFloat, decodeFloatObject, decodeInt, decodeIntegerObject, decodeLong, decodeLongObject, decodeShortObject, encodeBytes, encodeBytes, encodeInt, encodeIntObject, encodeLong, encodeLongObject, encodeMessage, encodeShort, encodeShortObject, expand, getIndex, getInt, getLong, getMask, getShort, getSize, insert, setIndex
 
Methods inherited from class org.eclipse.soda.dk.parameter.Parameter
decode, decodeEnd, decodeString, decodeValue, encode, encodeBegin, encodeString, encodeValue, equals, getDefaultStyle, getKey, getLong, getStyle, getTransform, getTypeStyle, isArray, isInsert, isLittleEndian, isUnsigned, setBits, setKey, setStyle, setTransform
 
Methods inherited from class org.eclipse.soda.dk.core.EscObject
attemptRecoveryFromError, createDefaultLogService, createException, createException, createInteger, createIntegerTable, createNumber, format, getBoolean, getConfigurationService, getCurrentTimestamp, getDefaultLogService, getDefaultResource, getErrorSeverity, getFloat, getInt, getLoadLibraryName, getLogDetails, getLogDetails0, getLogDetails1, getLogDetails2, getLogDetails3, getLogDetails4, getLogDetails5, getLogDetails6, getLogDetails7, getLogService, getLong, getObject, getOutputName, getResource, getSimpleClassName, getStaticBoolean, getStaticFloat, getStaticInt, getStaticLong, getStaticObject, getStaticString, getString, getTraceLevel, getVmLibraryVersion, handleError, handleError, handleError, handleStaticError, handleStaticException, isDebug, isTrace, loadService, log, log, report, report, report, report, report, report, reportError, reportSystemInfo, setDebug, setDefaultLogService, setLogService, setTraceLevel, shouldLog, sleep, startupEscStatic, toString, toStringConfigurationKeys, toStringInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleIntegerParameter

public SimpleIntegerParameter(java.lang.String key,
                              TransformService transform,
                              int index,
                              int size,
                              short style)
Constructor for SimpleIntegerParameter using the input parameter(s).

Parameters:
key - The key (String) parameter.
transform - The transform (TransformService) parameter.
index - The index (int) parameter.
size - The size (int) parameter.
style - The style (short) parameter.
See Also:
SimpleIntegerParameter(String,TransformService,int,int)

SimpleIntegerParameter

public SimpleIntegerParameter(java.lang.String key,
                              TransformService transform,
                              int index,
                              int size)
Constructor for SimpleIntegerParameter using the input parameter(s).

Parameters:
key - The key (String) parameter.
transform - The transform (TransformService) parameter.
index - The index (int) parameter.
size - The size (int) parameter.
See Also:
SimpleIntegerParameter(String,TransformService,int,int,short)
Method Detail

decodeMessage

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

Overrides:
decodeMessage in class SimpleParameter
Parameters:
message - org.eclipse.soda.dk.message.service.MessageService
Returns:
Results of the decode message (Object) value.
See Also:
encodeMessage(MessageService,Object,int)

encodeMessage

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

Overrides:
encodeMessage in class SimpleParameter
Parameters:
message - org.eclipse.soda.dk.message.service.MessageService
value - java.lang.Object
offset - int
Returns:
Results of the encode message (MessageService) value.
See Also:
decodeMessage(MessageService)

1.0.0

Copyright (c) 1999, 2007 IBM