Package org.apache.openjpa.kernel.exps
Interface Literal
- All Superinterfaces:
Constant
,Serializable
,Value
Interface for any literal value.
- Author:
- Abe White
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
The type the literal was parsed as.getValue()
The value of this literal.void
The value of this literal.Methods inherited from interface org.apache.openjpa.kernel.exps.Value
acceptVisit, getAlias, getMetaData, getName, getPath, getSelectAs, getType, isAggregate, isVariable, isXPath, setAlias, setImplicitType, setMetaData
-
Field Details
-
TYPE_UNKNOWN
static final int TYPE_UNKNOWN- See Also:
-
TYPE_NUMBER
static final int TYPE_NUMBER- See Also:
-
TYPE_BOOLEAN
static final int TYPE_BOOLEAN- See Also:
-
TYPE_STRING
static final int TYPE_STRING- See Also:
-
TYPE_SQ_STRING
static final int TYPE_SQ_STRING- See Also:
-
TYPE_CLASS
static final int TYPE_CLASS- See Also:
-
TYPE_ENUM
static final int TYPE_ENUM- See Also:
-
TYPE_COLLECTION
static final int TYPE_COLLECTION- See Also:
-
TYPE_DATE
static final int TYPE_DATE- See Also:
-
TYPE_TIME
static final int TYPE_TIME- See Also:
-
TYPE_TIMESTAMP
static final int TYPE_TIMESTAMP- See Also:
-
-
Method Details
-
getValue
Object getValue()The value of this literal. -
setValue
The value of this literal. -
getParseType
int getParseType()The type the literal was parsed as.
-