org.neo4j.kernel.impl.storemigration.legacystore
Enum LegacyPropertyType

java.lang.Object
  extended by java.lang.Enum<LegacyPropertyType>
      extended by org.neo4j.kernel.impl.storemigration.legacystore.LegacyPropertyType
All Implemented Interfaces:
Serializable, Comparable<LegacyPropertyType>

public enum LegacyPropertyType
extends Enum<LegacyPropertyType>


Enum Constant Summary
ARRAY
           
BOOL
           
BYTE
           
CHAR
           
DOUBLE
           
FLOAT
           
ILLEGAL
           
INT
           
LONG
           
SHORT
           
SHORT_STRING
           
STRING
           
 
Method Summary
static LegacyPropertyType getPropertyType(int type, boolean nullOnIllegal)
           
abstract  Object getValue(LegacyPropertyRecord record, LegacyDynamicRecordFetcher store)
           
 int intValue()
          Returns an int value representing the type.
static LegacyPropertyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LegacyPropertyType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ILLEGAL

public static final LegacyPropertyType ILLEGAL

INT

public static final LegacyPropertyType INT

STRING

public static final LegacyPropertyType STRING

BOOL

public static final LegacyPropertyType BOOL

DOUBLE

public static final LegacyPropertyType DOUBLE

FLOAT

public static final LegacyPropertyType FLOAT

LONG

public static final LegacyPropertyType LONG

BYTE

public static final LegacyPropertyType BYTE

CHAR

public static final LegacyPropertyType CHAR

ARRAY

public static final LegacyPropertyType ARRAY

SHORT

public static final LegacyPropertyType SHORT

SHORT_STRING

public static final LegacyPropertyType SHORT_STRING
Method Detail

values

public static LegacyPropertyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LegacyPropertyType c : LegacyPropertyType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LegacyPropertyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

intValue

public int intValue()
Returns an int value representing the type.

Returns:
The int value for this property type

getValue

public abstract Object getValue(LegacyPropertyRecord record,
                                LegacyDynamicRecordFetcher store)

getPropertyType

public static LegacyPropertyType getPropertyType(int type,
                                                 boolean nullOnIllegal)


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.