net.sourceforge.jpaxjc.ns.persistence.orm
Class Column

java.lang.Object
  extended by net.sourceforge.jpaxjc.ns.persistence.orm.Column
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class Column
extends Object
implements Cloneable


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

Field Detail

name

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String name

unique

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean unique

nullable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean nullable

insertable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean insertable

updatable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean updatable

columnDefinition

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String columnDefinition

table

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String table

length

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Integer length

precision

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Integer precision

scale

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Integer scale
Constructor Detail

Column

public Column()
Creates a new Column instance.


Column

public Column(Column o)
Creates a new Column instance by deeply copying a given Column instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isUnique

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Boolean isUnique()
Gets the value of the unique property.

Returns:
possible object is Boolean

setUnique

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setUnique(Boolean value)
Sets the value of the unique property.

Parameters:
value - allowed object is Boolean

isNullable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Boolean isNullable()
Gets the value of the nullable property.

Returns:
possible object is Boolean

setNullable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setNullable(Boolean value)
Sets the value of the nullable property.

Parameters:
value - allowed object is Boolean

isInsertable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Boolean isInsertable()
Gets the value of the insertable property.

Returns:
possible object is Boolean

setInsertable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setInsertable(Boolean value)
Sets the value of the insertable property.

Parameters:
value - allowed object is Boolean

isUpdatable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Boolean isUpdatable()
Gets the value of the updatable property.

Returns:
possible object is Boolean

setUpdatable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setUpdatable(Boolean value)
Sets the value of the updatable property.

Parameters:
value - allowed object is Boolean

getColumnDefinition

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getColumnDefinition()
Gets the value of the columnDefinition property.

Returns:
possible object is String

setColumnDefinition

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setColumnDefinition(String value)
Sets the value of the columnDefinition property.

Parameters:
value - allowed object is String

getTable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getTable()
Gets the value of the table property.

Returns:
possible object is String

setTable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setTable(String value)
Sets the value of the table property.

Parameters:
value - allowed object is String

getLength

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Integer getLength()
Gets the value of the length property.

Returns:
possible object is Integer

setLength

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setLength(Integer value)
Sets the value of the length property.

Parameters:
value - allowed object is Integer

getPrecision

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Integer getPrecision()
Gets the value of the precision property.

Returns:
possible object is Integer

setPrecision

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPrecision(Integer value)
Sets the value of the precision property.

Parameters:
value - allowed object is Integer

getScale

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Integer getScale()
Gets the value of the scale property.

Returns:
possible object is Integer

setScale

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setScale(Integer value)
Sets the value of the scale property.

Parameters:
value - allowed object is Integer

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Column clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2009-2010 The JPA-XJC Community. All Rights Reserved.