org.netbeans.mdr.persistence
Class Storage.EntryType

java.lang.Object
  extended byorg.netbeans.mdr.persistence.Storage.EntryType
Enclosing class:
Storage

public static class Storage.EntryType
extends java.lang.Object

Type of values and keys stored in index.


Field Summary
static Storage.EntryType INT
          Values are integers.
static Storage.EntryType MOFID
          Values are fixed length alphanumeric strings
static Storage.EntryType STREAMABLE
          Values are objects that implement the Streamable interface.
static Storage.EntryType STRING
          Values are variable length Strings.
 
Constructor Summary
Storage.EntryType()
           
 
Method Summary
static Storage.EntryType decodeEntryType(byte code)
           
static Storage.EntryType decodeEntryType(java.lang.String name)
           
 byte encode()
           
static java.util.Collection getEntryTypes()
          Returns list of all EntryTypes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOFID

public static Storage.EntryType MOFID
Values are fixed length alphanumeric strings


STREAMABLE

public static Storage.EntryType STREAMABLE
Values are objects that implement the Streamable interface. This type of values may not be used by user to create a new index, it is used only in the primary index created by the Storage.


STRING

public static Storage.EntryType STRING
Values are variable length Strings.


INT

public static Storage.EntryType INT
Values are integers.

Constructor Detail

Storage.EntryType

public Storage.EntryType()
Method Detail

getEntryTypes

public static java.util.Collection getEntryTypes()
Returns list of all EntryTypes.

Returns:
Collection view of all available EntryTypes.

decodeEntryType

public static Storage.EntryType decodeEntryType(java.lang.String name)

encode

public byte encode()

decodeEntryType

public static Storage.EntryType decodeEntryType(byte code)


Copyright © 2005 Apache Software Foundation. All Rights Reserved.