|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.OneToOneImpl
public class OneToOneImpl
| Field Summary | |
|---|---|
protected CascadeTypeImpl |
cascade
|
protected FetchType |
fetch
|
protected List<JoinColumn> |
joinColumn
|
protected JoinTableImpl |
joinTable
|
protected String |
mappedBy
|
protected String |
name
|
protected Boolean |
optional
|
protected List<PrimaryKeyJoinColumn> |
primaryKeyJoinColumn
|
protected String |
targetEntity
|
| Constructor Summary | |
|---|---|
OneToOneImpl()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.OneToOneImpl instance. |
|
OneToOneImpl(OneToOneImpl o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.OneToOneImpl instance by copying a given instance. |
|
| Method Summary | |
|---|---|
OneToOneImpl |
clone()
Creates and returns a copy of this object. |
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. |
String |
getMappedBy()
Gets the value of the mappedBy property. |
String |
getName()
Gets the value of the name property. |
List<PrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn property. |
String |
getTargetEntity()
Gets the value of the targetEntity property. |
Boolean |
isOptional()
Gets the value of the optional property. |
void |
setCascade(CascadeType value)
Sets the value of the cascade property. |
void |
setFetch(FetchType value)
Sets the value of the fetch property. |
void |
setJoinTable(JoinTable value)
Sets the value of the joinTable property. |
void |
setMappedBy(String value)
Sets the value of the mappedBy property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setOptional(Boolean value)
Sets the value of the optional property. |
void |
setTargetEntity(String value)
Sets the value of the targetEntity property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
protected List<JoinColumn> joinColumn
protected JoinTableImpl joinTable
protected CascadeTypeImpl cascade
protected String name
protected String targetEntity
protected FetchType fetch
protected Boolean optional
protected String mappedBy
| Constructor Detail |
|---|
public OneToOneImpl()
net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.OneToOneImpl instance.
public OneToOneImpl(OneToOneImpl o)
net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm.impl.OneToOneImpl instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
OneToOne
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
getPrimaryKeyJoinColumn in interface OneToOnepublic List<JoinColumn> getJoinColumn()
OneToOne
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
getJoinColumn in interface OneToOnepublic JoinTable getJoinTable()
OneToOne
getJoinTable in interface OneToOneJoinTablepublic void setJoinTable(JoinTable value)
OneToOne
setJoinTable in interface OneToOnevalue - allowed object is
JoinTablepublic CascadeType getCascade()
OneToOne
getCascade in interface OneToOneCascadeTypepublic void setCascade(CascadeType value)
OneToOne
setCascade in interface OneToOnevalue - allowed object is
CascadeTypepublic String getName()
OneToOne
getName in interface OneToOneStringpublic void setName(String value)
OneToOne
setName in interface OneToOnevalue - allowed object is
Stringpublic String getTargetEntity()
OneToOne
getTargetEntity in interface OneToOneStringpublic void setTargetEntity(String value)
OneToOne
setTargetEntity in interface OneToOnevalue - allowed object is
Stringpublic FetchType getFetch()
OneToOne
getFetch in interface OneToOneFetchTypepublic void setFetch(FetchType value)
OneToOne
setFetch in interface OneToOnevalue - allowed object is
FetchTypepublic Boolean isOptional()
OneToOne
isOptional in interface OneToOneBooleanpublic void setOptional(Boolean value)
OneToOne
setOptional in interface OneToOnevalue - allowed object is
Booleanpublic String getMappedBy()
OneToOne
getMappedBy in interface OneToOneStringpublic void setMappedBy(String value)
OneToOne
setMappedBy in interface OneToOnevalue - allowed object is
Stringpublic OneToOneImpl clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||