Class OneToMany
- java.lang.Object
-
- org.hibernate.jpamodelgen.xml.jaxb.OneToMany
-
public class OneToMany extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessType
access
protected CascadeType
cascade
protected FetchType
fetch
protected ForeignKey
foreignKey
protected List<JoinColumn>
joinColumn
protected JoinTable
joinTable
protected MapKey
mapKey
protected List<AttributeOverride>
mapKeyAttributeOverride
protected MapKeyClass
mapKeyClass
protected MapKeyColumn
mapKeyColumn
protected List<Convert>
mapKeyConvert
protected EnumType
mapKeyEnumerated
protected ForeignKey
mapKeyForeignKey
protected List<MapKeyJoinColumn>
mapKeyJoinColumn
protected TemporalType
mapKeyTemporal
protected String
mappedBy
protected String
name
protected String
orderBy
protected OrderColumn
orderColumn
protected Boolean
orphanRemoval
protected String
targetEntity
-
Constructor Summary
Constructors Constructor Description OneToMany()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessType
getAccess()
Gets the value of the access property.CascadeType
getCascade()
Gets the value of the cascade property.FetchType
getFetch()
Gets the value of the fetch property.ForeignKey
getForeignKey()
Gets the value of the foreignKey property.List<JoinColumn>
getJoinColumn()
Gets the value of the joinColumn property.JoinTable
getJoinTable()
Gets the value of the joinTable property.MapKey
getMapKey()
Gets the value of the mapKey property.List<AttributeOverride>
getMapKeyAttributeOverride()
Gets the value of the mapKeyAttributeOverride property.MapKeyClass
getMapKeyClass()
Gets the value of the mapKeyClass property.MapKeyColumn
getMapKeyColumn()
Gets the value of the mapKeyColumn property.List<Convert>
getMapKeyConvert()
Gets the value of the mapKeyConvert property.EnumType
getMapKeyEnumerated()
Gets the value of the mapKeyEnumerated property.ForeignKey
getMapKeyForeignKey()
Gets the value of the mapKeyForeignKey property.List<MapKeyJoinColumn>
getMapKeyJoinColumn()
Gets the value of the mapKeyJoinColumn property.TemporalType
getMapKeyTemporal()
Gets the value of the mapKeyTemporal property.String
getMappedBy()
Gets the value of the mappedBy property.String
getName()
Gets the value of the name property.String
getOrderBy()
Gets the value of the orderBy property.OrderColumn
getOrderColumn()
Gets the value of the orderColumn property.String
getTargetEntity()
Gets the value of the targetEntity property.Boolean
isOrphanRemoval()
Gets the value of the orphanRemoval property.void
setAccess(AccessType value)
Sets the value of the access property.void
setCascade(CascadeType value)
Sets the value of the cascade property.void
setFetch(FetchType value)
Sets the value of the fetch property.void
setForeignKey(ForeignKey value)
Sets the value of the foreignKey property.void
setJoinTable(JoinTable value)
Sets the value of the joinTable property.void
setMapKey(MapKey value)
Sets the value of the mapKey property.void
setMapKeyClass(MapKeyClass value)
Sets the value of the mapKeyClass property.void
setMapKeyColumn(MapKeyColumn value)
Sets the value of the mapKeyColumn property.void
setMapKeyEnumerated(EnumType value)
Sets the value of the mapKeyEnumerated property.void
setMapKeyForeignKey(ForeignKey value)
Sets the value of the mapKeyForeignKey property.void
setMapKeyTemporal(TemporalType value)
Sets the value of the mapKeyTemporal property.void
setMappedBy(String value)
Sets the value of the mappedBy property.void
setName(String value)
Sets the value of the name property.void
setOrderBy(String value)
Sets the value of the orderBy property.void
setOrderColumn(OrderColumn value)
Sets the value of the orderColumn property.void
setOrphanRemoval(Boolean value)
Sets the value of the orphanRemoval property.void
setTargetEntity(String value)
Sets the value of the targetEntity property.
-
-
-
Field Detail
-
orderBy
protected String orderBy
-
orderColumn
protected OrderColumn orderColumn
-
mapKey
protected MapKey mapKey
-
mapKeyClass
protected MapKeyClass mapKeyClass
-
mapKeyTemporal
protected TemporalType mapKeyTemporal
-
mapKeyEnumerated
protected EnumType mapKeyEnumerated
-
mapKeyAttributeOverride
protected List<AttributeOverride> mapKeyAttributeOverride
-
mapKeyColumn
protected MapKeyColumn mapKeyColumn
-
mapKeyJoinColumn
protected List<MapKeyJoinColumn> mapKeyJoinColumn
-
mapKeyForeignKey
protected ForeignKey mapKeyForeignKey
-
joinTable
protected JoinTable joinTable
-
joinColumn
protected List<JoinColumn> joinColumn
-
foreignKey
protected ForeignKey foreignKey
-
cascade
protected CascadeType cascade
-
name
protected String name
-
targetEntity
protected String targetEntity
-
fetch
protected FetchType fetch
-
access
protected AccessType access
-
mappedBy
protected String mappedBy
-
orphanRemoval
protected Boolean orphanRemoval
-
-
Method Detail
-
getOrderBy
public String getOrderBy()
Gets the value of the orderBy property.- Returns:
- possible object is
String
-
setOrderBy
public void setOrderBy(String value)
Sets the value of the orderBy property.- Parameters:
value
- allowed object isString
-
getOrderColumn
public OrderColumn getOrderColumn()
Gets the value of the orderColumn property.- Returns:
- possible object is
OrderColumn
-
setOrderColumn
public void setOrderColumn(OrderColumn value)
Sets the value of the orderColumn property.- Parameters:
value
- allowed object isOrderColumn
-
getMapKey
public MapKey getMapKey()
Gets the value of the mapKey property.- Returns:
- possible object is
MapKey
-
setMapKey
public void setMapKey(MapKey value)
Sets the value of the mapKey property.- Parameters:
value
- allowed object isMapKey
-
getMapKeyClass
public MapKeyClass getMapKeyClass()
Gets the value of the mapKeyClass property.- Returns:
- possible object is
MapKeyClass
-
setMapKeyClass
public void setMapKeyClass(MapKeyClass value)
Sets the value of the mapKeyClass property.- Parameters:
value
- allowed object isMapKeyClass
-
getMapKeyTemporal
public TemporalType getMapKeyTemporal()
Gets the value of the mapKeyTemporal property.- Returns:
- possible object is
TemporalType
-
setMapKeyTemporal
public void setMapKeyTemporal(TemporalType value)
Sets the value of the mapKeyTemporal property.- Parameters:
value
- allowed object isTemporalType
-
getMapKeyEnumerated
public EnumType getMapKeyEnumerated()
Gets the value of the mapKeyEnumerated property.- Returns:
- possible object is
EnumType
-
setMapKeyEnumerated
public void setMapKeyEnumerated(EnumType value)
Sets the value of the mapKeyEnumerated property.- Parameters:
value
- allowed object isEnumType
-
getMapKeyAttributeOverride
public List<AttributeOverride> 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
set
method 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
public List<Convert> 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
set
method 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
public MapKeyColumn getMapKeyColumn()
Gets the value of the mapKeyColumn property.- Returns:
- possible object is
MapKeyColumn
-
setMapKeyColumn
public void setMapKeyColumn(MapKeyColumn value)
Sets the value of the mapKeyColumn property.- Parameters:
value
- allowed object isMapKeyColumn
-
getMapKeyJoinColumn
public List<MapKeyJoinColumn> 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
set
method 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
public ForeignKey getMapKeyForeignKey()
Gets the value of the mapKeyForeignKey property.- Returns:
- possible object is
ForeignKey
-
setMapKeyForeignKey
public void setMapKeyForeignKey(ForeignKey value)
Sets the value of the mapKeyForeignKey property.- Parameters:
value
- allowed object isForeignKey
-
getJoinTable
public JoinTable getJoinTable()
Gets the value of the joinTable property.- Returns:
- possible object is
JoinTable
-
setJoinTable
public void setJoinTable(JoinTable value)
Sets the value of the joinTable property.- Parameters:
value
- allowed object isJoinTable
-
getJoinColumn
public List<JoinColumn> 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
set
method 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
public ForeignKey getForeignKey()
Gets the value of the foreignKey property.- Returns:
- possible object is
ForeignKey
-
setForeignKey
public void setForeignKey(ForeignKey value)
Sets the value of the foreignKey property.- Parameters:
value
- allowed object isForeignKey
-
getCascade
public CascadeType getCascade()
Gets the value of the cascade property.- Returns:
- possible object is
CascadeType
-
setCascade
public void setCascade(CascadeType value)
Sets the value of the cascade property.- Parameters:
value
- allowed object isCascadeType
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getTargetEntity
public String getTargetEntity()
Gets the value of the targetEntity property.- Returns:
- possible object is
String
-
setTargetEntity
public void setTargetEntity(String value)
Sets the value of the targetEntity property.- Parameters:
value
- allowed object isString
-
getFetch
public FetchType getFetch()
Gets the value of the fetch property.- Returns:
- possible object is
FetchType
-
setFetch
public void setFetch(FetchType value)
Sets the value of the fetch property.- Parameters:
value
- allowed object isFetchType
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Returns:
- possible object is
AccessType
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Parameters:
value
- allowed object isAccessType
-
getMappedBy
public String getMappedBy()
Gets the value of the mappedBy property.- Returns:
- possible object is
String
-
setMappedBy
public void setMappedBy(String value)
Sets the value of the mappedBy property.- Parameters:
value
- allowed object isString
-
isOrphanRemoval
public Boolean isOrphanRemoval()
Gets the value of the orphanRemoval property.- Returns:
- possible object is
Boolean
-
-