| Modifier and Type | Field and Description |
|---|---|
protected AccessType |
access |
protected CascadeType |
cascade |
protected FetchType |
fetch |
protected ForeignKey |
foreignKey |
protected Boolean |
id |
protected List<JoinColumn> |
joinColumn |
protected JoinTable |
joinTable |
protected String |
mappedBy |
protected String |
mapsId |
protected String |
name |
protected Boolean |
optional |
protected Boolean |
orphanRemoval |
protected ForeignKey |
primaryKeyForeignKey |
protected List<PrimaryKeyJoinColumn> |
primaryKeyJoinColumn |
protected 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.
|
List<JoinColumn> |
getJoinColumn()
Gets the value of the joinColumn property.
|
JoinTable |
getJoinTable()
Gets the value of the joinTable property.
|
String |
getMappedBy()
Gets the value of the mappedBy property.
|
String |
getMapsId()
Gets the value of the mapsId property.
|
String |
getName()
Gets the value of the name property.
|
ForeignKey |
getPrimaryKeyForeignKey()
Gets the value of the primaryKeyForeignKey property.
|
List<PrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn property.
|
String |
getTargetEntity()
Gets the value of the targetEntity property.
|
Boolean |
isId()
Gets the value of the id property.
|
Boolean |
isOptional()
Gets the value of the optional 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 |
setId(Boolean value)
Sets the value of the id property.
|
void |
setJoinTable(JoinTable value)
Sets the value of the joinTable property.
|
void |
setMappedBy(String value)
Sets the value of the mappedBy property.
|
void |
setMapsId(String value)
Sets the value of the mapsId property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOptional(Boolean value)
Sets the value of the optional property.
|
void |
setOrphanRemoval(Boolean value)
Sets the value of the orphanRemoval property.
|
void |
setPrimaryKeyForeignKey(ForeignKey value)
Sets the value of the primaryKeyForeignKey property.
|
void |
setTargetEntity(String value)
Sets the value of the targetEntity property.
|
protected List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
protected ForeignKey primaryKeyForeignKey
protected List<JoinColumn> joinColumn
protected ForeignKey foreignKey
protected CascadeType cascade
protected String targetEntity
protected AccessType access
protected Boolean orphanRemoval
public OneToOne()
public 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 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 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 Boolean isOptional()
Booleanpublic void setOptional(Boolean value)
value - allowed object is
Booleanpublic 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()
Booleanpublic void setOrphanRemoval(Boolean value)
value - allowed object is
Booleanpublic String getMapsId()
Stringpublic void setMapsId(String value)
value - allowed object is
StringCopyright © 2018–2018, microBean. All rights reserved.