org.neodatis.odb.impl.core.layers.layer3.block
Class BlockTypes

java.lang.Object
  extended by org.neodatis.odb.impl.core.layers.layer3.block.BlockTypes

public class BlockTypes
extends java.lang.Object

All Block Types of the ODB database format.

Author:
osmadja

Field Summary
static byte BLOCK_TYPE_ARRAY_OBJECT
           
static byte BLOCK_TYPE_CLASS_BODY
           
static byte BLOCK_TYPE_CLASS_HEADER
           
static byte BLOCK_TYPE_COLLECTION_OBJECT
           
static byte BLOCK_TYPE_DELETED
           
static byte BLOCK_TYPE_IDS
           
static byte BLOCK_TYPE_INDEX
           
static byte BLOCK_TYPE_MAP_OBJECT
           
static byte BLOCK_TYPE_NATIVE_NULL_OBJECT
           
static byte BLOCK_TYPE_NATIVE_OBJECT
           
static byte BLOCK_TYPE_NON_NATIVE_NULL_OBJECT
           
static byte BLOCK_TYPE_NON_NATIVE_OBJECT
           
static byte BLOCK_TYPE_POINTER
           
 
Constructor Summary
BlockTypes()
           
 
Method Summary
static boolean isClassBody(int blockType)
           
static boolean isClassHeader(int blockType)
           
static boolean isDeletedObject(int blockType)
           
static boolean isIndex(byte blockType)
           
static boolean isNative(int blockType)
           
static boolean isNonNative(int blockType)
           
static boolean isNull(byte blockType)
           
static boolean isNullNativeObject(int blockType)
           
static boolean isNullNonNativeObject(int blockType)
           
static boolean isPointer(int blockType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLOCK_TYPE_CLASS_HEADER

public static final byte BLOCK_TYPE_CLASS_HEADER
See Also:
Constant Field Values

BLOCK_TYPE_CLASS_BODY

public static final byte BLOCK_TYPE_CLASS_BODY
See Also:
Constant Field Values

BLOCK_TYPE_NATIVE_OBJECT

public static final byte BLOCK_TYPE_NATIVE_OBJECT
See Also:
Constant Field Values

BLOCK_TYPE_NON_NATIVE_OBJECT

public static final byte BLOCK_TYPE_NON_NATIVE_OBJECT
See Also:
Constant Field Values

BLOCK_TYPE_POINTER

public static final byte BLOCK_TYPE_POINTER
See Also:
Constant Field Values

BLOCK_TYPE_DELETED

public static final byte BLOCK_TYPE_DELETED
See Also:
Constant Field Values

BLOCK_TYPE_NON_NATIVE_NULL_OBJECT

public static final byte BLOCK_TYPE_NON_NATIVE_NULL_OBJECT
See Also:
Constant Field Values

BLOCK_TYPE_NATIVE_NULL_OBJECT

public static final byte BLOCK_TYPE_NATIVE_NULL_OBJECT
See Also:
Constant Field Values

BLOCK_TYPE_COLLECTION_OBJECT

public static final byte BLOCK_TYPE_COLLECTION_OBJECT
See Also:
Constant Field Values

BLOCK_TYPE_ARRAY_OBJECT

public static final byte BLOCK_TYPE_ARRAY_OBJECT
See Also:
Constant Field Values

BLOCK_TYPE_MAP_OBJECT

public static final byte BLOCK_TYPE_MAP_OBJECT
See Also:
Constant Field Values

BLOCK_TYPE_IDS

public static final byte BLOCK_TYPE_IDS
See Also:
Constant Field Values

BLOCK_TYPE_INDEX

public static final byte BLOCK_TYPE_INDEX
See Also:
Constant Field Values
Constructor Detail

BlockTypes

public BlockTypes()
Method Detail

isClassHeader

public static boolean isClassHeader(int blockType)

isClassBody

public static boolean isClassBody(int blockType)

isPointer

public static boolean isPointer(int blockType)

isNullNativeObject

public static boolean isNullNativeObject(int blockType)

isNullNonNativeObject

public static boolean isNullNonNativeObject(int blockType)

isDeletedObject

public static boolean isDeletedObject(int blockType)

isNative

public static boolean isNative(int blockType)

isNonNative

public static boolean isNonNative(int blockType)

isNull

public static boolean isNull(byte blockType)

isIndex

public static boolean isIndex(byte blockType)