ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface Version<T>
extends Child<T>

This interface defines the contract for the version xsd type

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

Method Summary
 String getName()
          Returns the name attribute
 Column<Version<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
 Version<T> name(String name)
          Sets the name attribute
 Version<T> removeColumn()
          Removes the column element
 Version<T> removeName()
          Removes the name attribute
 Version<T> removeTemporal()
          Removes the temporal attribute
 Version<T> temporal(String temporal)
          Sets the temporal element
 Version<T> temporal(TemporalType temporal)
          Sets the temporal element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateColumn

Column<Version<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

Version<T> removeColumn()
Removes the column element

Returns:
the current instance of Version

temporal

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

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

temporal

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

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

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

Version<T> removeTemporal()
Removes the temporal attribute

Returns:
the current instance of Version

name

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

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

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

Version<T> removeName()
Removes the name attribute

Returns:
the current instance of Version

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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