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()
String
public void setOrderBy(String value)
value
- allowed object is
String
public OrderColumn getOrderColumn()
OrderColumn
public void setOrderColumn(OrderColumn value)
value
- allowed object is
OrderColumn
public MapKey getMapKey()
MapKey
public void setMapKey(MapKey value)
value
- allowed object is
MapKey
public MapKeyClass getMapKeyClass()
MapKeyClass
public void setMapKeyClass(MapKeyClass value)
value
- allowed object is
MapKeyClass
public TemporalType getMapKeyTemporal()
TemporalType
public void setMapKeyTemporal(TemporalType value)
value
- allowed object is
TemporalType
public EnumType getMapKeyEnumerated()
EnumType
public void setMapKeyEnumerated(EnumType value)
value
- allowed object is
EnumType
public 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()
MapKeyColumn
public void setMapKeyColumn(MapKeyColumn value)
value
- allowed object is
MapKeyColumn
public 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()
ForeignKey
public void setMapKeyForeignKey(ForeignKey value)
value
- allowed object is
ForeignKey
public JoinTable getJoinTable()
JoinTable
public void setJoinTable(JoinTable value)
value
- allowed object is
JoinTable
public 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()
ForeignKey
public void setForeignKey(ForeignKey value)
value
- allowed object is
ForeignKey
public CascadeType getCascade()
CascadeType
public void setCascade(CascadeType value)
value
- allowed object is
CascadeType
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getTargetEntity()
String
public void setTargetEntity(String value)
value
- allowed object is
String
public FetchType getFetch()
FetchType
public void setFetch(FetchType value)
value
- allowed object is
FetchType
public AccessType getAccess()
AccessType
public void setAccess(AccessType value)
value
- allowed object is
AccessType
public String getMappedBy()
String
public void setMappedBy(String value)
value
- allowed object is
String
public Boolean isOrphanRemoval()
Boolean
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.