Class OneToMany
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected CascadeTypeprotected FetchTypeprotected ForeignKeyprotected List<JoinColumn>protected JoinTableprotected MapKeyprotected List<AttributeOverride>protected MapKeyClassprotected MapKeyColumnprotected EnumTypeprotected ForeignKeyprotected List<MapKeyJoinColumn>protected TemporalTypeprotected Stringprotected Stringprotected Stringprotected OrderColumnprotected Booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the cascade property.getFetch()Gets the value of the fetch property.Gets the value of the foreignKey property.Gets the value of the joinColumn property.Gets the value of the joinTable property.Gets the value of the mapKey property.Gets the value of the mapKeyAttributeOverride property.Gets the value of the mapKeyClass property.Gets the value of the mapKeyColumn property.Gets the value of the mapKeyConvert property.Gets the value of the mapKeyEnumerated property.Gets the value of the mapKeyForeignKey property.Gets the value of the mapKeyJoinColumn property.Gets the value of the mapKeyTemporal property.Gets the value of the mappedBy property.getName()Gets the value of the name property.Gets the value of the orderBy property.Gets the value of the orderColumn property.Gets the value of the targetEntity property.Gets the value of the orphanRemoval property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetCascade(CascadeType value) Sets the value of the cascade property.voidSets the value of the fetch property.voidsetForeignKey(ForeignKey value) Sets the value of the foreignKey property.voidsetJoinTable(JoinTable value) Sets the value of the joinTable property.voidSets the value of the mapKey property.voidsetMapKeyClass(MapKeyClass value) Sets the value of the mapKeyClass property.voidsetMapKeyColumn(MapKeyColumn value) Sets the value of the mapKeyColumn property.voidsetMapKeyEnumerated(EnumType value) Sets the value of the mapKeyEnumerated property.voidsetMapKeyForeignKey(ForeignKey value) Sets the value of the mapKeyForeignKey property.voidsetMapKeyTemporal(TemporalType value) Sets the value of the mapKeyTemporal property.voidsetMappedBy(String value) Sets the value of the mappedBy property.voidSets the value of the name property.voidsetOrderBy(String value) Sets the value of the orderBy property.voidsetOrderColumn(OrderColumn value) Sets the value of the orderColumn property.voidsetOrphanRemoval(Boolean value) Sets the value of the orphanRemoval property.voidsetTargetEntity(String value) Sets the value of the targetEntity property.
-
Field Details
-
orderBy
-
orderColumn
-
mapKey
-
mapKeyClass
-
mapKeyTemporal
-
mapKeyEnumerated
-
mapKeyAttributeOverride
-
mapKeyConvert
-
mapKeyColumn
-
mapKeyJoinColumn
-
mapKeyForeignKey
-
joinTable
-
joinColumn
-
foreignKey
-
cascade
-
name
-
targetEntity
-
fetch
-
access
-
mappedBy
-
orphanRemoval
-
-
Constructor Details
-
OneToMany
public OneToMany()
-
-
Method Details
-
getOrderBy
Gets the value of the orderBy property.- Returns:
- possible object is
String
-
setOrderBy
Sets the value of the orderBy property.- Parameters:
value- allowed object isString
-
getOrderColumn
Gets the value of the orderColumn property.- Returns:
- possible object is
OrderColumn
-
setOrderColumn
Sets the value of the orderColumn property.- Parameters:
value- allowed object isOrderColumn
-
getMapKey
Gets the value of the mapKey property.- Returns:
- possible object is
MapKey
-
setMapKey
Sets the value of the mapKey property.- Parameters:
value- allowed object isMapKey
-
getMapKeyClass
Gets the value of the mapKeyClass property.- Returns:
- possible object is
MapKeyClass
-
setMapKeyClass
Sets the value of the mapKeyClass property.- Parameters:
value- allowed object isMapKeyClass
-
getMapKeyTemporal
Gets the value of the mapKeyTemporal property.- Returns:
- possible object is
TemporalType
-
setMapKeyTemporal
Sets the value of the mapKeyTemporal property.- Parameters:
value- allowed object isTemporalType
-
getMapKeyEnumerated
Gets the value of the mapKeyEnumerated property.- Returns:
- possible object is
EnumType
-
setMapKeyEnumerated
Sets the value of the mapKeyEnumerated property.- Parameters:
value- allowed object isEnumType
-
getMapKeyAttributeOverride
Gets the value of the mapKeyAttributeOverride property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the mapKeyAttributeOverride property.For example, to add a new item, do as follows:
getMapKeyAttributeOverride().add(newItem);Objects of the following type(s) are allowed in the list
AttributeOverride- Returns:
- The value of the mapKeyAttributeOverride property.
-
getMapKeyConvert
Gets the value of the mapKeyConvert property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the mapKeyConvert property.For example, to add a new item, do as follows:
getMapKeyConvert().add(newItem);Objects of the following type(s) are allowed in the list
Convert- Returns:
- The value of the mapKeyConvert property.
-
getMapKeyColumn
Gets the value of the mapKeyColumn property.- Returns:
- possible object is
MapKeyColumn
-
setMapKeyColumn
Sets the value of the mapKeyColumn property.- Parameters:
value- allowed object isMapKeyColumn
-
getMapKeyJoinColumn
Gets the value of the mapKeyJoinColumn property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the mapKeyJoinColumn property.For example, to add a new item, do as follows:
getMapKeyJoinColumn().add(newItem);Objects of the following type(s) are allowed in the list
MapKeyJoinColumn- Returns:
- The value of the mapKeyJoinColumn property.
-
getMapKeyForeignKey
Gets the value of the mapKeyForeignKey property.- Returns:
- possible object is
ForeignKey
-
setMapKeyForeignKey
Sets the value of the mapKeyForeignKey property.- Parameters:
value- allowed object isForeignKey
-
getJoinTable
Gets the value of the joinTable property.- Returns:
- possible object is
JoinTable
-
setJoinTable
Sets the value of the joinTable property.- Parameters:
value- allowed object isJoinTable
-
getJoinColumn
Gets the value of the joinColumn property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the joinColumn property.For example, to add a new item, do as follows:
getJoinColumn().add(newItem);Objects of the following type(s) are allowed in the list
JoinColumn- Returns:
- The value of the joinColumn property.
-
getForeignKey
Gets the value of the foreignKey property.- Returns:
- possible object is
ForeignKey
-
setForeignKey
Sets the value of the foreignKey property.- Parameters:
value- allowed object isForeignKey
-
getCascade
Gets the value of the cascade property.- Returns:
- possible object is
CascadeType
-
setCascade
Sets the value of the cascade property.- Parameters:
value- allowed object isCascadeType
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTargetEntity
Gets the value of the targetEntity property.- Returns:
- possible object is
String
-
setTargetEntity
Sets the value of the targetEntity property.- Parameters:
value- allowed object isString
-
getFetch
Gets the value of the fetch property.- Returns:
- possible object is
FetchType
-
setFetch
Sets the value of the fetch property.- Parameters:
value- allowed object isFetchType
-
getAccess
Gets the value of the access property.- Returns:
- possible object is
AccessType
-
setAccess
Sets the value of the access property.- Parameters:
value- allowed object isAccessType
-
getMappedBy
Gets the value of the mappedBy property.- Returns:
- possible object is
String
-
setMappedBy
Sets the value of the mappedBy property.- Parameters:
value- allowed object isString
-
isOrphanRemoval
Gets the value of the orphanRemoval property.- Returns:
- possible object is
Boolean
-
setOrphanRemoval
Sets the value of the orphanRemoval property.- Parameters:
value- allowed object isBoolean
-