ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface DiscriminatorColumn<T>
extends Child<T>

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

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

Method Summary
 DiscriminatorColumn<T> columnDefinition(String columnDefinition)
          Sets the column-definition attribute
 DiscriminatorColumn<T> discriminatorType(DiscriminatorType discriminatorType)
          Sets the discriminator-type attribute
 DiscriminatorColumn<T> discriminatorType(String discriminatorType)
          Sets the discriminator-type attribute
 String getColumnDefinition()
          Returns the column-definition attribute
 DiscriminatorType getDiscriminatorType()
          Returns the discriminator-type attribute
 String getDiscriminatorTypeAsString()
          Returns the discriminator-type attribute
 Integer getLength()
          Returns the length attribute
 String getName()
          Returns the name attribute
 DiscriminatorColumn<T> length(Integer length)
          Sets the length attribute
 DiscriminatorColumn<T> name(String name)
          Sets the name attribute
 DiscriminatorColumn<T> removeColumnDefinition()
          Removes the column-definition attribute
 DiscriminatorColumn<T> removeDiscriminatorType()
          Removes the discriminator-type attribute
 DiscriminatorColumn<T> removeLength()
          Removes the length attribute
 DiscriminatorColumn<T> removeName()
          Removes the name attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

name

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

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

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

DiscriminatorColumn<T> removeName()
Removes the name attribute

Returns:
the current instance of DiscriminatorColumn

discriminatorType

DiscriminatorColumn<T> discriminatorType(DiscriminatorType discriminatorType)
Sets the discriminator-type attribute

Parameters:
discriminatorType - the value for the attribute discriminator-type
Returns:
the current instance of DiscriminatorColumn

discriminatorType

DiscriminatorColumn<T> discriminatorType(String discriminatorType)
Sets the discriminator-type attribute

Parameters:
discriminatorType - the value for the attribute discriminator-type
Returns:
the current instance of DiscriminatorColumn

getDiscriminatorType

DiscriminatorType getDiscriminatorType()
Returns the discriminator-type attribute

Returns:
the value defined for the attribute discriminator-type

getDiscriminatorTypeAsString

String getDiscriminatorTypeAsString()
Returns the discriminator-type attribute

Returns:
the value found for the element discriminator-type

removeDiscriminatorType

DiscriminatorColumn<T> removeDiscriminatorType()
Removes the discriminator-type attribute

Returns:
the current instance of DiscriminatorColumn

columnDefinition

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

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

getColumnDefinition

String getColumnDefinition()
Returns the column-definition attribute

Returns:
the value defined for the attribute column-definition

removeColumnDefinition

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

Returns:
the current instance of DiscriminatorColumn

length

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

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

getLength

Integer getLength()
Returns the length attribute

Returns:
the value defined for the attribute length

removeLength

DiscriminatorColumn<T> removeLength()
Removes the length attribute

Returns:
the current instance of DiscriminatorColumn

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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