
public interface OneToMany<T> extends Child<T>, OrmOneToManyCommType<T,OneToMany<T>,MapKey<OneToMany<T>>,JoinTable<OneToMany<T>>,JoinColumn<OneToMany<T>>,CascadeType<OneToMany<T>>>
one-to-many xsd type| Modifier and Type | Method and Description |
|---|---|
JoinColumn<OneToMany<T>> |
createJoinColumn()
Creates a new
join-column element |
OneToMany<T> |
fetch(FetchType fetch)
Sets the
fetch attribute |
OneToMany<T> |
fetch(String fetch)
Sets the
fetch attribute |
List<JoinColumn<OneToMany<T>>> |
getAllJoinColumn()
Returns all
join-column elements |
FetchType |
getFetch()
Returns the
fetch attribute |
String |
getFetchAsString()
Returns the
fetch attribute |
String |
getMappedBy()
Returns the
mapped-by attribute |
String |
getName()
Returns the
name attribute |
CascadeType<OneToMany<T>> |
getOrCreateCascade()
If not already created, a new
cascade element with the given value will be created. |
JoinColumn<OneToMany<T>> |
getOrCreateJoinColumn()
If not already created, a new
join-column element will be created and returned. |
JoinTable<OneToMany<T>> |
getOrCreateJoinTable()
If not already created, a new
join-table element with the given value will be created. |
MapKey<OneToMany<T>> |
getOrCreateMapKey()
If not already created, a new
map-key element with the given value will be created. |
String |
getOrderBy()
Returns the
order-by element |
String |
getTargetEntity()
Returns the
target-entity attribute |
OneToMany<T> |
mappedBy(String mappedBy)
Sets the
mapped-by attribute |
OneToMany<T> |
name(String name)
Sets the
name attribute |
OneToMany<T> |
orderBy(String orderBy)
Sets the
order-by element |
OneToMany<T> |
removeAllJoinColumn()
Removes all
join-column elements |
OneToMany<T> |
removeCascade()
Removes the
cascade element |
OneToMany<T> |
removeFetch()
Removes the
fetch attribute |
OneToMany<T> |
removeJoinTable()
Removes the
join-table element |
OneToMany<T> |
removeMapKey()
Removes the
map-key element |
OneToMany<T> |
removeMappedBy()
Removes the
mapped-by attribute |
OneToMany<T> |
removeName()
Removes the
name attribute |
OneToMany<T> |
removeOrderBy()
Removes the
order-by element |
OneToMany<T> |
removeTargetEntity()
Removes the
target-entity attribute |
OneToMany<T> |
targetEntity(String targetEntity)
Sets the
target-entity attribute |
OneToMany<T> orderBy(String orderBy)
order-by elementorderBy - the value for the element order-byOneToManyString getOrderBy()
order-by elementorder-byOneToMany<T> removeOrderBy()
order-by elementOneToManyMapKey<OneToMany<T>> getOrCreateMapKey()
map-key element with the given value will be created.
Otherwise, the existing map-key element will be returned.MapKey> OneToMany<T> removeMapKey()
map-key elementOneToManyJoinTable<OneToMany<T>> getOrCreateJoinTable()
join-table element with the given value will be created.
Otherwise, the existing join-table element will be returned.JoinTable> OneToMany<T> removeJoinTable()
join-table elementOneToManyJoinColumn<OneToMany<T>> getOrCreateJoinColumn()
join-column element will be created and returned.
Otherwise, the first existing join-column element will be returned.join-columnJoinColumn<OneToMany<T>> createJoinColumn()
join-column elementJoinColumn> List<JoinColumn<OneToMany<T>>> getAllJoinColumn()
join-column elementsjoin-columnOneToMany<T> removeAllJoinColumn()
join-column elementsJoinColumn> CascadeType<OneToMany<T>> getOrCreateCascade()
cascade element with the given value will be created.
Otherwise, the existing cascade element will be returned.CascadeType> OneToMany<T> removeCascade()
cascade elementOneToManyOneToMany<T> name(String name)
name attributename - the value for the attribute nameOneToManyString getName()
name attributenameOneToMany<T> removeName()
name attributeOneToManyOneToMany<T> targetEntity(String targetEntity)
target-entity attributetargetEntity - the value for the attribute target-entityOneToManyString getTargetEntity()
target-entity attributetarget-entityOneToMany<T> removeTargetEntity()
target-entity attributeOneToManyOneToMany<T> fetch(FetchType fetch)
fetch attributefetch - the value for the attribute fetchOneToManyOneToMany<T> fetch(String fetch)
fetch attributefetch - the value for the attribute fetchOneToManyFetchType getFetch()
fetch attributefetchString getFetchAsString()
fetch attributefetchOneToMany<T> removeFetch()
fetch attributeOneToManyOneToMany<T> mappedBy(String mappedBy)
mapped-by attributemappedBy - the value for the attribute mapped-byOneToManyString getMappedBy()
mapped-by attributemapped-byCopyright © 2021 JBoss by Red Hat. All rights reserved.