This project has retired. For details please refer to its Attic page.
Column (Apache Gora 0.2 API)

org.apache.gora.sql.store
Class Column

java.lang.Object
  extended by org.apache.gora.sql.store.Column

public class Column
extends Object


Nested Class Summary
static class Column.MappingStrategy
           
 
Constructor Summary
Column()
           
Column(String name)
           
Column(String name, boolean isPrimaryKey)
           
Column(String name, boolean isPrimaryKey, SqlTypeInterface.JdbcType jdbcType, int length, int scale)
           
Column(String name, boolean isPrimaryKey, SqlTypeInterface.JdbcType jdbcType, String sqlType, int length, int scale)
           
 
Method Summary
 SqlTypeInterface.JdbcType getJdbcType()
           
 int getLength()
           
 Column.MappingStrategy getMappingStrategy()
           
 String getName()
           
 int getScale()
           
 int getScaleOrLength()
           
 String getSqlType()
           
 String getTableName()
           
 boolean isPrimaryKey()
           
 void setJdbcType(SqlTypeInterface.JdbcType jdbcType)
           
 void setLength(int length)
           
 void setMappingStrategy(Column.MappingStrategy mappingStrategy)
           
 void setName(String name)
           
 void setScale(int scale)
           
 void setSqlType(String sqlType)
           
 void setTableName(String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Column

public Column()

Column

public Column(String name)

Column

public Column(String name,
              boolean isPrimaryKey,
              SqlTypeInterface.JdbcType jdbcType,
              String sqlType,
              int length,
              int scale)

Column

public Column(String name,
              boolean isPrimaryKey,
              SqlTypeInterface.JdbcType jdbcType,
              int length,
              int scale)

Column

public Column(String name,
              boolean isPrimaryKey)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getJdbcType

public SqlTypeInterface.JdbcType getJdbcType()

setJdbcType

public void setJdbcType(SqlTypeInterface.JdbcType jdbcType)

getSqlType

public String getSqlType()

setSqlType

public void setSqlType(String sqlType)

setLength

public void setLength(int length)

getLength

public int getLength()

getScale

public int getScale()

setScale

public void setScale(int scale)

getScaleOrLength

public int getScaleOrLength()

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

getMappingStrategy

public Column.MappingStrategy getMappingStrategy()

setMappingStrategy

public void setMappingStrategy(Column.MappingStrategy mappingStrategy)

isPrimaryKey

public boolean isPrimaryKey()


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.