Class OneToOne
java.lang.Object
ee.jakarta.xml.ns.persistence.orm.OneToOne
- All Implemented Interfaces:
Cloneable
,org.jvnet.basicjaxb.lang.CopyTo
,org.jvnet.basicjaxb.lang.Equals
,org.jvnet.basicjaxb.lang.HashCode
,org.jvnet.basicjaxb.lang.MergeFrom
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected CascadeType
protected String
protected ForeignKey
protected Boolean
protected List
<JoinColumn> protected JoinTable
protected String
protected String
protected String
protected Boolean
protected Boolean
protected ForeignKey
protected List
<PrimaryKeyJoinColumn> protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
copyTo
(org.jvnet.basicjaxb.locator.ObjectLocator locator, Object target, org.jvnet.basicjaxb.lang.CopyStrategy strategy) boolean
boolean
equals
(org.jvnet.basicjaxb.locator.ObjectLocator thisLocator, org.jvnet.basicjaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.basicjaxb.lang.EqualsStrategy strategy) Gets the value of the access property.Gets the value of the cascade property.getFetch()
Gets the value of the fetch property.Gets the value of the foreignKey property.Gets the value of the joinColumn property.Gets the value of the joinTable property.Gets the value of the mappedBy property.Gets the value of the mapsId property.getName()
Gets the value of the name property.Gets the value of the primaryKeyForeignKey property.Gets the value of the primaryKeyJoinColumn property.Gets the value of the targetEntity property.int
hashCode()
int
hashCode
(org.jvnet.basicjaxb.locator.ObjectLocator locator, org.jvnet.basicjaxb.lang.HashCodeStrategy strategy) isId()
Gets the value of the id property.Gets the value of the optional property.Gets the value of the orphanRemoval property.void
void
mergeFrom
(org.jvnet.basicjaxb.locator.ObjectLocator lhsLocator, org.jvnet.basicjaxb.locator.ObjectLocator rhsLocator, Object lhs, Object rhs, org.jvnet.basicjaxb.lang.MergeStrategy strategy) void
Sets the value of the access property.void
setCascade
(CascadeType value) Sets the value of the cascade property.void
Sets the value of the fetch property.void
setForeignKey
(ForeignKey value) Sets the value of the foreignKey property.void
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
Sets the value of the mapsId property.void
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
Sets the value of the primaryKeyForeignKey property.void
setTargetEntity
(String value) Sets the value of the targetEntity property.
-
Field Details
-
-
primaryKeyForeignKey
-
joinColumn
-
foreignKey
-
joinTable
-
cascade
-
name
-
targetEntity
-
fetch
-
optional
-
access
-
mappedBy
-
orphanRemoval
-
mapsId
-
id
-
-
Constructor Details
-
OneToOne
public OneToOne()
-
-
Method Details
-
getPrimaryKeyJoinColumn
Gets the value of the primaryKeyJoinColumn property.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
- Returns:
- The value of the primaryKeyJoinColumn property.
-
getPrimaryKeyForeignKey
Gets the value of the primaryKeyForeignKey property.- Returns:
- possible object is
ForeignKey
-
setPrimaryKeyForeignKey
Sets the value of the primaryKeyForeignKey property.- Parameters:
value
- allowed object isForeignKey
-
getJoinColumn
Gets the value of the joinColumn property.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
- Returns:
- The value of the joinColumn property.
-
getForeignKey
Gets the value of the foreignKey property.- Returns:
- possible object is
ForeignKey
-
setForeignKey
Sets the value of the foreignKey property.- Parameters:
value
- allowed object isForeignKey
-
getJoinTable
Gets the value of the joinTable property.- Returns:
- possible object is
JoinTable
-
setJoinTable
Sets the value of the joinTable property.- Parameters:
value
- allowed object isJoinTable
-
getCascade
Gets the value of the cascade property.- Returns:
- possible object is
CascadeType
-
setCascade
Sets the value of the cascade property.- Parameters:
value
- allowed object isCascadeType
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getTargetEntity
Gets the value of the targetEntity property.- Returns:
- possible object is
String
-
setTargetEntity
Sets the value of the targetEntity property.- Parameters:
value
- allowed object isString
-
getFetch
Gets the value of the fetch property.- Returns:
- possible object is
String
-
setFetch
Sets the value of the fetch property.- Parameters:
value
- allowed object isString
-
isOptional
Gets the value of the optional property.- Returns:
- possible object is
Boolean
-
setOptional
Sets the value of the optional property.- Parameters:
value
- allowed object isBoolean
-
getAccess
Gets the value of the access property.- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Parameters:
value
- allowed object isString
-
getMappedBy
Gets the value of the mappedBy property.- Returns:
- possible object is
String
-
setMappedBy
Sets the value of the mappedBy property.- Parameters:
value
- allowed object isString
-
isOrphanRemoval
Gets the value of the orphanRemoval property.- Returns:
- possible object is
Boolean
-
setOrphanRemoval
Sets the value of the orphanRemoval property.- Parameters:
value
- allowed object isBoolean
-
getMapsId
Gets the value of the mapsId property.- Returns:
- possible object is
String
-
setMapsId
Sets the value of the mapsId property.- Parameters:
value
- allowed object isString
-
isId
Gets the value of the id property.- Returns:
- possible object is
Boolean
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isBoolean
-
equals
-
equals
public boolean equals(org.jvnet.basicjaxb.locator.ObjectLocator thisLocator, org.jvnet.basicjaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.basicjaxb.lang.EqualsStrategy strategy) - Specified by:
equals
in interfaceorg.jvnet.basicjaxb.lang.Equals
-
hashCode
public int hashCode() -
hashCode
public int hashCode(org.jvnet.basicjaxb.locator.ObjectLocator locator, org.jvnet.basicjaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCode
in interfaceorg.jvnet.basicjaxb.lang.HashCode
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.basicjaxb.lang.CopyTo
- Specified by:
createNewInstance
in interfaceorg.jvnet.basicjaxb.lang.MergeFrom
-
copyTo
- Specified by:
copyTo
in interfaceorg.jvnet.basicjaxb.lang.CopyTo
-
clone
-
copyTo
public Object copyTo(org.jvnet.basicjaxb.locator.ObjectLocator locator, Object target, org.jvnet.basicjaxb.lang.CopyStrategy strategy) - Specified by:
copyTo
in interfaceorg.jvnet.basicjaxb.lang.CopyTo
-
mergeFrom
- Specified by:
mergeFrom
in interfaceorg.jvnet.basicjaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(org.jvnet.basicjaxb.locator.ObjectLocator lhsLocator, org.jvnet.basicjaxb.locator.ObjectLocator rhsLocator, Object lhs, Object rhs, org.jvnet.basicjaxb.lang.MergeStrategy strategy) - Specified by:
mergeFrom
in interfaceorg.jvnet.basicjaxb.lang.MergeFrom
-