org.openfast.template.type
Class UnsignedIntegerType

java.lang.Object
  extended by org.openfast.template.type.Type
      extended by org.openfast.template.type.SimpleType
          extended by org.openfast.template.type.IntegerType
              extended by org.openfast.template.type.UnsignedIntegerType
All Implemented Interfaces:
java.io.Serializable

public class UnsignedIntegerType
extends IntegerType

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openfast.template.type.IntegerType
maxValue, minValue
 
Fields inherited from class org.openfast.template.type.Type
ALL_TYPES, ASCII, BYTE_VECTOR, DECIMAL, I16, I32, I64, I8, INTEGER_TYPES, STRING, U16, U32, U64, U8, UNICODE
 
Constructor Summary
UnsignedIntegerType(int numberBits, long maxValue)
           
 
Method Summary
 TypeCodec getCodec(Operator operator, boolean optional)
          Get the approprivate codec for the passed operator
 
Methods inherited from class org.openfast.template.type.IntegerType
getDefaultValue, getVal, isValueOf, validateValue
 
Methods inherited from class org.openfast.template.type.SimpleType
getValue
 
Methods inherited from class org.openfast.template.type.Type
equals, getName, getRegisteredTypeMap, getType, hashCode, serialize, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsignedIntegerType

public UnsignedIntegerType(int numberBits,
                           long maxValue)
Method Detail

getCodec

public TypeCodec getCodec(Operator operator,
                          boolean optional)
Get the approprivate codec for the passed operator

Overrides:
getCodec in class SimpleType
Parameters:
operator - The operator object in which the codec is trying to get
optional - Determines if the Field is required or not for the data
Returns:
Returns the codec if the field is required


Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.