public interface ManyToMany<T> extends Child<T>
many-to-many
xsd typeModifier and Type | Method and Description |
---|---|
ManyToMany<T> |
fetch(FetchType fetch)
Sets the
fetch attribute |
ManyToMany<T> |
fetch(String fetch)
Sets the
fetch attribute |
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<ManyToMany<T>> |
getOrCreateCascade()
If not already created, a new
cascade element with the given value will be created. |
JoinTable<ManyToMany<T>> |
getOrCreateJoinTable()
If not already created, a new
join-table element with the given value will be created. |
MapKey<ManyToMany<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 |
ManyToMany<T> |
mappedBy(String mappedBy)
Sets the
mapped-by attribute |
ManyToMany<T> |
name(String name)
Sets the
name attribute |
ManyToMany<T> |
orderBy(String orderBy)
Sets the
order-by element |
ManyToMany<T> |
removeCascade()
Removes the
cascade element |
ManyToMany<T> |
removeFetch()
Removes the
fetch attribute |
ManyToMany<T> |
removeJoinTable()
Removes the
join-table element |
ManyToMany<T> |
removeMapKey()
Removes the
map-key element |
ManyToMany<T> |
removeMappedBy()
Removes the
mapped-by attribute |
ManyToMany<T> |
removeName()
Removes the
name attribute |
ManyToMany<T> |
removeOrderBy()
Removes the
order-by element |
ManyToMany<T> |
removeTargetEntity()
Removes the
target-entity attribute |
ManyToMany<T> |
targetEntity(String targetEntity)
Sets the
target-entity attribute |
ManyToMany<T> orderBy(String orderBy)
order-by
elementorderBy
- the value for the element order-by
ManyToMany
String getOrderBy()
order-by
elementorder-by
ManyToMany<T> removeOrderBy()
order-by
elementManyToMany
MapKey<ManyToMany<T>> getOrCreateMapKey()
map-key
element with the given value will be created.
Otherwise, the existing map-key
element will be returned.MapKey>
ManyToMany<T> removeMapKey()
map-key
elementManyToMany
JoinTable<ManyToMany<T>> getOrCreateJoinTable()
join-table
element with the given value will be created.
Otherwise, the existing join-table
element will be returned.JoinTable>
ManyToMany<T> removeJoinTable()
join-table
elementManyToMany
CascadeType<ManyToMany<T>> getOrCreateCascade()
cascade
element with the given value will be created.
Otherwise, the existing cascade
element will be returned.CascadeType>
ManyToMany<T> removeCascade()
cascade
elementManyToMany
ManyToMany<T> name(String name)
name
attributename
- the value for the attribute name
ManyToMany
String getName()
name
attributename
ManyToMany<T> removeName()
name
attributeManyToMany
ManyToMany<T> targetEntity(String targetEntity)
target-entity
attributetargetEntity
- the value for the attribute target-entity
ManyToMany
String getTargetEntity()
target-entity
attributetarget-entity
ManyToMany<T> removeTargetEntity()
target-entity
attributeManyToMany
ManyToMany<T> fetch(FetchType fetch)
fetch
attributefetch
- the value for the attribute fetch
ManyToMany
ManyToMany<T> fetch(String fetch)
fetch
attributefetch
- the value for the attribute fetch
ManyToMany
FetchType getFetch()
fetch
attributefetch
String getFetchAsString()
fetch
attributefetch
ManyToMany<T> removeFetch()
fetch
attributeManyToMany
ManyToMany<T> mappedBy(String mappedBy)
mapped-by
attributemappedBy
- the value for the attribute mapped-by
ManyToMany
String getMappedBy()
mapped-by
attributemapped-by
ManyToMany<T> removeMappedBy()
mapped-by
attributeManyToMany
Copyright © 2014 JBoss by Red Hat. All rights reserved.