org.apache.jackrabbit.uuid
Interface Constants

All Known Implementing Classes:
UUID, VersionFourGenerator

Deprecated. This class will be removed in Jackrabbit 2.0.

public interface Constants

Constant values commonly needed in the uuid classes.

Copied from the Jakarta Commons-Id project

todo remove and use official commons-id release as soon as it is available


Field Summary
static short CLOCK_SEQ_HI_AND_RESERVED_BYTE_8
          Deprecated. Byte position of the clock sequence and reserved field
static int FORMAT_POSITION1
          Deprecated. Insertion point 1 for dashes in the string format
static int FORMAT_POSITION2
          Deprecated. Insertion point 2 for dashes in the string format
static int FORMAT_POSITION3
          Deprecated. Insertion point 3 for dashes in the string format
static int FORMAT_POSITION4
          Deprecated. Insertion point 4 for dashes in the string format
static char[] hexDigits
          Deprecated. XXX added by stefan@apache.org: hexdigits for converting numerics to hex
static short TIME_HI_AND_VERSION_BYTE_6
          Deprecated. Byte position of the clock sequence and reserved field
static int TIME_HI_BYTE_LEN
          Deprecated. Byte length of time low field
static int TIME_HI_START_POS
          Deprecated. uuid array position start of hi field
static int TIME_HI_TS_POS
          Deprecated. Timestamp byte[] position hi field
static int TIME_LOW_BYTE_LEN
          Deprecated. Byte length of time low field
static int TIME_LOW_START_POS
          Deprecated. uuid array position start of time low field
static int TIME_LOW_TS_POS
          Deprecated. Timestamp byte[] position of time low field
static int TIME_MID_BYTE_LEN
          Deprecated. Byte length of time low field
static int TIME_MID_START_POS
          Deprecated. uuid array position start of mid field
static int TIME_MID_TS_POS
          Deprecated. Timestamp byte[] position mid field
static int[] TOKEN_LENGTHS
          Deprecated. Array to check tokenized UUID's segment lengths
static int TOKENS_IN_UUID
          Deprecated. Token length of '-' separated tokens.
static String URN_PREFIX
          Deprecated. The string prefix for a urn UUID identifier.
static int UUID_BIT_LENGTH
          Deprecated. Bits in a UUID.
static int UUID_BYTE_LENGTH
          Deprecated. Number of bytes in a UUID.
static int UUID_FORMATTED_LENGTH
          Deprecated. Chars in a UUID String.
static int UUID_UNFORMATTED_LENGTH
          Deprecated. Chars in a UUID String.
static int VARIANT_FUTURE
          Deprecated. UUID variant bits described in the IETF Draft MSB order, this is the "Future Reserved variant 1 1 1 x with unknown bits as 0
static int VARIANT_IETF_DRAFT
          Deprecated. UUID variant bits described in the IETF Draft MSB order, this is the IETF Draft memo variant field 1 0 x with unknown bits as 0
static int VARIANT_MS
          Deprecated. UUID variant bits described in the IETF Draft MSB order, this is the IETF Draft "Microsoft Corporation" field variant 1 1 0 x with unknown bits as 0
static int VARIANT_NCS_COMPAT
          Deprecated. UUID variant bits described in the IETF Draft MSB order, this is the "Reserved, NCS backward compatibility field" 0 x x with unknown bits as 0
static int VERSION_FOUR
          Deprecated. Version four constant for UUID version four of four
static int VERSION_ONE
          Deprecated. Version one constant for UUID version one of four
static int VERSION_THREE
          Deprecated. Version three constant for UUID version three of four
static int VERSION_TWO
          Deprecated. Version two constant for UUID version two of four
static String WRONG_VAR_VER_MSG
          Deprecated. Message indicating this is not a version one UUID
 

Field Detail

UUID_BIT_LENGTH

static final int UUID_BIT_LENGTH
Deprecated. 
Bits in a UUID.

See Also:
Constant Field Values

UUID_BYTE_LENGTH

static final int UUID_BYTE_LENGTH
Deprecated. 
Number of bytes in a UUID.

See Also:
Constant Field Values

UUID_UNFORMATTED_LENGTH

static final int UUID_UNFORMATTED_LENGTH
Deprecated. 
Chars in a UUID String.

See Also:
Constant Field Values

UUID_FORMATTED_LENGTH

static final int UUID_FORMATTED_LENGTH
Deprecated. 
Chars in a UUID String.

See Also:
Constant Field Values

TOKENS_IN_UUID

static final int TOKENS_IN_UUID
Deprecated. 
Token length of '-' separated tokens.

See Also:
Constant Field Values

TOKEN_LENGTHS

static final int[] TOKEN_LENGTHS
Deprecated. 
Array to check tokenized UUID's segment lengths


FORMAT_POSITION1

static final int FORMAT_POSITION1
Deprecated. 
Insertion point 1 for dashes in the string format

See Also:
Constant Field Values

FORMAT_POSITION2

static final int FORMAT_POSITION2
Deprecated. 
Insertion point 2 for dashes in the string format

See Also:
Constant Field Values

FORMAT_POSITION3

static final int FORMAT_POSITION3
Deprecated. 
Insertion point 3 for dashes in the string format

See Also:
Constant Field Values

FORMAT_POSITION4

static final int FORMAT_POSITION4
Deprecated. 
Insertion point 4 for dashes in the string format

See Also:
Constant Field Values

URN_PREFIX

static final String URN_PREFIX
Deprecated. 
The string prefix for a urn UUID identifier.

See Also:
Constant Field Values

VARIANT_NCS_COMPAT

static final int VARIANT_NCS_COMPAT
Deprecated. 
UUID variant bits described in the IETF Draft MSB order, this is the "Reserved, NCS backward compatibility field" 0 x x with unknown bits as 0

See Also:
Constant Field Values

VARIANT_IETF_DRAFT

static final int VARIANT_IETF_DRAFT
Deprecated. 
UUID variant bits described in the IETF Draft MSB order, this is the IETF Draft memo variant field 1 0 x with unknown bits as 0

See Also:
Constant Field Values

VARIANT_MS

static final int VARIANT_MS
Deprecated. 
UUID variant bits described in the IETF Draft MSB order, this is the IETF Draft "Microsoft Corporation" field variant 1 1 0 x with unknown bits as 0

See Also:
Constant Field Values

VARIANT_FUTURE

static final int VARIANT_FUTURE
Deprecated. 
UUID variant bits described in the IETF Draft MSB order, this is the "Future Reserved variant 1 1 1 x with unknown bits as 0

See Also:
Constant Field Values

VERSION_ONE

static final int VERSION_ONE
Deprecated. 
Version one constant for UUID version one of four

See Also:
Constant Field Values

VERSION_TWO

static final int VERSION_TWO
Deprecated. 
Version two constant for UUID version two of four

See Also:
Constant Field Values

VERSION_THREE

static final int VERSION_THREE
Deprecated. 
Version three constant for UUID version three of four

See Also:
Constant Field Values

VERSION_FOUR

static final int VERSION_FOUR
Deprecated. 
Version four constant for UUID version four of four

See Also:
Constant Field Values

WRONG_VAR_VER_MSG

static final String WRONG_VAR_VER_MSG
Deprecated. 
Message indicating this is not a version one UUID

See Also:
Constant Field Values

TIME_LOW_BYTE_LEN

static final int TIME_LOW_BYTE_LEN
Deprecated. 
Byte length of time low field

See Also:
Constant Field Values

TIME_MID_BYTE_LEN

static final int TIME_MID_BYTE_LEN
Deprecated. 
Byte length of time low field

See Also:
Constant Field Values

TIME_HI_BYTE_LEN

static final int TIME_HI_BYTE_LEN
Deprecated. 
Byte length of time low field

See Also:
Constant Field Values

TIME_LOW_TS_POS

static final int TIME_LOW_TS_POS
Deprecated. 
Timestamp byte[] position of time low field

See Also:
Constant Field Values

TIME_MID_TS_POS

static final int TIME_MID_TS_POS
Deprecated. 
Timestamp byte[] position mid field

See Also:
Constant Field Values

TIME_HI_TS_POS

static final int TIME_HI_TS_POS
Deprecated. 
Timestamp byte[] position hi field

See Also:
Constant Field Values

TIME_LOW_START_POS

static final int TIME_LOW_START_POS
Deprecated. 
uuid array position start of time low field

See Also:
Constant Field Values

TIME_MID_START_POS

static final int TIME_MID_START_POS
Deprecated. 
uuid array position start of mid field

See Also:
Constant Field Values

TIME_HI_START_POS

static final int TIME_HI_START_POS
Deprecated. 
uuid array position start of hi field

See Also:
Constant Field Values

TIME_HI_AND_VERSION_BYTE_6

static final short TIME_HI_AND_VERSION_BYTE_6
Deprecated. 
Byte position of the clock sequence and reserved field

See Also:
Constant Field Values

CLOCK_SEQ_HI_AND_RESERVED_BYTE_8

static final short CLOCK_SEQ_HI_AND_RESERVED_BYTE_8
Deprecated. 
Byte position of the clock sequence and reserved field

See Also:
Constant Field Values

hexDigits

static final char[] hexDigits
Deprecated. 
XXX added by stefan@apache.org: hexdigits for converting numerics to hex



Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.