ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface Embedded<T>
extends Child<T>

This interface defines the contract for the embedded xsd type

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

Method Summary
 AttributeOverride<Embedded<T>> createAttributeOverride()
          Creates a new attribute-override element
 List<AttributeOverride<Embedded<T>>> getAllAttributeOverride()
          Returns all attribute-override elements
 String getName()
          Returns the name attribute
 AttributeOverride<Embedded<T>> getOrCreateAttributeOverride()
          If not already created, a new attribute-override element will be created and returned.
 Embedded<T> name(String name)
          Sets the name attribute
 Embedded<T> removeAllAttributeOverride()
          Removes all attribute-override elements
 Embedded<T> removeName()
          Removes the name attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateAttributeOverride

AttributeOverride<Embedded<T>> getOrCreateAttributeOverride()
If not already created, a new attribute-override element will be created and returned. Otherwise, the first existing attribute-override element will be returned.

Returns:
the instance defined for the element attribute-override

createAttributeOverride

AttributeOverride<Embedded<T>> createAttributeOverride()
Creates a new attribute-override element

Returns:
the new created instance of AttributeOverride>

getAllAttributeOverride

List<AttributeOverride<Embedded<T>>> getAllAttributeOverride()
Returns all attribute-override elements

Returns:
list of attribute-override

removeAllAttributeOverride

Embedded<T> removeAllAttributeOverride()
Removes all attribute-override elements

Returns:
the current instance of AttributeOverride>

name

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

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

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

Embedded<T> removeName()
Removes the name attribute

Returns:
the current instance of Embedded

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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