|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.axiondb.NamedIdentifier
org.axiondb.Literal
A typedliteral value.
| Constructor Summary | |
protected |
Literal(DataType type)
|
|
Literal(Object value)
|
|
Literal(Object value,
DataType type)
|
|
Literal(Object value,
DataType type,
String aliasName)
|
| Method Summary | |
boolean |
equals(Object otherobject)
Returns true iff otherobject is a Literalwhose name
are equal to mine. |
Object |
evaluate()
|
Object |
evaluate(RowDecorator row)
|
String |
getAlias()
Returns the alias name of Literal, if any. |
DataType |
getDataType()
|
String |
getLabel()
Returns my Literal name. |
String |
getName()
Returns the name of Literal, if any. |
protected Object |
getValue()
|
int |
hashCode()
Returns a hash code in keeping with the standard equals/
hashCodecontract. |
void |
setAlias(String name)
Sets the name of this Literal. |
void |
setDataType(DataType type)
|
protected void |
setValue(Object value)
|
void |
setVariableContext(VariableContext context)
|
String |
toString()
Returns a String representation of me, suitable for debugging
output. |
| Methods inherited from class org.axiondb.NamedIdentifier |
toUpperOrNull |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Literal(Object value)
public Literal(Object value,
DataType type)
public Literal(Object value,
DataType type,
String aliasName)
protected Literal(DataType type)
| Method Detail |
public boolean equals(Object otherobject)
true iff otherobject is a Literalwhose name
are equal to mine.
public Object evaluate()
throws AxionException
AxionException
public final Object evaluate(RowDecorator row)
throws AxionException
evaluate in interface Selectablerow - is ignored and may be null.
AxionExceptionevaluate()public String getAlias()
getAlias in interface Selectablepublic DataType getDataType()
getDataType in interface Selectablepublic String getLabel()
getLabel in interface Selectablepublic String getName()
getName in interface Selectablepublic int hashCode()
equals/
hashCodecontract.
public void setAlias(String name)
public void setDataType(DataType type)
public void setVariableContext(VariableContext context)
setVariableContext in interface Selectablepublic String toString()
String representation of me, suitable for debugging
output.
protected Object getValue()
throws AxionException
AxionExceptionprotected void setValue(Object value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||