Class JaxbOneToMany
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.spi.JaxbOneToMany
-
- All Implemented Interfaces:
java.io.Serializable,AssociationAttribute,CollectionAttribute,FetchableAttribute,PersistentAttribute
public class JaxbOneToMany extends java.lang.Object implements java.io.Serializable, AssociationAttribute, CollectionAttribute, PersistentAttribute
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessTypeaccessprotected JaxbCascadeTypecascadeprotected FetchTypefetchprotected JaxbForeignKeyforeignKeyprotected java.util.List<JaxbJoinColumn>joinColumnprotected JaxbJoinTablejoinTableprotected JaxbMapKeymapKeyprotected java.util.List<JaxbAttributeOverride>mapKeyAttributeOverrideprotected JaxbMapKeyClassmapKeyClassprotected JaxbMapKeyColumnmapKeyColumnprotected java.util.List<JaxbConvert>mapKeyConvertprotected EnumTypemapKeyEnumeratedprotected JaxbForeignKeymapKeyForeignKeyprotected java.util.List<JaxbMapKeyJoinColumn>mapKeyJoinColumnprotected TemporalTypemapKeyTemporalprotected java.lang.StringmappedByprotected java.lang.Stringnameprotected java.lang.StringorderByprotected JaxbOrderColumnorderColumnprotected java.lang.BooleanorphanRemovalprotected java.lang.StringtargetEntity
-
Constructor Summary
Constructors Constructor Description JaxbOneToMany()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccess()Gets the value of the access property.JaxbCascadeTypegetCascade()Gets the value of the cascade property.FetchTypegetFetch()Gets the value of the fetch property.JaxbForeignKeygetForeignKey()Gets the value of the foreignKey property.java.util.List<JaxbJoinColumn>getJoinColumn()Gets the value of the joinColumn property.JaxbJoinTablegetJoinTable()Gets the value of the joinTable property.JaxbMapKeygetMapKey()Gets the value of the mapKey property.java.util.List<JaxbAttributeOverride>getMapKeyAttributeOverride()Gets the value of the mapKeyAttributeOverride property.JaxbMapKeyClassgetMapKeyClass()Gets the value of the mapKeyClass property.JaxbMapKeyColumngetMapKeyColumn()Gets the value of the mapKeyColumn property.java.util.List<JaxbConvert>getMapKeyConvert()Gets the value of the mapKeyConvert property.EnumTypegetMapKeyEnumerated()Gets the value of the mapKeyEnumerated property.JaxbForeignKeygetMapKeyForeignKey()Gets the value of the mapKeyForeignKey property.java.util.List<JaxbMapKeyJoinColumn>getMapKeyJoinColumn()Gets the value of the mapKeyJoinColumn property.TemporalTypegetMapKeyTemporal()Gets the value of the mapKeyTemporal property.java.lang.StringgetMappedBy()Gets the value of the mappedBy property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetOrderBy()Gets the value of the orderBy property.JaxbOrderColumngetOrderColumn()Gets the value of the orderColumn property.java.lang.StringgetTargetEntity()Gets the value of the targetEntity property.java.lang.BooleanisOrphanRemoval()Gets the value of the orphanRemoval property.voidsetAccess(AccessType value)Sets the value of the access property.voidsetCascade(JaxbCascadeType value)Sets the value of the cascade property.voidsetFetch(FetchType value)Sets the value of the fetch property.voidsetForeignKey(JaxbForeignKey value)Sets the value of the foreignKey property.voidsetJoinTable(JaxbJoinTable value)Sets the value of the joinTable property.voidsetMapKey(JaxbMapKey value)Sets the value of the mapKey property.voidsetMapKeyClass(JaxbMapKeyClass value)Sets the value of the mapKeyClass property.voidsetMapKeyColumn(JaxbMapKeyColumn value)Sets the value of the mapKeyColumn property.voidsetMapKeyEnumerated(EnumType value)Sets the value of the mapKeyEnumerated property.voidsetMapKeyForeignKey(JaxbForeignKey value)Sets the value of the mapKeyForeignKey property.voidsetMapKeyTemporal(TemporalType value)Sets the value of the mapKeyTemporal property.voidsetMappedBy(java.lang.String value)Sets the value of the mappedBy property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetOrderBy(java.lang.String value)Sets the value of the orderBy property.voidsetOrderColumn(JaxbOrderColumn value)Sets the value of the orderColumn property.voidsetOrphanRemoval(java.lang.Boolean value)Sets the value of the orphanRemoval property.voidsetTargetEntity(java.lang.String value)Sets the value of the targetEntity property.
-
-
-
Field Detail
-
orderBy
protected java.lang.String orderBy
-
orderColumn
protected JaxbOrderColumn orderColumn
-
mapKey
protected JaxbMapKey mapKey
-
mapKeyClass
protected JaxbMapKeyClass mapKeyClass
-
mapKeyTemporal
protected TemporalType mapKeyTemporal
-
mapKeyEnumerated
protected EnumType mapKeyEnumerated
-
mapKeyAttributeOverride
protected java.util.List<JaxbAttributeOverride> mapKeyAttributeOverride
-
mapKeyConvert
protected java.util.List<JaxbConvert> mapKeyConvert
-
mapKeyColumn
protected JaxbMapKeyColumn mapKeyColumn
-
mapKeyJoinColumn
protected java.util.List<JaxbMapKeyJoinColumn> mapKeyJoinColumn
-
mapKeyForeignKey
protected JaxbForeignKey mapKeyForeignKey
-
joinTable
protected JaxbJoinTable joinTable
-
joinColumn
protected java.util.List<JaxbJoinColumn> joinColumn
-
foreignKey
protected JaxbForeignKey foreignKey
-
cascade
protected JaxbCascadeType cascade
-
name
protected java.lang.String name
-
targetEntity
protected java.lang.String targetEntity
-
fetch
protected FetchType fetch
-
access
protected AccessType access
-
mappedBy
protected java.lang.String mappedBy
-
orphanRemoval
protected java.lang.Boolean orphanRemoval
-
-
Method Detail
-
getOrderBy
public java.lang.String getOrderBy()
Gets the value of the orderBy property.- Specified by:
getOrderByin interfaceCollectionAttribute- Returns:
- possible object is
String
-
setOrderBy
public void setOrderBy(java.lang.String value)
Sets the value of the orderBy property.- Specified by:
setOrderByin interfaceCollectionAttribute- Parameters:
value- allowed object isString
-
getOrderColumn
public JaxbOrderColumn getOrderColumn()
Gets the value of the orderColumn property.- Specified by:
getOrderColumnin interfaceCollectionAttribute- Returns:
- possible object is
JaxbOrderColumn
-
setOrderColumn
public void setOrderColumn(JaxbOrderColumn value)
Sets the value of the orderColumn property.- Specified by:
setOrderColumnin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbOrderColumn
-
getMapKey
public JaxbMapKey getMapKey()
Gets the value of the mapKey property.- Specified by:
getMapKeyin interfaceCollectionAttribute- Returns:
- possible object is
JaxbMapKey
-
setMapKey
public void setMapKey(JaxbMapKey value)
Sets the value of the mapKey property.- Specified by:
setMapKeyin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbMapKey
-
getMapKeyClass
public JaxbMapKeyClass getMapKeyClass()
Gets the value of the mapKeyClass property.- Specified by:
getMapKeyClassin interfaceCollectionAttribute- Returns:
- possible object is
JaxbMapKeyClass
-
setMapKeyClass
public void setMapKeyClass(JaxbMapKeyClass value)
Sets the value of the mapKeyClass property.- Specified by:
setMapKeyClassin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbMapKeyClass
-
getMapKeyTemporal
public TemporalType getMapKeyTemporal()
Gets the value of the mapKeyTemporal property.- Specified by:
getMapKeyTemporalin interfaceCollectionAttribute- Returns:
- possible object is
String
-
setMapKeyTemporal
public void setMapKeyTemporal(TemporalType value)
Sets the value of the mapKeyTemporal property.- Specified by:
setMapKeyTemporalin interfaceCollectionAttribute- Parameters:
value- allowed object isString
-
getMapKeyEnumerated
public EnumType getMapKeyEnumerated()
Gets the value of the mapKeyEnumerated property.- Specified by:
getMapKeyEnumeratedin interfaceCollectionAttribute- Returns:
- possible object is
String
-
setMapKeyEnumerated
public void setMapKeyEnumerated(EnumType value)
Sets the value of the mapKeyEnumerated property.- Specified by:
setMapKeyEnumeratedin interfaceCollectionAttribute- Parameters:
value- allowed object isString
-
getMapKeyAttributeOverride
public java.util.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 JAXB 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
JaxbAttributeOverride- Specified by:
getMapKeyAttributeOverridein interfaceCollectionAttribute
-
getMapKeyConvert
public java.util.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 JAXB 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
JaxbConvert- Specified by:
getMapKeyConvertin interfaceCollectionAttribute
-
getMapKeyColumn
public JaxbMapKeyColumn getMapKeyColumn()
Gets the value of the mapKeyColumn property.- Specified by:
getMapKeyColumnin interfaceCollectionAttribute- Returns:
- possible object is
JaxbMapKeyColumn
-
setMapKeyColumn
public void setMapKeyColumn(JaxbMapKeyColumn value)
Sets the value of the mapKeyColumn property.- Specified by:
setMapKeyColumnin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbMapKeyColumn
-
getMapKeyJoinColumn
public java.util.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 JAXB 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
JaxbMapKeyJoinColumn- Specified by:
getMapKeyJoinColumnin interfaceCollectionAttribute
-
getMapKeyForeignKey
public JaxbForeignKey getMapKeyForeignKey()
Gets the value of the mapKeyForeignKey property.- Specified by:
getMapKeyForeignKeyin interfaceCollectionAttribute- Returns:
- possible object is
JaxbForeignKey
-
setMapKeyForeignKey
public void setMapKeyForeignKey(JaxbForeignKey value)
Sets the value of the mapKeyForeignKey property.- Specified by:
setMapKeyForeignKeyin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbForeignKey
-
getJoinTable
public JaxbJoinTable getJoinTable()
Gets the value of the joinTable property.- Specified by:
getJoinTablein interfaceAssociationAttribute- Returns:
- possible object is
JaxbJoinTable
-
setJoinTable
public void setJoinTable(JaxbJoinTable value)
Sets the value of the joinTable property.- Specified by:
setJoinTablein interfaceAssociationAttribute- Parameters:
value- allowed object isJaxbJoinTable
-
getJoinColumn
public java.util.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 JAXB 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
JaxbJoinColumn
-
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:
getCascadein interfaceAssociationAttribute- Returns:
- possible object is
JaxbCascadeType
-
setCascade
public void setCascade(JaxbCascadeType value)
Sets the value of the cascade property.- Specified by:
setCascadein interfaceAssociationAttribute- Parameters:
value- allowed object isJaxbCascadeType
-
getName
public java.lang.String getName()
Gets the value of the name property.- Specified by:
getNamein interfacePersistentAttribute- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTargetEntity
public java.lang.String getTargetEntity()
Gets the value of the targetEntity property.- Specified by:
getTargetEntityin interfaceAssociationAttribute- Returns:
- possible object is
String
-
setTargetEntity
public void setTargetEntity(java.lang.String value)
Sets the value of the targetEntity property.- Specified by:
setTargetEntityin interfaceAssociationAttribute- Parameters:
value- allowed object isString
-
getFetch
public FetchType getFetch()
Gets the value of the fetch property.- Specified by:
getFetchin interfaceFetchableAttribute- Returns:
- possible object is
String
-
setFetch
public void setFetch(FetchType value)
Sets the value of the fetch property.- Specified by:
setFetchin interfaceFetchableAttribute- Parameters:
value- allowed object isString
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccessin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccessin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getMappedBy
public java.lang.String getMappedBy()
Gets the value of the mappedBy property.- Returns:
- possible object is
String
-
setMappedBy
public void setMappedBy(java.lang.String value)
Sets the value of the mappedBy property.- Parameters:
value- allowed object isString
-
isOrphanRemoval
public java.lang.Boolean isOrphanRemoval()
Gets the value of the orphanRemoval property.- Returns:
- possible object is
Boolean
-
setOrphanRemoval
public void setOrphanRemoval(java.lang.Boolean value)
Sets the value of the orphanRemoval property.- Parameters:
value- allowed object isBoolean
-
-