ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm20
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:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 Embedded<T> access(AccessType access)
          Sets the access attribute
 Embedded<T> access(String access)
          Sets the access attribute
 AssociationOverride<Embedded<T>> createAssociationOverride()
          Creates a new association-override element
 AttributeOverride<Embedded<T>> createAttributeOverride()
          Creates a new attribute-override element
 AccessType getAccess()
          Returns the access attribute
 String getAccessAsString()
          Returns the access attribute
 List<AssociationOverride<Embedded<T>>> getAllAssociationOverride()
          Returns all association-override elements
 List<AttributeOverride<Embedded<T>>> getAllAttributeOverride()
          Returns all attribute-override elements
 String getName()
          Returns the name attribute
 AssociationOverride<Embedded<T>> getOrCreateAssociationOverride()
          If not already created, a new association-override element will be created and returned.
 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> removeAccess()
          Removes the access attribute
 Embedded<T> removeAllAssociationOverride()
          Removes all association-override elements
 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>

getOrCreateAssociationOverride

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

Returns:
the instance defined for the element association-override

createAssociationOverride

AssociationOverride<Embedded<T>> createAssociationOverride()
Creates a new association-override element

Returns:
the new created instance of AssociationOverride>

getAllAssociationOverride

List<AssociationOverride<Embedded<T>>> getAllAssociationOverride()
Returns all association-override elements

Returns:
list of association-override

removeAllAssociationOverride

Embedded<T> removeAllAssociationOverride()
Removes all association-override elements

Returns:
the current instance of AssociationOverride>

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

access

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

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

access

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

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

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

Embedded<T> removeAccess()
Removes the access 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.