|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Attributes<T>
This interface defines the contract for the attributes
xsd type
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 |
---|
Id<Attributes<T>> getOrCreateId()
id
element will be created and returned.
Otherwise, the first existing id
element will be returned.
id
Id<Attributes<T>> createId()
id
element
Id>
List<Id<Attributes<T>>> getAllId()
id
elements
id
Attributes<T> removeAllId()
id
elements
Id>
EmbeddedId<Attributes<T>> getOrCreateEmbeddedId()
embedded-id
element with the given value will be created.
Otherwise, the existing embedded-id
element will be returned.
EmbeddedId>
Attributes<T> removeEmbeddedId()
embedded-id
element
Attributes
Basic<Attributes<T>> getOrCreateBasic()
basic
element will be created and returned.
Otherwise, the first existing basic
element will be returned.
basic
Basic<Attributes<T>> createBasic()
basic
element
Basic>
List<Basic<Attributes<T>>> getAllBasic()
basic
elements
basic
Attributes<T> removeAllBasic()
basic
elements
Basic>
Version<Attributes<T>> getOrCreateVersion()
version
element will be created and returned.
Otherwise, the first existing version
element will be returned.
version
Version<Attributes<T>> createVersion()
version
element
Version>
List<Version<Attributes<T>>> getAllVersion()
version
elements
version
Attributes<T> removeAllVersion()
version
elements
Version>
ManyToOne<Attributes<T>> getOrCreateManyToOne()
many-to-one
element will be created and returned.
Otherwise, the first existing many-to-one
element will be returned.
many-to-one
ManyToOne<Attributes<T>> createManyToOne()
many-to-one
element
ManyToOne>
List<ManyToOne<Attributes<T>>> getAllManyToOne()
many-to-one
elements
many-to-one
Attributes<T> removeAllManyToOne()
many-to-one
elements
ManyToOne>
OneToMany<Attributes<T>> getOrCreateOneToMany()
one-to-many
element will be created and returned.
Otherwise, the first existing one-to-many
element will be returned.
one-to-many
OneToMany<Attributes<T>> createOneToMany()
one-to-many
element
OneToMany>
List<OneToMany<Attributes<T>>> getAllOneToMany()
one-to-many
elements
one-to-many
Attributes<T> removeAllOneToMany()
one-to-many
elements
OneToMany>
OneToOne<Attributes<T>> getOrCreateOneToOne()
one-to-one
element will be created and returned.
Otherwise, the first existing one-to-one
element will be returned.
one-to-one
OneToOne<Attributes<T>> createOneToOne()
one-to-one
element
OneToOne>
List<OneToOne<Attributes<T>>> getAllOneToOne()
one-to-one
elements
one-to-one
Attributes<T> removeAllOneToOne()
one-to-one
elements
OneToOne>
ManyToMany<Attributes<T>> getOrCreateManyToMany()
many-to-many
element will be created and returned.
Otherwise, the first existing many-to-many
element will be returned.
many-to-many
ManyToMany<Attributes<T>> createManyToMany()
many-to-many
element
ManyToMany>
List<ManyToMany<Attributes<T>>> getAllManyToMany()
many-to-many
elements
many-to-many
Attributes<T> removeAllManyToMany()
many-to-many
elements
ManyToMany>
Embedded<Attributes<T>> getOrCreateEmbedded()
embedded
element will be created and returned.
Otherwise, the first existing embedded
element will be returned.
embedded
Embedded<Attributes<T>> createEmbedded()
embedded
element
Embedded>
List<Embedded<Attributes<T>>> getAllEmbedded()
embedded
elements
embedded
Attributes<T> removeAllEmbedded()
embedded
elements
Embedded>
Transient<Attributes<T>> getOrCreateTransient()
transient
element will be created and returned.
Otherwise, the first existing transient
element will be returned.
transient
Transient<Attributes<T>> createTransient()
transient
element
Transient>
List<Transient<Attributes<T>>> getAllTransient()
transient
elements
transient
Attributes<T> removeAllTransient()
transient
elements
Transient>
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |