ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface EmbeddableAttributes<T>
extends Child<T>

This interface defines the contract for the embeddable-attributes xsd type

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

Method Summary
 Basic<EmbeddableAttributes<T>> createBasic()
          Creates a new basic element
 ElementCollection<EmbeddableAttributes<T>> createElementCollection()
          Creates a new element-collection element
 Embedded<EmbeddableAttributes<T>> createEmbedded()
          Creates a new embedded element
 ManyToMany<EmbeddableAttributes<T>> createManyToMany()
          Creates a new many-to-many element
 ManyToOne<EmbeddableAttributes<T>> createManyToOne()
          Creates a new many-to-one element
 OneToMany<EmbeddableAttributes<T>> createOneToMany()
          Creates a new one-to-many element
 OneToOne<EmbeddableAttributes<T>> createOneToOne()
          Creates a new one-to-one element
 Transient<EmbeddableAttributes<T>> createTransient()
          Creates a new transient element
 List<Basic<EmbeddableAttributes<T>>> getAllBasic()
          Returns all basic elements
 List<ElementCollection<EmbeddableAttributes<T>>> getAllElementCollection()
          Returns all element-collection elements
 List<Embedded<EmbeddableAttributes<T>>> getAllEmbedded()
          Returns all embedded elements
 List<ManyToMany<EmbeddableAttributes<T>>> getAllManyToMany()
          Returns all many-to-many elements
 List<ManyToOne<EmbeddableAttributes<T>>> getAllManyToOne()
          Returns all many-to-one elements
 List<OneToMany<EmbeddableAttributes<T>>> getAllOneToMany()
          Returns all one-to-many elements
 List<OneToOne<EmbeddableAttributes<T>>> getAllOneToOne()
          Returns all one-to-one elements
 List<Transient<EmbeddableAttributes<T>>> getAllTransient()
          Returns all transient elements
 Basic<EmbeddableAttributes<T>> getOrCreateBasic()
          If not already created, a new basic element will be created and returned.
 ElementCollection<EmbeddableAttributes<T>> getOrCreateElementCollection()
          If not already created, a new element-collection element will be created and returned.
 Embedded<EmbeddableAttributes<T>> getOrCreateEmbedded()
          If not already created, a new embedded element will be created and returned.
 ManyToMany<EmbeddableAttributes<T>> getOrCreateManyToMany()
          If not already created, a new many-to-many element will be created and returned.
 ManyToOne<EmbeddableAttributes<T>> getOrCreateManyToOne()
          If not already created, a new many-to-one element will be created and returned.
 OneToMany<EmbeddableAttributes<T>> getOrCreateOneToMany()
          If not already created, a new one-to-many element will be created and returned.
 OneToOne<EmbeddableAttributes<T>> getOrCreateOneToOne()
          If not already created, a new one-to-one element will be created and returned.
 Transient<EmbeddableAttributes<T>> getOrCreateTransient()
          If not already created, a new transient element will be created and returned.
 EmbeddableAttributes<T> removeAllBasic()
          Removes all basic elements
 EmbeddableAttributes<T> removeAllElementCollection()
          Removes all element-collection elements
 EmbeddableAttributes<T> removeAllEmbedded()
          Removes all embedded elements
 EmbeddableAttributes<T> removeAllManyToMany()
          Removes all many-to-many elements
 EmbeddableAttributes<T> removeAllManyToOne()
          Removes all many-to-one elements
 EmbeddableAttributes<T> removeAllOneToMany()
          Removes all one-to-many elements
 EmbeddableAttributes<T> removeAllOneToOne()
          Removes all one-to-one elements
 EmbeddableAttributes<T> removeAllTransient()
          Removes all transient elements
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateBasic

Basic<EmbeddableAttributes<T>> getOrCreateBasic()
If not already created, a new basic element will be created and returned. Otherwise, the first existing basic element will be returned.

Returns:
the instance defined for the element basic

createBasic

Basic<EmbeddableAttributes<T>> createBasic()
Creates a new basic element

Returns:
the new created instance of Basic>

getAllBasic

List<Basic<EmbeddableAttributes<T>>> getAllBasic()
Returns all basic elements

Returns:
list of basic

removeAllBasic

EmbeddableAttributes<T> removeAllBasic()
Removes all basic elements

Returns:
the current instance of Basic>

getOrCreateManyToOne

ManyToOne<EmbeddableAttributes<T>> getOrCreateManyToOne()
If not already created, a new many-to-one element will be created and returned. Otherwise, the first existing many-to-one element will be returned.

Returns:
the instance defined for the element many-to-one

createManyToOne

ManyToOne<EmbeddableAttributes<T>> createManyToOne()
Creates a new many-to-one element

Returns:
the new created instance of ManyToOne>

getAllManyToOne

List<ManyToOne<EmbeddableAttributes<T>>> getAllManyToOne()
Returns all many-to-one elements

Returns:
list of many-to-one

removeAllManyToOne

EmbeddableAttributes<T> removeAllManyToOne()
Removes all many-to-one elements

Returns:
the current instance of ManyToOne>

getOrCreateOneToMany

OneToMany<EmbeddableAttributes<T>> getOrCreateOneToMany()
If not already created, a new one-to-many element will be created and returned. Otherwise, the first existing one-to-many element will be returned.

Returns:
the instance defined for the element one-to-many

createOneToMany

OneToMany<EmbeddableAttributes<T>> createOneToMany()
Creates a new one-to-many element

Returns:
the new created instance of OneToMany>

getAllOneToMany

List<OneToMany<EmbeddableAttributes<T>>> getAllOneToMany()
Returns all one-to-many elements

Returns:
list of one-to-many

removeAllOneToMany

EmbeddableAttributes<T> removeAllOneToMany()
Removes all one-to-many elements

Returns:
the current instance of OneToMany>

getOrCreateOneToOne

OneToOne<EmbeddableAttributes<T>> getOrCreateOneToOne()
If not already created, a new one-to-one element will be created and returned. Otherwise, the first existing one-to-one element will be returned.

Returns:
the instance defined for the element one-to-one

createOneToOne

OneToOne<EmbeddableAttributes<T>> createOneToOne()
Creates a new one-to-one element

Returns:
the new created instance of OneToOne>

getAllOneToOne

List<OneToOne<EmbeddableAttributes<T>>> getAllOneToOne()
Returns all one-to-one elements

Returns:
list of one-to-one

removeAllOneToOne

EmbeddableAttributes<T> removeAllOneToOne()
Removes all one-to-one elements

Returns:
the current instance of OneToOne>

getOrCreateManyToMany

ManyToMany<EmbeddableAttributes<T>> getOrCreateManyToMany()
If not already created, a new many-to-many element will be created and returned. Otherwise, the first existing many-to-many element will be returned.

Returns:
the instance defined for the element many-to-many

createManyToMany

ManyToMany<EmbeddableAttributes<T>> createManyToMany()
Creates a new many-to-many element

Returns:
the new created instance of ManyToMany>

getAllManyToMany

List<ManyToMany<EmbeddableAttributes<T>>> getAllManyToMany()
Returns all many-to-many elements

Returns:
list of many-to-many

removeAllManyToMany

EmbeddableAttributes<T> removeAllManyToMany()
Removes all many-to-many elements

Returns:
the current instance of ManyToMany>

getOrCreateElementCollection

ElementCollection<EmbeddableAttributes<T>> getOrCreateElementCollection()
If not already created, a new element-collection element will be created and returned. Otherwise, the first existing element-collection element will be returned.

Returns:
the instance defined for the element element-collection

createElementCollection

ElementCollection<EmbeddableAttributes<T>> createElementCollection()
Creates a new element-collection element

Returns:
the new created instance of ElementCollection>

getAllElementCollection

List<ElementCollection<EmbeddableAttributes<T>>> getAllElementCollection()
Returns all element-collection elements

Returns:
list of element-collection

removeAllElementCollection

EmbeddableAttributes<T> removeAllElementCollection()
Removes all element-collection elements

Returns:
the current instance of ElementCollection>

getOrCreateEmbedded

Embedded<EmbeddableAttributes<T>> getOrCreateEmbedded()
If not already created, a new embedded element will be created and returned. Otherwise, the first existing embedded element will be returned.

Returns:
the instance defined for the element embedded

createEmbedded

Embedded<EmbeddableAttributes<T>> createEmbedded()
Creates a new embedded element

Returns:
the new created instance of Embedded>

getAllEmbedded

List<Embedded<EmbeddableAttributes<T>>> getAllEmbedded()
Returns all embedded elements

Returns:
list of embedded

removeAllEmbedded

EmbeddableAttributes<T> removeAllEmbedded()
Removes all embedded elements

Returns:
the current instance of Embedded>

getOrCreateTransient

Transient<EmbeddableAttributes<T>> getOrCreateTransient()
If not already created, a new transient element will be created and returned. Otherwise, the first existing transient element will be returned.

Returns:
the instance defined for the element transient

createTransient

Transient<EmbeddableAttributes<T>> createTransient()
Creates a new transient element

Returns:
the new created instance of Transient>

getAllTransient

List<Transient<EmbeddableAttributes<T>>> getAllTransient()
Returns all transient elements

Returns:
list of transient

removeAllTransient

EmbeddableAttributes<T> removeAllTransient()
Removes all transient elements

Returns:
the current instance of Transient>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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