public class OneToOne
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected AccessType |
access |
protected CascadeType |
cascade |
protected FetchType |
fetch |
protected ForeignKey |
foreignKey |
protected java.lang.Boolean |
id |
protected java.util.List<JoinColumn> |
joinColumn |
protected JoinTable |
joinTable |
protected java.lang.String |
mappedBy |
protected java.lang.String |
mapsId |
protected java.lang.String |
name |
protected java.lang.Boolean |
optional |
protected java.lang.Boolean |
orphanRemoval |
protected ForeignKey |
primaryKeyForeignKey |
protected java.util.List<PrimaryKeyJoinColumn> |
primaryKeyJoinColumn |
protected java.lang.String |
targetEntity |
| Constructor and Description |
|---|
OneToOne() |
| 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.
|
java.util.List<JoinColumn> |
getJoinColumn()
Gets the value of the joinColumn property.
|
JoinTable |
getJoinTable()
Gets the value of the joinTable property.
|
java.lang.String |
getMappedBy()
Gets the value of the mappedBy property.
|
java.lang.String |
getMapsId()
Gets the value of the mapsId property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
ForeignKey |
getPrimaryKeyForeignKey()
Gets the value of the primaryKeyForeignKey property.
|
java.util.List<PrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn property.
|
java.lang.String |
getTargetEntity()
Gets the value of the targetEntity property.
|
java.lang.Boolean |
isId()
Gets the value of the id property.
|
java.lang.Boolean |
isOptional()
Gets the value of the optional property.
|
java.lang.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 |
setId(java.lang.Boolean value)
Sets the value of the id property.
|
void |
setJoinTable(JoinTable value)
Sets the value of the joinTable property.
|
void |
setMappedBy(java.lang.String value)
Sets the value of the mappedBy property.
|
void |
setMapsId(java.lang.String value)
Sets the value of the mapsId property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setOptional(java.lang.Boolean value)
Sets the value of the optional property.
|
void |
setOrphanRemoval(java.lang.Boolean value)
Sets the value of the orphanRemoval property.
|
void |
setPrimaryKeyForeignKey(ForeignKey value)
Sets the value of the primaryKeyForeignKey property.
|
void |
setTargetEntity(java.lang.String value)
Sets the value of the targetEntity property.
|
protected java.util.List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
protected ForeignKey primaryKeyForeignKey
protected java.util.List<JoinColumn> joinColumn
protected ForeignKey foreignKey
protected JoinTable joinTable
protected CascadeType cascade
protected java.lang.String name
protected java.lang.String targetEntity
protected FetchType fetch
protected java.lang.Boolean optional
protected AccessType access
protected java.lang.String mappedBy
protected java.lang.Boolean orphanRemoval
protected java.lang.String mapsId
protected java.lang.Boolean id
public java.util.List<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
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 primaryKeyJoinColumn property.
For example, to add a new item, do as follows:
getPrimaryKeyJoinColumn().add(newItem);
Objects of the following type(s) are allowed in the list
PrimaryKeyJoinColumn
public ForeignKey getPrimaryKeyForeignKey()
ForeignKeypublic void setPrimaryKeyForeignKey(ForeignKey value)
value - allowed object is
ForeignKeypublic java.util.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 JoinTable getJoinTable()
JoinTablepublic void setJoinTable(JoinTable value)
value - allowed object is
JoinTablepublic CascadeType getCascade()
CascadeTypepublic void setCascade(CascadeType value)
value - allowed object is
CascadeTypepublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTargetEntity()
Stringpublic void setTargetEntity(java.lang.String value)
value - allowed object is
Stringpublic FetchType getFetch()
FetchTypepublic void setFetch(FetchType value)
value - allowed object is
FetchTypepublic java.lang.Boolean isOptional()
Booleanpublic void setOptional(java.lang.Boolean value)
value - allowed object is
Booleanpublic AccessType getAccess()
AccessTypepublic void setAccess(AccessType value)
value - allowed object is
AccessTypepublic java.lang.String getMappedBy()
Stringpublic void setMappedBy(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Boolean isOrphanRemoval()
Booleanpublic void setOrphanRemoval(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getMapsId()
Stringpublic void setMapsId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Boolean isId()
Booleanpublic void setId(java.lang.Boolean value)
value - allowed object is
BooleanCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.