public class OneToMany extends Object
| Modifier and Type | Field and 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 and Description |
|---|
OneToMany() |
| Modifier and Type | Method and 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.
|
protected String orderBy
protected OrderColumn orderColumn
protected MapKey mapKey
protected MapKeyClass mapKeyClass
protected TemporalType mapKeyTemporal
protected EnumType mapKeyEnumerated
protected List<AttributeOverride> mapKeyAttributeOverride
protected MapKeyColumn mapKeyColumn
protected List<MapKeyJoinColumn> mapKeyJoinColumn
protected ForeignKey mapKeyForeignKey
protected JoinTable joinTable
protected List<JoinColumn> joinColumn
protected ForeignKey foreignKey
protected CascadeType cascade
protected String name
protected String targetEntity
protected FetchType fetch
protected AccessType access
protected String mappedBy
protected Boolean orphanRemoval
public String getOrderBy()
Stringpublic void setOrderBy(String value)
value - allowed object is
Stringpublic OrderColumn getOrderColumn()
OrderColumnpublic void setOrderColumn(OrderColumn value)
value - allowed object is
OrderColumnpublic MapKey getMapKey()
MapKeypublic void setMapKey(MapKey value)
value - allowed object is
MapKeypublic MapKeyClass getMapKeyClass()
MapKeyClasspublic void setMapKeyClass(MapKeyClass value)
value - allowed object is
MapKeyClasspublic TemporalType getMapKeyTemporal()
TemporalTypepublic void setMapKeyTemporal(TemporalType value)
value - allowed object is
TemporalTypepublic EnumType getMapKeyEnumerated()
EnumTypepublic void setMapKeyEnumerated(EnumType value)
value - allowed object is
EnumTypepublic List<AttributeOverride> getMapKeyAttributeOverride()
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 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
public List<Convert> getMapKeyConvert()
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 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
public MapKeyColumn getMapKeyColumn()
MapKeyColumnpublic void setMapKeyColumn(MapKeyColumn value)
value - allowed object is
MapKeyColumnpublic List<MapKeyJoinColumn> getMapKeyJoinColumn()
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 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
public ForeignKey getMapKeyForeignKey()
ForeignKeypublic void setMapKeyForeignKey(ForeignKey value)
value - allowed object is
ForeignKeypublic JoinTable getJoinTable()
JoinTablepublic void setJoinTable(JoinTable value)
value - allowed object is
JoinTablepublic List<JoinColumn> getJoinColumn()
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 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
public ForeignKey getForeignKey()
ForeignKeypublic void setForeignKey(ForeignKey value)
value - allowed object is
ForeignKeypublic CascadeType getCascade()
CascadeTypepublic void setCascade(CascadeType value)
value - allowed object is
CascadeTypepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getTargetEntity()
Stringpublic void setTargetEntity(String value)
value - allowed object is
Stringpublic FetchType getFetch()
FetchTypepublic void setFetch(FetchType value)
value - allowed object is
FetchTypepublic AccessType getAccess()
AccessTypepublic void setAccess(AccessType value)
value - allowed object is
AccessTypepublic String getMappedBy()
Stringpublic void setMappedBy(String value)
value - allowed object is
Stringpublic Boolean isOrphanRemoval()
BooleanCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.