ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface Attributes<T>
extends Child<T>

This interface defines the contract for the attributes xsd type

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

Method Summary
 Basic<Attributes<T>> createBasic()
          Creates a new basic element
 Embedded<Attributes<T>> createEmbedded()
          Creates a new embedded element
 Id<Attributes<T>> createId()
          Creates a new id element
 ManyToMany<Attributes<T>> createManyToMany()
          Creates a new many-to-many element
 ManyToOne<Attributes<T>> createManyToOne()
          Creates a new many-to-one element
 OneToMany<Attributes<T>> createOneToMany()
          Creates a new one-to-many element
 OneToOne<Attributes<T>> createOneToOne()
          Creates a new one-to-one element
 Transient<Attributes<T>> createTransient()
          Creates a new transient element
 Version<Attributes<T>> createVersion()
          Creates a new version element
 List<Basic<Attributes<T>>> getAllBasic()
          Returns all basic elements
 List<Embedded<Attributes<T>>> getAllEmbedded()
          Returns all embedded elements
 List<Id<Attributes<T>>> getAllId()
          Returns all id elements
 List<ManyToMany<Attributes<T>>> getAllManyToMany()
          Returns all many-to-many elements
 List<ManyToOne<Attributes<T>>> getAllManyToOne()
          Returns all many-to-one elements
 List<OneToMany<Attributes<T>>> getAllOneToMany()
          Returns all one-to-many elements
 List<OneToOne<Attributes<T>>> getAllOneToOne()
          Returns all one-to-one elements
 List<Transient<Attributes<T>>> getAllTransient()
          Returns all transient elements
 List<Version<Attributes<T>>> getAllVersion()
          Returns all version elements
 Basic<Attributes<T>> getOrCreateBasic()
          If not already created, a new basic element will be created and returned.
 Embedded<Attributes<T>> getOrCreateEmbedded()
          If not already created, a new embedded element will be created and returned.
 EmbeddedId<Attributes<T>> getOrCreateEmbeddedId()
          If not already created, a new embedded-id element with the given value will be created.
 Id<Attributes<T>> getOrCreateId()
          If not already created, a new id element will be created and returned.
 ManyToMany<Attributes<T>> getOrCreateManyToMany()
          If not already created, a new many-to-many element will be created and returned.
 ManyToOne<Attributes<T>> getOrCreateManyToOne()
          If not already created, a new many-to-one element will be created and returned.
 OneToMany<Attributes<T>> getOrCreateOneToMany()
          If not already created, a new one-to-many element will be created and returned.
 OneToOne<Attributes<T>> getOrCreateOneToOne()
          If not already created, a new one-to-one element will be created and returned.
 Transient<Attributes<T>> getOrCreateTransient()
          If not already created, a new transient element will be created and returned.
 Version<Attributes<T>> getOrCreateVersion()
          If not already created, a new version element will be created and returned.
 Attributes<T> removeAllBasic()
          Removes all basic elements
 Attributes<T> removeAllEmbedded()
          Removes all embedded elements
 Attributes<T> removeAllId()
          Removes all id elements
 Attributes<T> removeAllManyToMany()
          Removes all many-to-many elements
 Attributes<T> removeAllManyToOne()
          Removes all many-to-one elements
 Attributes<T> removeAllOneToMany()
          Removes all one-to-many elements
 Attributes<T> removeAllOneToOne()
          Removes all one-to-one elements
 Attributes<T> removeAllTransient()
          Removes all transient elements
 Attributes<T> removeAllVersion()
          Removes all version elements
 Attributes<T> removeEmbeddedId()
          Removes the embedded-id element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateId

Id<Attributes<T>> getOrCreateId()
If not already created, a new id element will be created and returned. Otherwise, the first existing id element will be returned.

Returns:
the instance defined for the element id

createId

Id<Attributes<T>> createId()
Creates a new id element

Returns:
the new created instance of Id>

getAllId

List<Id<Attributes<T>>> getAllId()
Returns all id elements

Returns:
list of id

removeAllId

Attributes<T> removeAllId()
Removes all id elements

Returns:
the current instance of Id>

getOrCreateEmbeddedId

EmbeddedId<Attributes<T>> getOrCreateEmbeddedId()
If not already created, a new embedded-id element with the given value will be created. Otherwise, the existing embedded-id element will be returned.

Returns:
a new or existing instance of EmbeddedId>

removeEmbeddedId

Attributes<T> removeEmbeddedId()
Removes the embedded-id element

Returns:
the current instance of Attributes

getOrCreateBasic

Basic<Attributes<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<Attributes<T>> createBasic()
Creates a new basic element

Returns:
the new created instance of Basic>

getAllBasic

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

Returns:
list of basic

removeAllBasic

Attributes<T> removeAllBasic()
Removes all basic elements

Returns:
the current instance of Basic>

getOrCreateVersion

Version<Attributes<T>> getOrCreateVersion()
If not already created, a new version element will be created and returned. Otherwise, the first existing version element will be returned.

Returns:
the instance defined for the element version

createVersion

Version<Attributes<T>> createVersion()
Creates a new version element

Returns:
the new created instance of Version>

getAllVersion

List<Version<Attributes<T>>> getAllVersion()
Returns all version elements

Returns:
list of version

removeAllVersion

Attributes<T> removeAllVersion()
Removes all version elements

Returns:
the current instance of Version>

getOrCreateManyToOne

ManyToOne<Attributes<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<Attributes<T>> createManyToOne()
Creates a new many-to-one element

Returns:
the new created instance of ManyToOne>

getAllManyToOne

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

Returns:
list of many-to-one

removeAllManyToOne

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

Returns:
the current instance of ManyToOne>

getOrCreateOneToMany

OneToMany<Attributes<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<Attributes<T>> createOneToMany()
Creates a new one-to-many element

Returns:
the new created instance of OneToMany>

getAllOneToMany

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

Returns:
list of one-to-many

removeAllOneToMany

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

Returns:
the current instance of OneToMany>

getOrCreateOneToOne

OneToOne<Attributes<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<Attributes<T>> createOneToOne()
Creates a new one-to-one element

Returns:
the new created instance of OneToOne>

getAllOneToOne

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

Returns:
list of one-to-one

removeAllOneToOne

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

Returns:
the current instance of OneToOne>

getOrCreateManyToMany

ManyToMany<Attributes<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<Attributes<T>> createManyToMany()
Creates a new many-to-many element

Returns:
the new created instance of ManyToMany>

getAllManyToMany

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

Returns:
list of many-to-many

removeAllManyToMany

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

Returns:
the current instance of ManyToMany>

getOrCreateEmbedded

Embedded<Attributes<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<Attributes<T>> createEmbedded()
Creates a new embedded element

Returns:
the new created instance of Embedded>

getAllEmbedded

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

Returns:
list of embedded

removeAllEmbedded

Attributes<T> removeAllEmbedded()
Removes all embedded elements

Returns:
the current instance of Embedded>

getOrCreateTransient

Transient<Attributes<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<Attributes<T>> createTransient()
Creates a new transient element

Returns:
the new created instance of Transient>

getAllTransient

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

Returns:
list of transient

removeAllTransient

Attributes<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.