org.apache.cayenne.jpa.map
Class JpaColumn
java.lang.Object
org.apache.cayenne.jpa.map.JpaColumn
public class JpaColumn
- extends Object
name
protected String name
unique
protected boolean unique
nullable
protected boolean nullable
insertable
protected boolean insertable
updatable
protected boolean updatable
columnDefinition
protected String columnDefinition
table
protected String table
length
protected int length
precision
protected int precision
scale
protected int scale
JpaColumn
public JpaColumn()
JpaColumn
public JpaColumn(Column annotation)
getColumnDefinition
public String getColumnDefinition()
setColumnDefinition
public void setColumnDefinition(String columnDefinition)
isInsertable
public boolean isInsertable()
setInsertable
public void setInsertable(boolean insertable)
getLength
public int getLength()
setLength
public void setLength(int length)
getName
public String getName()
setName
public void setName(String name)
isNullable
public boolean isNullable()
setNullable
public void setNullable(boolean nullable)
getPrecision
public int getPrecision()
setPrecision
public void setPrecision(int precision)
getScale
public int getScale()
setScale
public void setScale(int scale)
getTable
public String getTable()
setTable
public void setTable(String table)
isUnique
public boolean isUnique()
setUnique
public void setUnique(boolean unique)
isUpdatable
public boolean isUpdatable()
setUpdatable
public void setUpdatable(boolean updateable)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.