public interface Attributes<T> extends Child<T>, OrmAttributesCommType<T,Attributes<T>,Id<Attributes<T>>,EmbeddedId<Attributes<T>>,Basic<Attributes<T>>,Version<Attributes<T>>,ManyToOne<Attributes<T>>,OneToMany<Attributes<T>>,OneToOne<Attributes<T>>,ManyToMany<Attributes<T>>,Embedded<Attributes<T>>,Transient<Attributes<T>>>
attributes
xsd typeModifier and Type | Method and Description |
---|---|
Basic<Attributes<T>> |
createBasic()
Creates a new
basic element |
ElementCollection<Attributes<T>> |
createElementCollection()
Creates a new
element-collection 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 |
Attributes<T> |
description(String description)
Sets the
description element |
List<Basic<Attributes<T>>> |
getAllBasic()
Returns all
basic elements |
List<ElementCollection<Attributes<T>>> |
getAllElementCollection()
Returns all
element-collection 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<String> |
getAllVersion()
Returns all
version elements |
String |
getDescription()
Returns the
description element |
Basic<Attributes<T>> |
getOrCreateBasic()
If not already created, a new
basic element will be created and returned. |
ElementCollection<Attributes<T>> |
getOrCreateElementCollection()
If not already created, a new
element-collection 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. |
Attributes<T> |
removeAllBasic()
Removes all
basic elements |
Attributes<T> |
removeAllElementCollection()
Removes all
element-collection 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 the
version element |
Attributes<T> |
removeDescription()
Removes the
description element |
Attributes<T> |
removeEmbeddedId()
Removes the
embedded-id element |
Attributes<T> |
version(String... values)
Creates for all String objects representing
version elements,
a new version element |
Attributes<T> description(String description)
description
elementdescription
- the value for the element description
Attributes
String getDescription()
description
elementdescription
Attributes<T> removeDescription()
description
elementAttributes
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
elementId>
List<Id<Attributes<T>>> getAllId()
id
elementsid
Attributes<T> removeAllId()
id
elementsId>
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
elementAttributes
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
elementBasic>
List<Basic<Attributes<T>>> getAllBasic()
basic
elementsbasic
Attributes<T> removeAllBasic()
basic
elementsBasic>
Attributes<T> version(String... values)
version
elements,
a new version
elementvalues
- list of version
objectsAttributes
Attributes<T> removeAllVersion()
version
elementAttributes
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
elementManyToOne>
List<ManyToOne<Attributes<T>>> getAllManyToOne()
many-to-one
elementsmany-to-one
Attributes<T> removeAllManyToOne()
many-to-one
elementsManyToOne>
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
elementOneToMany>
List<OneToMany<Attributes<T>>> getAllOneToMany()
one-to-many
elementsone-to-many
Attributes<T> removeAllOneToMany()
one-to-many
elementsOneToMany>
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
elementOneToOne>
List<OneToOne<Attributes<T>>> getAllOneToOne()
one-to-one
elementsone-to-one
Attributes<T> removeAllOneToOne()
one-to-one
elementsOneToOne>
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
elementManyToMany>
List<ManyToMany<Attributes<T>>> getAllManyToMany()
many-to-many
elementsmany-to-many
Attributes<T> removeAllManyToMany()
many-to-many
elementsManyToMany>
ElementCollection<Attributes<T>> getOrCreateElementCollection()
element-collection
element will be created and returned.
Otherwise, the first existing element-collection
element will be returned.element-collection
ElementCollection<Attributes<T>> createElementCollection()
element-collection
elementElementCollection>
List<ElementCollection<Attributes<T>>> getAllElementCollection()
element-collection
elementselement-collection
Attributes<T> removeAllElementCollection()
element-collection
elementsElementCollection>
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
elementEmbedded>
List<Embedded<Attributes<T>>> getAllEmbedded()
embedded
elementsembedded
Attributes<T> removeAllEmbedded()
embedded
elementsEmbedded>
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
elementTransient>
List<Transient<Attributes<T>>> getAllTransient()
transient
elementstransient
Attributes<T> removeAllTransient()
transient
elementsTransient>
Copyright © 2018 JBoss by Red Hat. All rights reserved.