ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface AttributeOverride<T>
extends Child<T>

This interface defines the contract for the attribute-override 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<AttributeOverride<T>> getOrCreateColumn()
          If not already created, a new column element with the given value will be created.
 AttributeOverride<T> name(String name)
          Sets the name attribute
 AttributeOverride<T> removeColumn()
          Removes the column element
 AttributeOverride<T> removeName()
          Removes the name attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateColumn

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

AttributeOverride<T> removeColumn()
Removes the column element

Returns:
the current instance of AttributeOverride

name

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

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

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

AttributeOverride<T> removeName()
Removes the name attribute

Returns:
the current instance of AttributeOverride

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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