public interface OneToMany<T> extends Child<T>
one-to-many
xsd typeModifier and Type | Method and Description |
---|---|
OneToMany<T> |
access(AccessType access)
Sets the
access attribute |
OneToMany<T> |
access(String access)
Sets the
access attribute |
JoinColumn<OneToMany<T>> |
createJoinColumn()
Creates a new
join-column element |
AttributeOverride<OneToMany<T>> |
createMapKeyAttributeOverride()
Creates a new
map-key-attribute-override element |
MapKeyJoinColumn<OneToMany<T>> |
createMapKeyJoinColumn()
Creates a new
map-key-join-column element |
OneToMany<T> |
fetch(FetchType fetch)
Sets the
fetch attribute |
OneToMany<T> |
fetch(String fetch)
Sets the
fetch attribute |
AccessType |
getAccess()
Returns the
access attribute |
String |
getAccessAsString()
Returns the
access attribute |
List<JoinColumn<OneToMany<T>>> |
getAllJoinColumn()
Returns all
join-column elements |
List<AttributeOverride<OneToMany<T>>> |
getAllMapKeyAttributeOverride()
Returns all
map-key-attribute-override elements |
List<MapKeyJoinColumn<OneToMany<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<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. |
AttributeOverride<OneToMany<T>> |
getOrCreateMapKeyAttributeOverride()
If not already created, a new
map-key-attribute-override element will be created and returned. |
MapKeyClass<OneToMany<T>> |
getOrCreateMapKeyClass()
If not already created, a new
map-key-class element with the given value will be created. |
MapKeyColumn<OneToMany<T>> |
getOrCreateMapKeyColumn()
If not already created, a new
map-key-column element with the given value will be created. |
MapKeyJoinColumn<OneToMany<T>> |
getOrCreateMapKeyJoinColumn()
If not already created, a new
map-key-join-column element will be created and returned. |
OrderColumn<OneToMany<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 |
Boolean |
isOrphanRemoval()
Returns the
orphan-removal attribute |
OneToMany<T> |
mapKeyEnumerated(EnumType mapKeyEnumerated)
Sets the
map-key-enumerated element |
OneToMany<T> |
mapKeyEnumerated(String mapKeyEnumerated)
Sets the
map-key-enumerated element |
OneToMany<T> |
mapKeyTemporal(String mapKeyTemporal)
Sets the
map-key-temporal element |
OneToMany<T> |
mapKeyTemporal(TemporalType mapKeyTemporal)
Sets the
map-key-temporal element |
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> |
orphanRemoval(Boolean orphanRemoval)
Sets the
orphan-removal attribute |
OneToMany<T> |
removeAccess()
Removes the
access attribute |
OneToMany<T> |
removeAllJoinColumn()
Removes all
join-column elements |
OneToMany<T> |
removeAllMapKeyAttributeOverride()
Removes all
map-key-attribute-override elements |
OneToMany<T> |
removeAllMapKeyJoinColumn()
Removes all
map-key-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> |
removeMapKeyClass()
Removes the
map-key-class element |
OneToMany<T> |
removeMapKeyColumn()
Removes the
map-key-column element |
OneToMany<T> |
removeMapKeyEnumerated()
Removes the
map-key-enumerated attribute |
OneToMany<T> |
removeMapKeyTemporal()
Removes the
map-key-temporal attribute |
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> |
removeOrderColumn()
Removes the
order-column element |
OneToMany<T> |
removeOrphanRemoval()
Removes the
orphan-removal attribute |
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-by
OneToMany
String getOrderBy()
order-by
elementorder-by
OneToMany<T> removeOrderBy()
order-by
elementOneToMany
OrderColumn<OneToMany<T>> getOrCreateOrderColumn()
order-column
element with the given value will be created.
Otherwise, the existing order-column
element will be returned.OrderColumn>
OneToMany<T> removeOrderColumn()
order-column
elementOneToMany
MapKey<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
elementOneToMany
MapKeyClass<OneToMany<T>> getOrCreateMapKeyClass()
map-key-class
element with the given value will be created.
Otherwise, the existing map-key-class
element will be returned.MapKeyClass>
OneToMany<T> removeMapKeyClass()
map-key-class
elementOneToMany
OneToMany<T> mapKeyTemporal(TemporalType mapKeyTemporal)
map-key-temporal
elementmapKeyTemporal
- the value for the element map-key-temporal
OneToMany
OneToMany<T> mapKeyTemporal(String mapKeyTemporal)
map-key-temporal
elementmapKeyTemporal
- the value for the element map-key-temporal
OneToMany
TemporalType getMapKeyTemporal()
map-key-temporal
elementmap-key-temporal
String getMapKeyTemporalAsString()
map-key-temporal
elementmap-key-temporal
OneToMany<T> removeMapKeyTemporal()
map-key-temporal
attributeOneToMany
OneToMany<T> mapKeyEnumerated(EnumType mapKeyEnumerated)
map-key-enumerated
elementmapKeyEnumerated
- the value for the element map-key-enumerated
OneToMany
OneToMany<T> mapKeyEnumerated(String mapKeyEnumerated)
map-key-enumerated
elementmapKeyEnumerated
- the value for the element map-key-enumerated
OneToMany
EnumType getMapKeyEnumerated()
map-key-enumerated
elementmap-key-enumerated
String getMapKeyEnumeratedAsString()
map-key-enumerated
elementmap-key-enumerated
OneToMany<T> removeMapKeyEnumerated()
map-key-enumerated
attributeOneToMany
AttributeOverride<OneToMany<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<OneToMany<T>> createMapKeyAttributeOverride()
map-key-attribute-override
elementAttributeOverride>
List<AttributeOverride<OneToMany<T>>> getAllMapKeyAttributeOverride()
map-key-attribute-override
elementsmap-key-attribute-override
OneToMany<T> removeAllMapKeyAttributeOverride()
map-key-attribute-override
elementsAttributeOverride>
MapKeyColumn<OneToMany<T>> getOrCreateMapKeyColumn()
map-key-column
element with the given value will be created.
Otherwise, the existing map-key-column
element will be returned.MapKeyColumn>
OneToMany<T> removeMapKeyColumn()
map-key-column
elementOneToMany
MapKeyJoinColumn<OneToMany<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<OneToMany<T>> createMapKeyJoinColumn()
map-key-join-column
elementMapKeyJoinColumn>
List<MapKeyJoinColumn<OneToMany<T>>> getAllMapKeyJoinColumn()
map-key-join-column
elementsmap-key-join-column
OneToMany<T> removeAllMapKeyJoinColumn()
map-key-join-column
elementsMapKeyJoinColumn>
JoinTable<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
elementOneToMany
JoinColumn<OneToMany<T>> getOrCreateJoinColumn()
join-column
element will be created and returned.
Otherwise, the first existing join-column
element will be returned.join-column
JoinColumn<OneToMany<T>> createJoinColumn()
join-column
elementJoinColumn>
List<JoinColumn<OneToMany<T>>> getAllJoinColumn()
join-column
elementsjoin-column
OneToMany<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
elementOneToMany
OneToMany<T> name(String name)
name
attributename
- the value for the attribute name
OneToMany
String getName()
name
attributename
OneToMany<T> removeName()
name
attributeOneToMany
OneToMany<T> targetEntity(String targetEntity)
target-entity
attributetargetEntity
- the value for the attribute target-entity
OneToMany
String getTargetEntity()
target-entity
attributetarget-entity
OneToMany<T> removeTargetEntity()
target-entity
attributeOneToMany
OneToMany<T> fetch(FetchType fetch)
fetch
attributefetch
- the value for the attribute fetch
OneToMany
OneToMany<T> fetch(String fetch)
fetch
attributefetch
- the value for the attribute fetch
OneToMany
FetchType getFetch()
fetch
attributefetch
String getFetchAsString()
fetch
attributefetch
OneToMany<T> removeFetch()
fetch
attributeOneToMany
OneToMany<T> access(AccessType access)
access
attributeaccess
- the value for the attribute access
OneToMany
OneToMany<T> access(String access)
access
attributeaccess
- the value for the attribute access
OneToMany
AccessType getAccess()
access
attributeaccess
String getAccessAsString()
access
attributeaccess
OneToMany<T> removeAccess()
access
attributeOneToMany
OneToMany<T> mappedBy(String mappedBy)
mapped-by
attributemappedBy
- the value for the attribute mapped-by
OneToMany
String getMappedBy()
mapped-by
attributemapped-by
OneToMany<T> removeMappedBy()
mapped-by
attributeOneToMany
OneToMany<T> orphanRemoval(Boolean orphanRemoval)
orphan-removal
attributeorphanRemoval
- the value for the attribute orphan-removal
OneToMany
Boolean isOrphanRemoval()
orphan-removal
attributeorphan-removal
Copyright © 2015 JBoss by Red Hat. All rights reserved.