org.axiondb
Class BaseSelectable

java.lang.Object
  extended by org.axiondb.BaseSelectable
All Implemented Interfaces:
java.io.Serializable, Selectable
Direct Known Subclasses:
BaseFunction, ColumnIdentifier, Literal

public abstract class BaseSelectable
extends java.lang.Object
implements java.io.Serializable, Selectable

Version:
$Revision: 1.7 $ $Date: 2005/12/23 01:32:24 $
See Also:
Serialized Form

Field Summary
protected  int _hash
          Cache the hash code for the string
 
Constructor Summary
BaseSelectable()
           
 
Method Summary
 java.lang.String getAlias()
           
 java.lang.String getLabel()
          Returns my function alias or name.
 java.lang.String getName()
           
 void setAlias(java.lang.String alias)
           
 void setName(java.lang.String name)
           
 void setVariableContext(VariableContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.axiondb.Selectable
evaluate, getDataType
 

Field Detail

_hash

protected int _hash
Cache the hash code for the string

Constructor Detail

BaseSelectable

public BaseSelectable()
Method Detail

getAlias

public java.lang.String getAlias()
Specified by:
getAlias in interface Selectable

getLabel

public java.lang.String getLabel()
Returns my function alias or name.

Specified by:
getLabel in interface Selectable

getName

public java.lang.String getName()
Specified by:
getName in interface Selectable

setAlias

public final void setAlias(java.lang.String alias)

setName

public void setName(java.lang.String name)

setVariableContext

public void setVariableContext(VariableContext ctx)
Specified by:
setVariableContext in interface Selectable