ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface Basic<T>
extends Child<T>

This interface defines the contract for the basic xsd type

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

Method Summary
 Basic<T> access(AccessType access)
          Sets the access attribute
 Basic<T> access(String access)
          Sets the access attribute
 Basic<T> enumerated(EnumType enumerated)
          Sets the enumerated element
 Basic<T> enumerated(String enumerated)
          Sets the enumerated element
 Basic<T> fetch(FetchType fetch)
          Sets the fetch attribute
 Basic<T> fetch(String fetch)
          Sets the fetch attribute
 AccessType getAccess()
          Returns the access attribute
 String getAccessAsString()
          Returns the access attribute
 EnumType getEnumerated()
          Returns the enumerated element
 String getEnumeratedAsString()
          Returns the enumerated element
 FetchType getFetch()
          Returns the fetch attribute
 String getFetchAsString()
          Returns the fetch attribute
 String getName()
          Returns the name attribute
 Column<Basic<T>> getOrCreateColumn()
          If not already created, a new column element with the given value will be created.
 TemporalType getTemporal()
          Returns the temporal element
 String getTemporalAsString()
          Returns the temporal element
 Boolean isLob()
          Removes the lob element
 Boolean isOptional()
          Returns the optional attribute
 Basic<T> lob()
          Sets the lob element
 Basic<T> name(String name)
          Sets the name attribute
 Basic<T> optional(Boolean optional)
          Sets the optional attribute
 Basic<T> removeAccess()
          Removes the access attribute
 Basic<T> removeColumn()
          Removes the column element
 Basic<T> removeEnumerated()
          Removes the enumerated attribute
 Basic<T> removeFetch()
          Removes the fetch attribute
 Basic<T> removeLob()
          Removes the lob element
 Basic<T> removeName()
          Removes the name attribute
 Basic<T> removeOptional()
          Removes the optional attribute
 Basic<T> removeTemporal()
          Removes the temporal attribute
 Basic<T> temporal(String temporal)
          Sets the temporal element
 Basic<T> temporal(TemporalType temporal)
          Sets the temporal element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateColumn

Column<Basic<T>> getOrCreateColumn()
If not already created, a new column element with the given value will be created. Otherwise, the existing column element will be returned.

Returns:
a new or existing instance of Column>

removeColumn

Basic<T> removeColumn()
Removes the column element

Returns:
the current instance of Basic

lob

Basic<T> lob()
Sets the lob element

Returns:
the current instance of Basic

isLob

Boolean isLob()
Removes the lob element

Returns:
the current instance of Basic

removeLob

Basic<T> removeLob()
Removes the lob element

Returns:
the current instance of Basic

temporal

Basic<T> temporal(TemporalType temporal)
Sets the temporal element

Parameters:
temporal - the value for the element temporal
Returns:
the current instance of Basic

temporal

Basic<T> temporal(String temporal)
Sets the temporal element

Parameters:
temporal - the value for the element temporal
Returns:
the current instance of Basic

getTemporal

TemporalType getTemporal()
Returns the temporal element

Returns:
the value found for the element temporal

getTemporalAsString

String getTemporalAsString()
Returns the temporal element

Returns:
the value found for the element temporal

removeTemporal

Basic<T> removeTemporal()
Removes the temporal attribute

Returns:
the current instance of Basic

enumerated

Basic<T> enumerated(EnumType enumerated)
Sets the enumerated element

Parameters:
enumerated - the value for the element enumerated
Returns:
the current instance of Basic

enumerated

Basic<T> enumerated(String enumerated)
Sets the enumerated element

Parameters:
enumerated - the value for the element enumerated
Returns:
the current instance of Basic

getEnumerated

EnumType getEnumerated()
Returns the enumerated element

Returns:
the value found for the element enumerated

getEnumeratedAsString

String getEnumeratedAsString()
Returns the enumerated element

Returns:
the value found for the element enumerated

removeEnumerated

Basic<T> removeEnumerated()
Removes the enumerated attribute

Returns:
the current instance of Basic

name

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

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

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

Basic<T> removeName()
Removes the name attribute

Returns:
the current instance of Basic

fetch

Basic<T> fetch(FetchType fetch)
Sets the fetch attribute

Parameters:
fetch - the value for the attribute fetch
Returns:
the current instance of Basic

fetch

Basic<T> fetch(String fetch)
Sets the fetch attribute

Parameters:
fetch - the value for the attribute fetch
Returns:
the current instance of Basic

getFetch

FetchType getFetch()
Returns the fetch attribute

Returns:
the value defined for the attribute fetch

getFetchAsString

String getFetchAsString()
Returns the fetch attribute

Returns:
the value found for the element fetch

removeFetch

Basic<T> removeFetch()
Removes the fetch attribute

Returns:
the current instance of Basic

optional

Basic<T> optional(Boolean optional)
Sets the optional attribute

Parameters:
optional - the value for the attribute optional
Returns:
the current instance of Basic

isOptional

Boolean isOptional()
Returns the optional attribute

Returns:
the value defined for the attribute optional

removeOptional

Basic<T> removeOptional()
Removes the optional attribute

Returns:
the current instance of Basic

access

Basic<T> access(AccessType access)
Sets the access attribute

Parameters:
access - the value for the attribute access
Returns:
the current instance of Basic

access

Basic<T> access(String access)
Sets the access attribute

Parameters:
access - the value for the attribute access
Returns:
the current instance of Basic

getAccess

AccessType getAccess()
Returns the access attribute

Returns:
the value defined for the attribute access

getAccessAsString

String getAccessAsString()
Returns the access attribute

Returns:
the value found for the element access

removeAccess

Basic<T> removeAccess()
Removes the access attribute

Returns:
the current instance of Basic

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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