org.apache.ws.jaxme.sqls.impl
Class ColumnImpl

java.lang.Object
  extended by org.apache.ws.jaxme.sqls.impl.AbstractColumn
      extended by org.apache.ws.jaxme.sqls.impl.ColumnImpl
All Implemented Interfaces:
BinaryColumn, Column, StringColumn
Direct Known Subclasses:
DB2ColumnImpl, HsqlDbColumnImpl

public class ColumnImpl
extends AbstractColumn

Implementation of a column.

Author:
Jochen Wiedmann

Nested Class Summary
static class ColumnImpl.NameImpl
           
static class ColumnImpl.TypeImpl
           
 
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.Column
Column.Name, Column.Type
 
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.Column
Column.Name, Column.Type
 
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.Column
Column.Name, Column.Type
 
Constructor Summary
protected ColumnImpl(Table pTable, Column.Name pName, Column.Type pType)
           
 
Method Summary
 java.lang.String getQName()
          Returns the columns fully qualified name, which is getTable().getQName() + "." + getName().
 Table getTable()
          Returns the columns table.
 boolean isPrimaryKeyPart()
          Returns whether this column is part of the primary key.
 boolean isVirtual()
          Returns whether this column is a true column or a virtual column.
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.AbstractColumn
equals, getCustomData, getLength, getName, getType, hasFixedLength, hashCode, isBinaryColumn, isNullable, isStringColumn, setCustomData, setLength, setLength, setNullable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnImpl

protected ColumnImpl(Table pTable,
                     Column.Name pName,
                     Column.Type pType)
Method Detail

getTable

public Table getTable()
Description copied from interface: Column

Returns the columns table.


getQName

public java.lang.String getQName()
Description copied from interface: Column

Returns the columns fully qualified name, which is getTable().getQName() + "." + getName().


isVirtual

public boolean isVirtual()
Description copied from interface: Column

Returns whether this column is a true column or a virtual column.


isPrimaryKeyPart

public boolean isPrimaryKeyPart()
Description copied from interface: Column

Returns whether this column is part of the primary key.