|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.jpa.OneToOne
public class OneToOne
| Field Summary | |
|---|---|
protected AccessType |
access
|
protected CascadeType |
cascade
|
protected FetchType |
fetch
|
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 List<PrimaryKeyJoinColumn> |
primaryKeyJoinColumn
|
protected RelationField |
relatedField
|
protected boolean |
syntheticField
|
protected String |
targetEntity
|
| Constructor Summary | |
|---|---|
OneToOne()
|
|
| Method Summary | |
|---|---|
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. |
List<JoinColumn> |
getJoinColumn()
Gets the value of the joinColumn property. |
JoinTable |
getJoinTable()
Gets the value of the joinTable property. |
Object |
getKey()
Gets the immutable key for this object. |
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. |
List<PrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn property. |
RelationField |
getRelatedField()
This is only used for xml converters and will normally return null. |
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. |
boolean |
isSyntheticField()
This is only used for xml converters and will normally return false. |
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 |
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 |
setRelatedField(RelationField value)
Gets the field on the target entity for this relationship. |
void |
setSyntheticField(boolean syntheticField)
This is only used for xml converters and will normally return false. |
void |
setTargetEntity(String value)
Sets the value of the targetEntity property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
protected List<JoinColumn> joinColumn
protected JoinTable joinTable
protected CascadeType cascade
protected FetchType fetch
protected AccessType access
protected String mappedBy
protected Boolean orphanRemoval
protected String mapsId
protected Boolean id
protected String name
protected Boolean optional
protected String targetEntity
protected RelationField relatedField
protected boolean syntheticField
| Constructor Detail |
|---|
public OneToOne()
| Method Detail |
|---|
public List<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
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 List<JoinColumn> getJoinColumn()
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
getJoinColumn in interface RelationFieldpublic JoinTable getJoinTable()
getJoinTable in interface RelationFieldJoinTablepublic void setJoinTable(JoinTable value)
setJoinTable in interface RelationFieldvalue - allowed object is
JoinTablepublic CascadeType getCascade()
getCascade in interface RelationFieldCascadeTypepublic void setCascade(CascadeType value)
setCascade in interface RelationFieldvalue - allowed object is
CascadeTypepublic FetchType getFetch()
getFetch in interface RelationFieldFetchTypepublic void setFetch(FetchType value)
setFetch in interface RelationFieldvalue - allowed object is
FetchTypepublic AccessType getAccess()
AccessTypepublic void setAccess(AccessType value)
value - allowed object is
AccessTypepublic String getMappedBy()
getMappedBy in interface RelationFieldStringpublic void setMappedBy(String value)
setMappedBy in interface RelationFieldvalue - 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
Stringpublic Boolean isId()
Booleanpublic void setId(Boolean value)
value - allowed object is
Booleanpublic String getName()
getName in interface RelationFieldStringpublic void setName(String value)
setName in interface RelationFieldvalue - allowed object is
Stringpublic Boolean isOptional()
Booleanpublic void setOptional(Boolean value)
value - allowed object is
Booleanpublic String getTargetEntity()
getTargetEntity in interface RelationFieldStringpublic void setTargetEntity(String value)
setTargetEntity in interface RelationFieldvalue - allowed object is
Stringpublic RelationField getRelatedField()
getRelatedField in interface RelationFieldpublic void setRelatedField(RelationField value)
setRelatedField in interface RelationFieldvalue - field on the target entity for this relationship.public boolean isSyntheticField()
RelationField
isSyntheticField in interface RelationFieldpublic void setSyntheticField(boolean syntheticField)
RelationField
setSyntheticField in interface RelationFieldpublic Object getKey()
Keyable
getKey in interface Keyable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||