|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jpaxjc.ns.persistence.orm.OneToOne
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class OneToOne
| Field Summary | |
|---|---|
protected CascadeType |
cascade
|
protected FetchType |
fetch
|
protected List<JoinColumn> |
joinColumn
|
protected JoinTable |
joinTable
|
protected String |
mappedBy
|
protected String |
name
|
protected Boolean |
optional
|
protected List<PrimaryKeyJoinColumn> |
primaryKeyJoinColumn
|
protected String |
targetEntity
|
| Constructor Summary | |
|---|---|
OneToOne()
Creates a new OneToOne instance. |
|
OneToOne(OneToOne o)
Creates a new OneToOne instance by deeply copying a given OneToOne instance. |
|
| Method Summary | |
|---|---|
OneToOne |
clone()
Creates and returns a deep 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 |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<JoinColumn> joinColumn
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected JoinTable joinTable
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected CascadeType cascade
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String name
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String targetEntity
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected FetchType fetch
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean optional
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String mappedBy
| Constructor Detail |
|---|
public OneToOne()
OneToOne instance.
public OneToOne(OneToOne o)
OneToOne instance by deeply copying a given OneToOne instance.
o - The instance to copy.
NullPointerException - if o is null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
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
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
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
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public JoinTable getJoinTable()
JoinTable
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setJoinTable(JoinTable value)
value - allowed object is
JoinTable
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public CascadeType getCascade()
CascadeType
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setCascade(CascadeType value)
value - allowed object is
CascadeType
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getName()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setName(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getTargetEntity()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setTargetEntity(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public FetchType getFetch()
FetchType
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setFetch(FetchType value)
value - allowed object is
FetchType
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Boolean isOptional()
Boolean
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setOptional(Boolean value)
value - allowed object is
Boolean
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getMappedBy()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setMappedBy(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public OneToOne clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||