| Modifier and Type | Field and Description |
|---|---|
| public static final AttributeType | BOOLEAN
Boolean type |
| public static final AttributeType | BYTE
Byte type |
| public static final AttributeType | CHAR
Character type |
| public static final AttributeType | DATE
Date type |
| public static final AttributeType | DOUBLE
Double type |
| public static final AttributeType | ENUM
Enum type |
| public static final AttributeType | FLOAT
Float type |
| public static final AttributeType | INT
Integer type |
| public static final AttributeType | LONG
Long type |
| private static final Map | |
| public static final AttributeType | SHORT
Short type |
| public static final AttributeType | SQL_DATE
SQL Date type |
| public static final AttributeType | STRING
String type |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Set | |
| public boolean | |
| public static boolean | Returns: true if the given value is valid as a search attributeTest the given value to see if it is a legal type |
| private static String | |
| public static AttributeType | Returns: the attribute type for this valuethe attribute name (only meaningful to message if exception thrown) name, Object the value to lookup the type for value)Get the appropriate @{link |
| public static AttributeType | Returns: the attribute type for this valueGet the appropriate @{link |
| private static AttributeType | |
| public abstract void | validateValue(String
the attribute name (only meaningful to message if exception thrown) name, Object the value to validate against this type value)Validate that the given value is in fact of the correct type |
| public static AttributeType | |
| public static AttributeType[] |
| BOOLEAN | back to summary |
|---|---|
| public static final AttributeType BOOLEAN Boolean type | |
| BYTE | back to summary |
|---|---|
| public static final AttributeType BYTE Byte type | |
| CHAR | back to summary |
|---|---|
| public static final AttributeType CHAR Character type | |
| DATE | back to summary |
|---|---|
| public static final AttributeType DATE Date type | |
| DOUBLE | back to summary |
|---|---|
| public static final AttributeType DOUBLE Double type | |
| ENUM | back to summary |
|---|---|
| public static final AttributeType ENUM Enum type | |
| FLOAT | back to summary |
|---|---|
| public static final AttributeType FLOAT Float type | |
| INT | back to summary |
|---|---|
| public static final AttributeType INT Integer type | |
| LONG | back to summary |
|---|---|
| public static final AttributeType LONG Long type | |
| MAPPINGS | back to summary |
|---|---|
| private static final Map<Class<?>, AttributeType> MAPPINGS | |
| SHORT | back to summary |
|---|---|
| public static final AttributeType SHORT Short type | |
| SQL_DATE | back to summary |
|---|---|
| public static final AttributeType SQL_DATE SQL Date type | |
| STRING | back to summary |
|---|---|
| public static final AttributeType STRING String type | |
| AttributeType | back to summary |
|---|---|
| private AttributeType() | |
| getSupportedJavaTypes | back to summary |
|---|---|
| public static Set | |
| isComparable | back to summary |
|---|---|
| public boolean isComparable() Is this type comparable?
| |
| isSupportedType | back to summary |
|---|---|
| public static boolean isSupportedType(Object value) Test the given value to see if it is a legal type
| |
| type | back to summary |
|---|---|
| private static String type(Object value) | |
| typeFor | back to summary |
|---|---|
| public static AttributeType typeFor(String name, Object value) throws SearchException Get the appropriate @{link
| |
| typeFor | back to summary |
|---|---|
| public static AttributeType typeFor(Class<?> c) Get the appropriate @{link
| |
| typeForOrNull | back to summary |
|---|---|
| private static AttributeType typeForOrNull(Object value) | |
| validateValue | back to summary |
|---|---|
| public abstract void validateValue(String name, Object value) throws SearchException Validate that the given value is in fact of the correct type
| |
| valueOf | back to summary |
|---|---|
| public static AttributeType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static AttributeType[] values() | |