public interface ManyToMany<T> extends Child<T>, OrmManyToManyCommType<T,ManyToMany<T>,MapKey<ManyToMany<T>>,JoinTable<ManyToMany<T>>,CascadeType<ManyToMany<T>>>
many-to-many
xsd typeModifier and Type | Method and Description |
---|---|
ManyToMany<T> |
access(AccessType access)
Sets the
access attribute |
ManyToMany<T> |
access(String access)
Sets the
access attribute |
AttributeOverride<ManyToMany<T>> |
createMapKeyAttributeOverride()
Creates a new
map-key-attribute-override element |
MapKeyJoinColumn<ManyToMany<T>> |
createMapKeyJoinColumn()
Creates a new
map-key-join-column element |
ManyToMany<T> |
fetch(FetchType fetch)
Sets the
fetch attribute |
ManyToMany<T> |
fetch(String fetch)
Sets the
fetch attribute |
AccessType |
getAccess()
Returns the
access attribute |
String |
getAccessAsString()
Returns the
access attribute |
List<AttributeOverride<ManyToMany<T>>> |
getAllMapKeyAttributeOverride()
Returns all
map-key-attribute-override elements |
List<MapKeyJoinColumn<ManyToMany<T>>> |
getAllMapKeyJoinColumn()
Returns all
map-key-join-column elements |
FetchType |
getFetch()
Returns the
fetch attribute |
String |
getFetchAsString()
Returns the
fetch attribute |
EnumType |
getMapKeyEnumerated()
Returns the
map-key-enumerated element |
String |
getMapKeyEnumeratedAsString()
Returns the
map-key-enumerated element |
TemporalType |
getMapKeyTemporal()
Returns the
map-key-temporal element |
String |
getMapKeyTemporalAsString()
Returns the
map-key-temporal element |
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. |
AttributeOverride<ManyToMany<T>> |
getOrCreateMapKeyAttributeOverride()
If not already created, a new
map-key-attribute-override element will be created and returned. |
MapKeyClass<ManyToMany<T>> |
getOrCreateMapKeyClass()
If not already created, a new
map-key-class element with the given value will be created. |
MapKeyColumn<ManyToMany<T>> |
getOrCreateMapKeyColumn()
If not already created, a new
map-key-column element with the given value will be created. |
MapKeyJoinColumn<ManyToMany<T>> |
getOrCreateMapKeyJoinColumn()
If not already created, a new
map-key-join-column element will be created and returned. |
OrderColumn<ManyToMany<T>> |
getOrCreateOrderColumn()
If not already created, a new
order-column element with the given value will be created. |
String |
getOrderBy()
Returns the
order-by element |
String |
getTargetEntity()
Returns the
target-entity attribute |
ManyToMany<T> |
mapKeyEnumerated(EnumType mapKeyEnumerated)
Sets the
map-key-enumerated element |
ManyToMany<T> |
mapKeyEnumerated(String mapKeyEnumerated)
Sets the
map-key-enumerated element |
ManyToMany<T> |
mapKeyTemporal(String mapKeyTemporal)
Sets the
map-key-temporal element |
ManyToMany<T> |
mapKeyTemporal(TemporalType mapKeyTemporal)
Sets the
map-key-temporal element |
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> |
removeAccess()
Removes the
access attribute |
ManyToMany<T> |
removeAllMapKeyAttributeOverride()
Removes all
map-key-attribute-override elements |
ManyToMany<T> |
removeAllMapKeyJoinColumn()
Removes all
map-key-join-column elements |
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> |
removeMapKeyClass()
Removes the
map-key-class element |
ManyToMany<T> |
removeMapKeyColumn()
Removes the
map-key-column element |
ManyToMany<T> |
removeMapKeyEnumerated()
Removes the
map-key-enumerated attribute |
ManyToMany<T> |
removeMapKeyTemporal()
Removes the
map-key-temporal attribute |
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> |
removeOrderColumn()
Removes the
order-column 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
OrderColumn<ManyToMany<T>> getOrCreateOrderColumn()
order-column
element with the given value will be created.
Otherwise, the existing order-column
element will be returned.OrderColumn>
ManyToMany<T> removeOrderColumn()
order-column
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
MapKeyClass<ManyToMany<T>> getOrCreateMapKeyClass()
map-key-class
element with the given value will be created.
Otherwise, the existing map-key-class
element will be returned.MapKeyClass>
ManyToMany<T> removeMapKeyClass()
map-key-class
elementManyToMany
ManyToMany<T> mapKeyTemporal(TemporalType mapKeyTemporal)
map-key-temporal
elementmapKeyTemporal
- the value for the element map-key-temporal
ManyToMany
ManyToMany<T> mapKeyTemporal(String mapKeyTemporal)
map-key-temporal
elementmapKeyTemporal
- the value for the element map-key-temporal
ManyToMany
TemporalType getMapKeyTemporal()
map-key-temporal
elementmap-key-temporal
String getMapKeyTemporalAsString()
map-key-temporal
elementmap-key-temporal
ManyToMany<T> removeMapKeyTemporal()
map-key-temporal
attributeManyToMany
ManyToMany<T> mapKeyEnumerated(EnumType mapKeyEnumerated)
map-key-enumerated
elementmapKeyEnumerated
- the value for the element map-key-enumerated
ManyToMany
ManyToMany<T> mapKeyEnumerated(String mapKeyEnumerated)
map-key-enumerated
elementmapKeyEnumerated
- the value for the element map-key-enumerated
ManyToMany
EnumType getMapKeyEnumerated()
map-key-enumerated
elementmap-key-enumerated
String getMapKeyEnumeratedAsString()
map-key-enumerated
elementmap-key-enumerated
ManyToMany<T> removeMapKeyEnumerated()
map-key-enumerated
attributeManyToMany
AttributeOverride<ManyToMany<T>> getOrCreateMapKeyAttributeOverride()
map-key-attribute-override
element will be created and returned.
Otherwise, the first existing map-key-attribute-override
element will be returned.map-key-attribute-override
AttributeOverride<ManyToMany<T>> createMapKeyAttributeOverride()
map-key-attribute-override
elementAttributeOverride>
List<AttributeOverride<ManyToMany<T>>> getAllMapKeyAttributeOverride()
map-key-attribute-override
elementsmap-key-attribute-override
ManyToMany<T> removeAllMapKeyAttributeOverride()
map-key-attribute-override
elementsAttributeOverride>
MapKeyColumn<ManyToMany<T>> getOrCreateMapKeyColumn()
map-key-column
element with the given value will be created.
Otherwise, the existing map-key-column
element will be returned.MapKeyColumn>
ManyToMany<T> removeMapKeyColumn()
map-key-column
elementManyToMany
MapKeyJoinColumn<ManyToMany<T>> getOrCreateMapKeyJoinColumn()
map-key-join-column
element will be created and returned.
Otherwise, the first existing map-key-join-column
element will be returned.map-key-join-column
MapKeyJoinColumn<ManyToMany<T>> createMapKeyJoinColumn()
map-key-join-column
elementMapKeyJoinColumn>
List<MapKeyJoinColumn<ManyToMany<T>>> getAllMapKeyJoinColumn()
map-key-join-column
elementsmap-key-join-column
ManyToMany<T> removeAllMapKeyJoinColumn()
map-key-join-column
elementsMapKeyJoinColumn>
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> access(AccessType access)
access
attributeaccess
- the value for the attribute access
ManyToMany
ManyToMany<T> access(String access)
access
attributeaccess
- the value for the attribute access
ManyToMany
AccessType getAccess()
access
attributeaccess
String getAccessAsString()
access
attributeaccess
ManyToMany<T> removeAccess()
access
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 © 2020 JBoss by Red Hat. All rights reserved.