org.axiondb
public class Literal extends BaseSelectable implements Selectable
typed
literal value.
Version: $Revision: 1.16 $ $Date: 2005/12/20 18:32:40 $
Field Summary | |
---|---|
protected Object | _value |
Constructor Summary | |
---|---|
Literal(Object value) | |
Literal(Object value, DataType type) | |
protected | Literal(DataType type) |
Method Summary | |
---|---|
boolean | equals(Object otherobject)
Returns true iff otherobject is a Literalwhose name
are equal to mine. |
Object | evaluate() |
Object | evaluate(RowDecorator row) |
DataType | getDataType() |
String | getLabel()
Returns my Literal name. |
String | getName()
Returns the name of Literal, if any. |
int | hashCode()
Returns a hash code in keeping with the standard Object#equals equals /
Object#hashCode hashCode contract. |
void | setDataType(DataType type) |
String | toString()
Returns a String representation of me, suitable for debugging
output. |
true
iff otherobject is a Literalwhose name
are equal to mine.Parameters: row is ignored and may be null.
See Also: Literal
Object#equals equals
/
Object#hashCode hashCode
contract.String
representation of me, suitable for debugging
output.