com.soscompany.utils
Class Field

java.lang.Object
  extended by com.soscompany.utils.Field
Direct Known Subclasses:
ConstLengthField, MatrixField, VariableLengthField

public class Field
extends java.lang.Object


Field Summary
 int bitsCount
           
 java.lang.String name
           
 BitsStructure structure
           
 java.lang.String type
           
 
Constructor Summary
Field()
           
 
Method Summary
 boolean equals(long value)
           
 void get()
           
 int getNumberOfBits()
           
 long getValue()
           
 boolean isEmpty()
           
 void revertBytes()
           
 void set(long value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name

type

public java.lang.String type

structure

public BitsStructure structure

bitsCount

public int bitsCount
Constructor Detail

Field

public Field()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

get

public void get()
         throws java.lang.Exception
Throws:
java.lang.Exception

set

public void set(long value)

getValue

public long getValue()

equals

public boolean equals(long value)
               throws java.lang.Exception
Throws:
java.lang.Exception

isEmpty

public boolean isEmpty()

getNumberOfBits

public int getNumberOfBits()
                    throws java.lang.Exception
Throws:
java.lang.Exception

revertBytes

public void revertBytes()