Package org.apache.derby.catalog
Interface UUID
-
- All Superinterfaces:
java.io.Externalizable
,java.io.Serializable
- All Known Implementing Classes:
BasicUUID
public interface UUID extends java.io.Externalizable
An interface for accessing Derby UUIDs, unique identifiers.The values in the system catalog held in ID columns with a type of CHAR(36) are the string representations of these UUIDs.
A UUID implements equals() and hashCode based on value equality.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NULL
NULL UUIDstatic int
UUID_BYTE_LENGTH
UUID_BYTE_LENGTH The number of bytes in the array toByteArray returns.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UUID
cloneMe()
Clone this UUID.java.lang.String
toANSIidentifier()
Produce a string representation of this UUID which is suitable for use as a unique ANSI identifier.
-
-
-
Field Detail
-
NULL
static final java.lang.String NULL
NULL UUID- See Also:
- Constant Field Values
-
UUID_BYTE_LENGTH
static final int UUID_BYTE_LENGTH
UUID_BYTE_LENGTH The number of bytes in the array toByteArray returns.- See Also:
- Constant Field Values
-
-
Method Detail
-
toANSIidentifier
java.lang.String toANSIidentifier()
Produce a string representation of this UUID which is suitable for use as a unique ANSI identifier.
-
cloneMe
UUID cloneMe()
Clone this UUID.- Returns:
- a copy of this UUID
-
-