org.sqlorm.metadatadumper
Interface IColumnName


public interface IColumnName

Marker interface to denote a class representing a database column

Author:
Kasper B. Graversen, (c) 2007-2008

Method Summary
 String _()
          return only the column name, i.e.
 String at(String table)
          return the column name prefixed by the argument 'table'.
 String toString()
          return the fully qualified name, i.e.
 

Method Detail

toString

String toString()
return the fully qualified name, i.e. 'tablename.columname'

Overrides:
toString in class Object

_

String _()
return only the column name, i.e. 'columnname'


at

String at(String table)
return the column name prefixed by the argument 'table'. Used when aliasing DB tables, i.e. 'table.columnname'