public final class AttributeType
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static AttributeType |
BINARY
Symbolic constant for attribute type BINARY
|
static AttributeType |
BOOLEAN
Symbolic constant for attribute type BOOLEAN
|
static java.lang.String |
COPYRIGHT |
static AttributeType |
DECIMAL
Symbolic constant for attribute type DECIMAL
|
static AttributeType |
ID
Symbolic constant for attribute type object ID
|
static AttributeType |
NUMBER
Symbolic constant for attribute type NUMBER
|
static AttributeType |
STRING
Symbolic constant for attribute type String
|
static AttributeType |
TIMESTAMP
Symbolic constant for attribute type TIMESTAMP
|
Modifier and Type | Method and Description |
---|---|
static AttributeType |
newAttributeType(java.lang.String typeString)
Factory method to create an attribute type by its string representation.
|
java.lang.String |
toString()
Returns a string representation of the attribute type.
|
public static final java.lang.String COPYRIGHT
public static final AttributeType ID
public static final AttributeType STRING
public static final AttributeType NUMBER
public static final AttributeType TIMESTAMP
public static final AttributeType BINARY
public static final AttributeType DECIMAL
public static final AttributeType BOOLEAN
public static AttributeType newAttributeType(java.lang.String typeString)
typeString
- The string representation of an attribute type.public java.lang.String toString()
toString
in class java.lang.Object