ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm20
Interface JoinColumn<T>

All Superinterfaces:
Child<T>

public interface JoinColumn<T>
extends Child<T>

This interface defines the contract for the join-column xsd type

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

Method Summary
 JoinColumn<T> columnDefinition(String columnDefinition)
          Sets the column-definition attribute
 String getColumnDefinition()
          Returns the column-definition attribute
 String getName()
          Returns the name attribute
 String getReferencedColumnName()
          Returns the referenced-column-name attribute
 String getTable()
          Returns the table attribute
 JoinColumn<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
 JoinColumn<T> name(String name)
          Sets the name attribute
 JoinColumn<T> nullable(Boolean nullable)
          Sets the nullable attribute
 JoinColumn<T> referencedColumnName(String referencedColumnName)
          Sets the referenced-column-name attribute
 JoinColumn<T> removeColumnDefinition()
          Removes the column-definition attribute
 JoinColumn<T> removeInsertable()
          Removes the insertable attribute
 JoinColumn<T> removeName()
          Removes the name attribute
 JoinColumn<T> removeNullable()
          Removes the nullable attribute
 JoinColumn<T> removeReferencedColumnName()
          Removes the referenced-column-name attribute
 JoinColumn<T> removeTable()
          Removes the table attribute
 JoinColumn<T> removeUnique()
          Removes the unique attribute
 JoinColumn<T> removeUpdatable()
          Removes the updatable attribute
 JoinColumn<T> table(String table)
          Sets the table attribute
 JoinColumn<T> unique(Boolean unique)
          Sets the unique attribute
 JoinColumn<T> updatable(Boolean updatable)
          Sets the updatable attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

name

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

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

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

JoinColumn<T> removeName()
Removes the name attribute

Returns:
the current instance of JoinColumn

referencedColumnName

JoinColumn<T> referencedColumnName(String referencedColumnName)
Sets the referenced-column-name attribute

Parameters:
referencedColumnName - the value for the attribute referenced-column-name
Returns:
the current instance of JoinColumn

getReferencedColumnName

String getReferencedColumnName()
Returns the referenced-column-name attribute

Returns:
the value defined for the attribute referenced-column-name

removeReferencedColumnName

JoinColumn<T> removeReferencedColumnName()
Removes the referenced-column-name attribute

Returns:
the current instance of JoinColumn

unique

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

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

isUnique

Boolean isUnique()
Returns the unique attribute

Returns:
the value defined for the attribute unique

removeUnique

JoinColumn<T> removeUnique()
Removes the unique attribute

Returns:
the current instance of JoinColumn

nullable

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

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

isNullable

Boolean isNullable()
Returns the nullable attribute

Returns:
the value defined for the attribute nullable

removeNullable

JoinColumn<T> removeNullable()
Removes the nullable attribute

Returns:
the current instance of JoinColumn

insertable

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

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

isInsertable

Boolean isInsertable()
Returns the insertable attribute

Returns:
the value defined for the attribute insertable

removeInsertable

JoinColumn<T> removeInsertable()
Removes the insertable attribute

Returns:
the current instance of JoinColumn

updatable

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

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

isUpdatable

Boolean isUpdatable()
Returns the updatable attribute

Returns:
the value defined for the attribute updatable

removeUpdatable

JoinColumn<T> removeUpdatable()
Removes the updatable attribute

Returns:
the current instance of JoinColumn

columnDefinition

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

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

getColumnDefinition

String getColumnDefinition()
Returns the column-definition attribute

Returns:
the value defined for the attribute column-definition

removeColumnDefinition

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

Returns:
the current instance of JoinColumn

table

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

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

getTable

String getTable()
Returns the table attribute

Returns:
the value defined for the attribute table

removeTable

JoinColumn<T> removeTable()
Removes the table attribute

Returns:
the current instance of JoinColumn

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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