com.hp.hpl.jena.sdb.core.sqlexpr
Class SqlColumn

java.lang.Object
  extended by com.hp.hpl.jena.sdb.core.AnnotationsBase
      extended by com.hp.hpl.jena.sdb.core.sqlexpr.SqlExprBase
          extended by com.hp.hpl.jena.sdb.core.sqlexpr.SqlColumn
All Implemented Interfaces:
Annotations, SqlExpr

public class SqlColumn
extends SqlExprBase

A table column, whether in an expression or a column name of a table


Constructor Summary
SqlColumn(SqlTable sqlTable, String colName)
           
 
Method Summary
 String asString()
           
 boolean equals(Object other)
           
 String getColumnName()
           
 String getFullColumnName()
           
 SqlTable getTable()
           
 int hashCode()
           
 boolean isColumn()
           
 void visit(SqlExprVisitor visitor)
           
 
Methods inherited from class com.hp.hpl.jena.sdb.core.sqlexpr.SqlExprBase
asSQL, asSQL, getColumnsNeeded, isConstant, toString
 
Methods inherited from class com.hp.hpl.jena.sdb.core.AnnotationsBase
addNote, addNotes, getNotes, hasNotes, hasOneNote
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sdb.core.Annotations
addNote, addNotes, getNotes, hasNotes, hasOneNote
 

Constructor Detail

SqlColumn

public SqlColumn(SqlTable sqlTable,
                 String colName)
Method Detail

getColumnName

public String getColumnName()

getTable

public SqlTable getTable()

getFullColumnName

public String getFullColumnName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

isColumn

public boolean isColumn()
Specified by:
isColumn in interface SqlExpr
Overrides:
isColumn in class SqlExprBase

asString

public String asString()

visit

public void visit(SqlExprVisitor visitor)


Copyright ? 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Epimorphics Ltd.