Class JaxbOneToMany
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbOneToMany
-
- All Implemented Interfaces:
Serializable
,AssociationAttribute
,CollectionAttribute
,FetchableAttribute
,PersistentAttribute
public class JaxbOneToMany extends Object implements Serializable, AssociationAttribute, CollectionAttribute
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessType
access
protected String
attributeAccessor
protected JaxbCascadeType
cascade
protected FetchType
fetch
protected JaxbPluralFetchMode
fetchMode
protected JaxbForeignKey
foreignKey
protected List<JaxbJoinColumn>
joinColumn
protected JaxbJoinTable
joinTable
protected JaxbMapKey
mapKey
protected List<JaxbAttributeOverride>
mapKeyAttributeOverride
protected JaxbMapKeyClass
mapKeyClass
protected JaxbMapKeyColumn
mapKeyColumn
protected List<JaxbConvert>
mapKeyConvert
protected EnumType
mapKeyEnumerated
protected JaxbForeignKey
mapKeyForeignKey
protected List<JaxbMapKeyJoinColumn>
mapKeyJoinColumn
protected TemporalType
mapKeyTemporal
protected String
mappedBy
protected String
name
protected OnDeleteAction
onDelete
protected String
orderBy
protected JaxbOrderColumn
orderColumn
protected Boolean
orphanRemoval
protected String
sort
protected String
targetEntity
-
Constructor Summary
Constructors Constructor Description JaxbOneToMany()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessType
getAccess()
Gets the value of the access property.String
getAttributeAccessor()
Gets the value of the attributeAccessor property.JaxbCascadeType
getCascade()
Gets the value of the cascade property.FetchType
getFetch()
Gets the value of the fetch property.JaxbPluralFetchMode
getFetchMode()
Gets the value of the fetchMode property.JaxbForeignKey
getForeignKey()
Gets the value of the foreignKey property.List<JaxbJoinColumn>
getJoinColumn()
Gets the value of the joinColumn property.JaxbJoinTable
getJoinTable()
Gets the value of the joinTable property.JaxbMapKey
getMapKey()
Gets the value of the mapKey property.List<JaxbAttributeOverride>
getMapKeyAttributeOverride()
Gets the value of the mapKeyAttributeOverride property.JaxbMapKeyClass
getMapKeyClass()
Gets the value of the mapKeyClass property.JaxbMapKeyColumn
getMapKeyColumn()
Gets the value of the mapKeyColumn property.List<JaxbConvert>
getMapKeyConvert()
Gets the value of the mapKeyConvert property.EnumType
getMapKeyEnumerated()
Gets the value of the mapKeyEnumerated property.JaxbForeignKey
getMapKeyForeignKey()
Gets the value of the mapKeyForeignKey property.List<JaxbMapKeyJoinColumn>
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.OnDeleteAction
getOnDelete()
Gets the value of the onDelete property.String
getOrderBy()
Gets the value of the orderBy property.JaxbOrderColumn
getOrderColumn()
Gets the value of the orderColumn property.String
getSort()
Gets the value of the sort 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
setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.void
setCascade(JaxbCascadeType value)
Sets the value of the cascade property.void
setFetch(FetchType value)
Sets the value of the fetch property.void
setFetchMode(JaxbPluralFetchMode value)
Sets the value of the fetchMode property.void
setForeignKey(JaxbForeignKey value)
Sets the value of the foreignKey property.void
setJoinTable(JaxbJoinTable value)
Sets the value of the joinTable property.void
setMapKey(JaxbMapKey value)
Sets the value of the mapKey property.void
setMapKeyClass(JaxbMapKeyClass value)
Sets the value of the mapKeyClass property.void
setMapKeyColumn(JaxbMapKeyColumn value)
Sets the value of the mapKeyColumn property.void
setMapKeyEnumerated(EnumType value)
Sets the value of the mapKeyEnumerated property.void
setMapKeyForeignKey(JaxbForeignKey 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
setOnDelete(OnDeleteAction value)
Sets the value of the onDelete property.void
setOrderBy(String value)
Sets the value of the orderBy property.void
setOrderColumn(JaxbOrderColumn value)
Sets the value of the orderColumn property.void
setOrphanRemoval(Boolean value)
Sets the value of the orphanRemoval property.void
setSort(String value)
Sets the value of the sort property.void
setTargetEntity(String value)
Sets the value of the targetEntity property.
-
-
-
Field Detail
-
orderBy
protected String orderBy
-
orderColumn
protected JaxbOrderColumn orderColumn
-
sort
protected String sort
-
mapKey
protected JaxbMapKey mapKey
-
mapKeyClass
protected JaxbMapKeyClass mapKeyClass
-
mapKeyTemporal
protected TemporalType mapKeyTemporal
-
mapKeyEnumerated
protected EnumType mapKeyEnumerated
-
mapKeyAttributeOverride
protected List<JaxbAttributeOverride> mapKeyAttributeOverride
-
mapKeyConvert
protected List<JaxbConvert> mapKeyConvert
-
mapKeyColumn
protected JaxbMapKeyColumn mapKeyColumn
-
mapKeyJoinColumn
protected List<JaxbMapKeyJoinColumn> mapKeyJoinColumn
-
mapKeyForeignKey
protected JaxbForeignKey mapKeyForeignKey
-
joinTable
protected JaxbJoinTable joinTable
-
joinColumn
protected List<JaxbJoinColumn> joinColumn
-
foreignKey
protected JaxbForeignKey foreignKey
-
cascade
protected JaxbCascadeType cascade
-
onDelete
protected OnDeleteAction onDelete
-
name
protected String name
-
targetEntity
protected String targetEntity
-
fetch
protected FetchType fetch
-
fetchMode
protected JaxbPluralFetchMode fetchMode
-
access
protected AccessType access
-
attributeAccessor
protected String attributeAccessor
-
mappedBy
protected String mappedBy
-
orphanRemoval
protected Boolean orphanRemoval
-
-
Method Detail
-
getOrderBy
public String getOrderBy()
Gets the value of the orderBy property.- Specified by:
getOrderBy
in interfaceCollectionAttribute
- Returns:
- possible object is
String
-
setOrderBy
public void setOrderBy(String value)
Sets the value of the orderBy property.- Specified by:
setOrderBy
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isString
-
getOrderColumn
public JaxbOrderColumn getOrderColumn()
Gets the value of the orderColumn property.- Specified by:
getOrderColumn
in interfaceCollectionAttribute
- Returns:
- possible object is
JaxbOrderColumn
-
setOrderColumn
public void setOrderColumn(JaxbOrderColumn value)
Sets the value of the orderColumn property.- Specified by:
setOrderColumn
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isJaxbOrderColumn
-
getSort
public String getSort()
Gets the value of the sort property.- Specified by:
getSort
in interfaceCollectionAttribute
- Returns:
- possible object is
String
-
setSort
public void setSort(String value)
Sets the value of the sort property.- Specified by:
setSort
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isString
-
getMapKey
public JaxbMapKey getMapKey()
Gets the value of the mapKey property.- Specified by:
getMapKey
in interfaceCollectionAttribute
- Returns:
- possible object is
JaxbMapKey
-
setMapKey
public void setMapKey(JaxbMapKey value)
Sets the value of the mapKey property.- Specified by:
setMapKey
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isJaxbMapKey
-
getMapKeyClass
public JaxbMapKeyClass getMapKeyClass()
Gets the value of the mapKeyClass property.- Specified by:
getMapKeyClass
in interfaceCollectionAttribute
- Returns:
- possible object is
JaxbMapKeyClass
-
setMapKeyClass
public void setMapKeyClass(JaxbMapKeyClass value)
Sets the value of the mapKeyClass property.- Specified by:
setMapKeyClass
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isJaxbMapKeyClass
-
getMapKeyTemporal
public TemporalType getMapKeyTemporal()
Gets the value of the mapKeyTemporal property.- Specified by:
getMapKeyTemporal
in interfaceCollectionAttribute
- Returns:
- possible object is
String
-
setMapKeyTemporal
public void setMapKeyTemporal(TemporalType value)
Sets the value of the mapKeyTemporal property.- Specified by:
setMapKeyTemporal
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isString
-
getMapKeyEnumerated
public EnumType getMapKeyEnumerated()
Gets the value of the mapKeyEnumerated property.- Specified by:
getMapKeyEnumerated
in interfaceCollectionAttribute
- Returns:
- possible object is
String
-
setMapKeyEnumerated
public void setMapKeyEnumerated(EnumType value)
Sets the value of the mapKeyEnumerated property.- Specified by:
setMapKeyEnumerated
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isString
-
getMapKeyAttributeOverride
public List<JaxbAttributeOverride> 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
JaxbAttributeOverride
- Specified by:
getMapKeyAttributeOverride
in interfaceCollectionAttribute
- Returns:
- The value of the mapKeyAttributeOverride property.
-
getMapKeyConvert
public List<JaxbConvert> 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
JaxbConvert
- Specified by:
getMapKeyConvert
in interfaceCollectionAttribute
- Returns:
- The value of the mapKeyConvert property.
-
getMapKeyColumn
public JaxbMapKeyColumn getMapKeyColumn()
Gets the value of the mapKeyColumn property.- Specified by:
getMapKeyColumn
in interfaceCollectionAttribute
- Returns:
- possible object is
JaxbMapKeyColumn
-
setMapKeyColumn
public void setMapKeyColumn(JaxbMapKeyColumn value)
Sets the value of the mapKeyColumn property.- Specified by:
setMapKeyColumn
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isJaxbMapKeyColumn
-
getMapKeyJoinColumn
public List<JaxbMapKeyJoinColumn> 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
JaxbMapKeyJoinColumn
- Specified by:
getMapKeyJoinColumn
in interfaceCollectionAttribute
- Returns:
- The value of the mapKeyJoinColumn property.
-
getMapKeyForeignKey
public JaxbForeignKey getMapKeyForeignKey()
Gets the value of the mapKeyForeignKey property.- Specified by:
getMapKeyForeignKey
in interfaceCollectionAttribute
- Returns:
- possible object is
JaxbForeignKey
-
setMapKeyForeignKey
public void setMapKeyForeignKey(JaxbForeignKey value)
Sets the value of the mapKeyForeignKey property.- Specified by:
setMapKeyForeignKey
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isJaxbForeignKey
-
getJoinTable
public JaxbJoinTable getJoinTable()
Gets the value of the joinTable property.- Specified by:
getJoinTable
in interfaceAssociationAttribute
- Returns:
- possible object is
JaxbJoinTable
-
setJoinTable
public void setJoinTable(JaxbJoinTable value)
Sets the value of the joinTable property.- Specified by:
setJoinTable
in interfaceAssociationAttribute
- Parameters:
value
- allowed object isJaxbJoinTable
-
getJoinColumn
public List<JaxbJoinColumn> 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
JaxbJoinColumn
- Returns:
- The value of the joinColumn property.
-
getForeignKey
public JaxbForeignKey getForeignKey()
Gets the value of the foreignKey property.- Returns:
- possible object is
JaxbForeignKey
-
setForeignKey
public void setForeignKey(JaxbForeignKey value)
Sets the value of the foreignKey property.- Parameters:
value
- allowed object isJaxbForeignKey
-
getCascade
public JaxbCascadeType getCascade()
Gets the value of the cascade property.- Specified by:
getCascade
in interfaceAssociationAttribute
- Returns:
- possible object is
JaxbCascadeType
-
setCascade
public void setCascade(JaxbCascadeType value)
Sets the value of the cascade property.- Specified by:
setCascade
in interfaceAssociationAttribute
- Parameters:
value
- allowed object isJaxbCascadeType
-
getOnDelete
public OnDeleteAction getOnDelete()
Gets the value of the onDelete property.- Returns:
- possible object is
String
-
setOnDelete
public void setOnDelete(OnDeleteAction value)
Sets the value of the onDelete property.- Parameters:
value
- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Specified by:
getName
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Specified by:
setName
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getTargetEntity
public String getTargetEntity()
Gets the value of the targetEntity property.- Specified by:
getTargetEntity
in interfaceAssociationAttribute
- Returns:
- possible object is
String
-
setTargetEntity
public void setTargetEntity(String value)
Sets the value of the targetEntity property.- Specified by:
setTargetEntity
in interfaceAssociationAttribute
- Parameters:
value
- allowed object isString
-
getFetch
public FetchType getFetch()
Gets the value of the fetch property.- Specified by:
getFetch
in interfaceFetchableAttribute
- Returns:
- possible object is
String
-
setFetch
public void setFetch(FetchType value)
Sets the value of the fetch property.- Specified by:
setFetch
in interfaceFetchableAttribute
- Parameters:
value
- allowed object isString
-
getFetchMode
public JaxbPluralFetchMode getFetchMode()
Gets the value of the fetchMode property.- Specified by:
getFetchMode
in interfaceCollectionAttribute
- Returns:
- possible object is
JaxbPluralFetchMode
-
setFetchMode
public void setFetchMode(JaxbPluralFetchMode value)
Sets the value of the fetchMode property.- Specified by:
setFetchMode
in interfaceCollectionAttribute
- Parameters:
value
- allowed object isJaxbPluralFetchMode
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccess
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccess
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getAttributeAccessor
public String getAttributeAccessor()
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessor
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAttributeAccessor
public void setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessor
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
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
-
-