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

public class OneToOne extends Object implements Cloneable, org.jvnet.basicjaxb.lang.CopyTo, org.jvnet.basicjaxb.lang.Equals, org.jvnet.basicjaxb.lang.HashCode, org.jvnet.basicjaxb.lang.MergeFrom
  • Field Details

  • Constructor Details

    • OneToOne

      public OneToOne()
  • Method Details

    • getPrimaryKeyJoinColumn

      public List<PrimaryKeyJoinColumn> 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

      public ForeignKey getPrimaryKeyForeignKey()
      Gets the value of the primaryKeyForeignKey property.
      Returns:
      possible object is ForeignKey
    • setPrimaryKeyForeignKey

      public void setPrimaryKeyForeignKey(ForeignKey value)
      Sets the value of the primaryKeyForeignKey property.
      Parameters:
      value - allowed object is ForeignKey
    • getJoinColumn

      public List<JoinColumn> 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

      public ForeignKey getForeignKey()
      Gets the value of the foreignKey property.
      Returns:
      possible object is ForeignKey
    • setForeignKey

      public void setForeignKey(ForeignKey value)
      Sets the value of the foreignKey property.
      Parameters:
      value - allowed object is ForeignKey
    • getJoinTable

      public JoinTable getJoinTable()
      Gets the value of the joinTable property.
      Returns:
      possible object is JoinTable
    • setJoinTable

      public void setJoinTable(JoinTable value)
      Sets the value of the joinTable property.
      Parameters:
      value - allowed object is JoinTable
    • getCascade

      public CascadeType getCascade()
      Gets the value of the cascade property.
      Returns:
      possible object is CascadeType
    • setCascade

      public void setCascade(CascadeType value)
      Sets the value of the cascade property.
      Parameters:
      value - allowed object is CascadeType
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getTargetEntity

      public String getTargetEntity()
      Gets the value of the targetEntity property.
      Returns:
      possible object is String
    • setTargetEntity

      public void setTargetEntity(String value)
      Sets the value of the targetEntity property.
      Parameters:
      value - allowed object is String
    • getFetch

      public String getFetch()
      Gets the value of the fetch property.
      Returns:
      possible object is String
    • setFetch

      public void setFetch(String value)
      Sets the value of the fetch property.
      Parameters:
      value - allowed object is String
    • isOptional

      public Boolean isOptional()
      Gets the value of the optional property.
      Returns:
      possible object is Boolean
    • setOptional

      public void setOptional(Boolean value)
      Sets the value of the optional property.
      Parameters:
      value - allowed object is Boolean
    • getAccess

      public String getAccess()
      Gets the value of the access property.
      Returns:
      possible object is String
    • setAccess

      public void setAccess(String value)
      Sets the value of the access property.
      Parameters:
      value - allowed object is String
    • getMappedBy

      public String getMappedBy()
      Gets the value of the mappedBy property.
      Returns:
      possible object is String
    • setMappedBy

      public void setMappedBy(String value)
      Sets the value of the mappedBy property.
      Parameters:
      value - allowed object is String
    • isOrphanRemoval

      public Boolean isOrphanRemoval()
      Gets the value of the orphanRemoval property.
      Returns:
      possible object is Boolean
    • setOrphanRemoval

      public void setOrphanRemoval(Boolean value)
      Sets the value of the orphanRemoval property.
      Parameters:
      value - allowed object is Boolean
    • getMapsId

      public String getMapsId()
      Gets the value of the mapsId property.
      Returns:
      possible object is String
    • setMapsId

      public void setMapsId(String value)
      Sets the value of the mapsId property.
      Parameters:
      value - allowed object is String
    • isId

      public Boolean isId()
      Gets the value of the id property.
      Returns:
      possible object is Boolean
    • setId

      public void setId(Boolean value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Boolean
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • 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 interface org.jvnet.basicjaxb.lang.Equals
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • hashCode

      public int hashCode(org.jvnet.basicjaxb.locator.ObjectLocator locator, org.jvnet.basicjaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.basicjaxb.lang.HashCode
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.basicjaxb.lang.CopyTo
      Specified by:
      createNewInstance in interface org.jvnet.basicjaxb.lang.MergeFrom
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.basicjaxb.lang.CopyTo
    • clone

      public Object clone()
      Specified by:
      clone in interface org.jvnet.basicjaxb.lang.CopyTo
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(org.jvnet.basicjaxb.locator.ObjectLocator locator, Object target, org.jvnet.basicjaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.basicjaxb.lang.CopyTo
    • mergeFrom

      public void mergeFrom(Object lhs, Object rhs)
      Specified by:
      mergeFrom in interface org.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 interface org.jvnet.basicjaxb.lang.MergeFrom