
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 |
|---|---|
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 |
Convert<OneToMany<T>> |
createMapKeyConvert()
Creates a new
map-key-convert 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<Convert<OneToMany<T>>> |
getAllMapKeyConvert()
Returns all
map-key-convert 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. |
ForeignKey<OneToMany<T>> |
getOrCreateForeignKey()
If not already created, a new
foreign-key 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. |
Convert<OneToMany<T>> |
getOrCreateMapKeyConvert()
If not already created, a new
map-key-convert element will be created and returned. |
ForeignKey<OneToMany<T>> |
getOrCreateMapKeyForeignKey()
If not already created, a new
map-key-foreign-key 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> |
removeAllMapKeyConvert()
Removes all
map-key-convert 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> |
removeForeignKey()
Removes the
foreign-key element |
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> |
removeMapKeyForeignKey()
Removes the
map-key-foreign-key element |
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-byOneToManyString getOrderBy()
order-by elementorder-byOneToMany<T> removeOrderBy()
order-by elementOneToManyOrderColumn<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 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 elementOneToManyMapKeyClass<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 elementOneToManyOneToMany<T> mapKeyTemporal(TemporalType mapKeyTemporal)
map-key-temporal elementmapKeyTemporal - the value for the element map-key-temporalOneToManyOneToMany<T> mapKeyTemporal(String mapKeyTemporal)
map-key-temporal elementmapKeyTemporal - the value for the element map-key-temporalOneToManyTemporalType getMapKeyTemporal()
map-key-temporal elementmap-key-temporalString getMapKeyTemporalAsString()
map-key-temporal elementmap-key-temporalOneToMany<T> removeMapKeyTemporal()
map-key-temporal attributeOneToManyOneToMany<T> mapKeyEnumerated(EnumType mapKeyEnumerated)
map-key-enumerated elementmapKeyEnumerated - the value for the element map-key-enumeratedOneToManyOneToMany<T> mapKeyEnumerated(String mapKeyEnumerated)
map-key-enumerated elementmapKeyEnumerated - the value for the element map-key-enumeratedOneToManyEnumType getMapKeyEnumerated()
map-key-enumerated elementmap-key-enumeratedString getMapKeyEnumeratedAsString()
map-key-enumerated elementmap-key-enumeratedOneToMany<T> removeMapKeyEnumerated()
map-key-enumerated attributeOneToManyAttributeOverride<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-overrideAttributeOverride<OneToMany<T>> createMapKeyAttributeOverride()
map-key-attribute-override elementAttributeOverride> List<AttributeOverride<OneToMany<T>>> getAllMapKeyAttributeOverride()
map-key-attribute-override elementsmap-key-attribute-overrideOneToMany<T> removeAllMapKeyAttributeOverride()
map-key-attribute-override elementsAttributeOverride> Convert<OneToMany<T>> getOrCreateMapKeyConvert()
map-key-convert element will be created and returned.
Otherwise, the first existing map-key-convert element will be returned.map-key-convertConvert<OneToMany<T>> createMapKeyConvert()
map-key-convert elementConvert> List<Convert<OneToMany<T>>> getAllMapKeyConvert()
map-key-convert elementsmap-key-convertOneToMany<T> removeAllMapKeyConvert()
map-key-convert elementsConvert> 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 elementOneToManyMapKeyJoinColumn<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-columnMapKeyJoinColumn<OneToMany<T>> createMapKeyJoinColumn()
map-key-join-column elementMapKeyJoinColumn> List<MapKeyJoinColumn<OneToMany<T>>> getAllMapKeyJoinColumn()
map-key-join-column elementsmap-key-join-columnOneToMany<T> removeAllMapKeyJoinColumn()
map-key-join-column elementsMapKeyJoinColumn> ForeignKey<OneToMany<T>> getOrCreateMapKeyForeignKey()
map-key-foreign-key element with the given value will be created.
Otherwise, the existing map-key-foreign-key element will be returned.ForeignKey> OneToMany<T> removeMapKeyForeignKey()
map-key-foreign-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> ForeignKey<OneToMany<T>> getOrCreateForeignKey()
foreign-key element with the given value will be created.
Otherwise, the existing foreign-key element will be returned.ForeignKey> OneToMany<T> removeForeignKey()
foreign-key elementOneToManyCascadeType<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> access(AccessType access)
access attributeaccess - the value for the attribute accessOneToManyOneToMany<T> access(String access)
access attributeaccess - the value for the attribute accessOneToManyAccessType getAccess()
access attributeaccessString getAccessAsString()
access attributeaccessOneToMany<T> removeAccess()
access attributeOneToManyOneToMany<T> mappedBy(String mappedBy)
mapped-by attributemappedBy - the value for the attribute mapped-byOneToManyString getMappedBy()
mapped-by attributemapped-byOneToMany<T> removeMappedBy()
mapped-by attributeOneToManyOneToMany<T> orphanRemoval(Boolean orphanRemoval)
orphan-removal attributeorphanRemoval - the value for the attribute orphan-removalOneToManyBoolean isOrphanRemoval()
orphan-removal attributeorphan-removalCopyright © 2021 JBoss by Red Hat. All rights reserved.