org.apache.openejb.jee.jpa
Class Column

java.lang.Object
  extended by org.apache.openejb.jee.jpa.Column

public class Column
extends java.lang.Object


Field Summary
protected  java.lang.String columnDefinition
           
protected  java.lang.Boolean insertable
           
protected  java.lang.Integer length
           
protected  java.lang.String name
           
protected  java.lang.Boolean nullable
           
protected  java.lang.Integer precision
           
protected  java.lang.Integer scale
           
protected  java.lang.String table
           
protected  java.lang.Boolean unique
           
protected  java.lang.Boolean updatable
           
 
Constructor Summary
Column()
           
Column(java.lang.String name)
           
 
Method Summary
 java.lang.String getColumnDefinition()
          Gets the value of the columnDefinition property.
 java.lang.Integer getLength()
          Gets the value of the length property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.Integer getPrecision()
          Gets the value of the precision property.
 java.lang.Integer getScale()
          Gets the value of the scale property.
 java.lang.String getTable()
          Gets the value of the table property.
 java.lang.Boolean isInsertable()
          Gets the value of the insertable property.
 java.lang.Boolean isNullable()
          Gets the value of the nullable property.
 java.lang.Boolean isUnique()
          Gets the value of the unique property.
 java.lang.Boolean isUpdatable()
          Gets the value of the updatable property.
 void setColumnDefinition(java.lang.String value)
          Sets the value of the columnDefinition property.
 void setInsertable(java.lang.Boolean value)
          Sets the value of the insertable property.
 void setLength(java.lang.Integer value)
          Sets the value of the length property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNullable(java.lang.Boolean value)
          Sets the value of the nullable property.
 void setPrecision(java.lang.Integer value)
          Sets the value of the precision property.
 void setScale(java.lang.Integer value)
          Sets the value of the scale property.
 void setTable(java.lang.String value)
          Sets the value of the table property.
 void setUnique(java.lang.Boolean value)
          Sets the value of the unique property.
 void setUpdatable(java.lang.Boolean value)
          Sets the value of the updatable property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnDefinition

protected java.lang.String columnDefinition

insertable

protected java.lang.Boolean insertable

length

protected java.lang.Integer length

name

protected java.lang.String name

nullable

protected java.lang.Boolean nullable

precision

protected java.lang.Integer precision

scale

protected java.lang.Integer scale

table

protected java.lang.String table

unique

protected java.lang.Boolean unique

updatable

protected java.lang.Boolean updatable
Constructor Detail

Column

public Column()

Column

public Column(java.lang.String name)
Method Detail

getColumnDefinition

public java.lang.String getColumnDefinition()
Gets the value of the columnDefinition property.

Returns:
possible object is String

setColumnDefinition

public void setColumnDefinition(java.lang.String value)
Sets the value of the columnDefinition property.

Parameters:
value - allowed object is String

isInsertable

public java.lang.Boolean isInsertable()
Gets the value of the insertable property.

Returns:
possible object is Boolean

setInsertable

public void setInsertable(java.lang.Boolean value)
Sets the value of the insertable property.

Parameters:
value - allowed object is Boolean

getLength

public java.lang.Integer getLength()
Gets the value of the length property.

Returns:
possible object is Integer

setLength

public void setLength(java.lang.Integer value)
Sets the value of the length property.

Parameters:
value - allowed object is Integer

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isNullable

public java.lang.Boolean isNullable()
Gets the value of the nullable property.

Returns:
possible object is Boolean

setNullable

public void setNullable(java.lang.Boolean value)
Sets the value of the nullable property.

Parameters:
value - allowed object is Boolean

getPrecision

public java.lang.Integer getPrecision()
Gets the value of the precision property.

Returns:
possible object is Integer

setPrecision

public void setPrecision(java.lang.Integer value)
Sets the value of the precision property.

Parameters:
value - allowed object is Integer

getScale

public java.lang.Integer getScale()
Gets the value of the scale property.

Returns:
possible object is Integer

setScale

public void setScale(java.lang.Integer value)
Sets the value of the scale property.

Parameters:
value - allowed object is Integer

getTable

public java.lang.String getTable()
Gets the value of the table property.

Returns:
possible object is String

setTable

public void setTable(java.lang.String value)
Sets the value of the table property.

Parameters:
value - allowed object is String

isUnique

public java.lang.Boolean isUnique()
Gets the value of the unique property.

Returns:
possible object is Boolean

setUnique

public void setUnique(java.lang.Boolean value)
Sets the value of the unique property.

Parameters:
value - allowed object is Boolean

isUpdatable

public java.lang.Boolean isUpdatable()
Gets the value of the updatable property.

Returns:
possible object is Boolean

setUpdatable

public void setUpdatable(java.lang.Boolean value)
Sets the value of the updatable property.

Parameters:
value - allowed object is Boolean


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.