ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm10
Interface Column<T>

All Superinterfaces:
Child<T>

public interface Column<T>
extends Child<T>

This interface defines the contract for the column xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 Column<T> columnDefinition(String columnDefinition)
          Sets the column-definition attribute
 String getColumnDefinition()
          Returns the column-definition attribute
 Integer getLength()
          Returns the length attribute
 String getName()
          Returns the name attribute
 Integer getPrecision()
          Returns the precision attribute
 Integer getScale()
          Returns the scale attribute
 String getTable()
          Returns the table attribute
 Column<T> insertable(Boolean insertable)
          Sets the insertable attribute
 Boolean isInsertable()
          Returns the insertable attribute
 Boolean isNullable()
          Returns the nullable attribute
 Boolean isUnique()
          Returns the unique attribute
 Boolean isUpdatable()
          Returns the updatable attribute
 Column<T> length(Integer length)
          Sets the length attribute
 Column<T> name(String name)
          Sets the name attribute
 Column<T> nullable(Boolean nullable)
          Sets the nullable attribute
 Column<T> precision(Integer precision)
          Sets the precision attribute
 Column<T> removeColumnDefinition()
          Removes the column-definition attribute
 Column<T> removeInsertable()
          Removes the insertable attribute
 Column<T> removeLength()
          Removes the length attribute
 Column<T> removeName()
          Removes the name attribute
 Column<T> removeNullable()
          Removes the nullable attribute
 Column<T> removePrecision()
          Removes the precision attribute
 Column<T> removeScale()
          Removes the scale attribute
 Column<T> removeTable()
          Removes the table attribute
 Column<T> removeUnique()
          Removes the unique attribute
 Column<T> removeUpdatable()
          Removes the updatable attribute
 Column<T> scale(Integer scale)
          Sets the scale attribute
 Column<T> table(String table)
          Sets the table attribute
 Column<T> unique(Boolean unique)
          Sets the unique attribute
 Column<T> updatable(Boolean updatable)
          Sets the updatable attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

name

Column<T> name(String name)
Sets the name attribute

Parameters:
name - the value for the attribute name
Returns:
the current instance of Column

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

Column<T> removeName()
Removes the name attribute

Returns:
the current instance of Column

unique

Column<T> unique(Boolean unique)
Sets the unique attribute

Parameters:
unique - the value for the attribute unique
Returns:
the current instance of Column

isUnique

Boolean isUnique()
Returns the unique attribute

Returns:
the value defined for the attribute unique

removeUnique

Column<T> removeUnique()
Removes the unique attribute

Returns:
the current instance of Column

nullable

Column<T> nullable(Boolean nullable)
Sets the nullable attribute

Parameters:
nullable - the value for the attribute nullable
Returns:
the current instance of Column

isNullable

Boolean isNullable()
Returns the nullable attribute

Returns:
the value defined for the attribute nullable

removeNullable

Column<T> removeNullable()
Removes the nullable attribute

Returns:
the current instance of Column

insertable

Column<T> insertable(Boolean insertable)
Sets the insertable attribute

Parameters:
insertable - the value for the attribute insertable
Returns:
the current instance of Column

isInsertable

Boolean isInsertable()
Returns the insertable attribute

Returns:
the value defined for the attribute insertable

removeInsertable

Column<T> removeInsertable()
Removes the insertable attribute

Returns:
the current instance of Column

updatable

Column<T> updatable(Boolean updatable)
Sets the updatable attribute

Parameters:
updatable - the value for the attribute updatable
Returns:
the current instance of Column

isUpdatable

Boolean isUpdatable()
Returns the updatable attribute

Returns:
the value defined for the attribute updatable

removeUpdatable

Column<T> removeUpdatable()
Removes the updatable attribute

Returns:
the current instance of Column

columnDefinition

Column<T> columnDefinition(String columnDefinition)
Sets the column-definition attribute

Parameters:
columnDefinition - the value for the attribute column-definition
Returns:
the current instance of Column

getColumnDefinition

String getColumnDefinition()
Returns the column-definition attribute

Returns:
the value defined for the attribute column-definition

removeColumnDefinition

Column<T> removeColumnDefinition()
Removes the column-definition attribute

Returns:
the current instance of Column

table

Column<T> table(String table)
Sets the table attribute

Parameters:
table - the value for the attribute table
Returns:
the current instance of Column

getTable

String getTable()
Returns the table attribute

Returns:
the value defined for the attribute table

removeTable

Column<T> removeTable()
Removes the table attribute

Returns:
the current instance of Column

length

Column<T> length(Integer length)
Sets the length attribute

Parameters:
length - the value for the attribute length
Returns:
the current instance of Column

getLength

Integer getLength()
Returns the length attribute

Returns:
the value defined for the attribute length

removeLength

Column<T> removeLength()
Removes the length attribute

Returns:
the current instance of Column

precision

Column<T> precision(Integer precision)
Sets the precision attribute

Parameters:
precision - the value for the attribute precision
Returns:
the current instance of Column

getPrecision

Integer getPrecision()
Returns the precision attribute

Returns:
the value defined for the attribute precision

removePrecision

Column<T> removePrecision()
Removes the precision attribute

Returns:
the current instance of Column

scale

Column<T> scale(Integer scale)
Sets the scale attribute

Parameters:
scale - the value for the attribute scale
Returns:
the current instance of Column

getScale

Integer getScale()
Returns the scale attribute

Returns:
the value defined for the attribute scale

removeScale

Column<T> removeScale()
Removes the scale attribute

Returns:
the current instance of Column

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.