|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.java.xml.ns.persistence.orm.OneToOne
public class OneToOne
| Field Summary | |
|---|---|
protected String |
access
|
protected CascadeType |
cascade
|
protected String |
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 String |
targetEntity
|
| Constructor Summary | |
|---|---|
OneToOne()
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
|
Object |
createNewInstance()
|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
String |
getAccess()
Gets the value of the access property. |
CascadeType |
getCascade()
Gets the value of the cascade property. |
String |
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 |
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. |
String |
getTargetEntity()
Gets the value of the targetEntity property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
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 |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
|
void |
mergeFrom(Object left,
Object right)
|
void |
setAccess(String value)
Sets the value of the access property. |
void |
setCascade(CascadeType value)
Sets the value of the cascade property. |
void |
setFetch(String 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 |
setTargetEntity(String value)
Sets the value of the targetEntity property. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
protected List<JoinColumn> joinColumn
protected JoinTable joinTable
protected CascadeType cascade
protected String name
protected String targetEntity
protected String fetch
protected Boolean optional
protected String access
protected String mappedBy
protected Boolean orphanRemoval
protected String mapsId
protected Boolean id
| Constructor Detail |
|---|
public OneToOne()
| Method Detail |
|---|
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 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 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 String getFetch()
Stringpublic void setFetch(String value)
value - allowed object is
Stringpublic Boolean isOptional()
Booleanpublic void setOptional(Boolean value)
value - allowed object is
Booleanpublic String getAccess()
Stringpublic void setAccess(String value)
value - allowed object is
Stringpublic 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
Stringpublic Boolean isId()
Booleanpublic void setId(Boolean value)
value - allowed object is
Boolean
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Objectpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||