Class JaxbOneToOne

java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbOneToOne
All Implemented Interfaces:
Serializable, AssociationAttribute, FetchableAttribute, PersistentAttribute, ToOneAttribute

public class JaxbOneToOne extends Object implements Serializable, ToOneAttribute
See Also:
  • Field Details

  • Constructor Details

    • JaxbOneToOne

      public JaxbOneToOne()
  • Method Details

    • getPrimaryKeyJoinColumn

      public List<JaxbPrimaryKeyJoinColumn> 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 Jakarta XML Binding 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 JaxbPrimaryKeyJoinColumn

      Returns:
      The value of the primaryKeyJoinColumn property.
    • getPrimaryKeyForeignKey

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

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

      public List<JaxbJoinColumn> 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 Jakarta XML Binding 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 JaxbJoinColumn

      Returns:
      The value of the joinColumn property.
    • getForeignKey

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

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

      public JaxbJoinTable getJoinTable()
      Gets the value of the joinTable property.
      Specified by:
      getJoinTable in interface AssociationAttribute
      Returns:
      possible object is JaxbJoinTable
    • setJoinTable

      public void setJoinTable(JaxbJoinTable value)
      Sets the value of the joinTable property.
      Specified by:
      setJoinTable in interface AssociationAttribute
      Parameters:
      value - allowed object is JaxbJoinTable
    • getCascade

      public JaxbCascadeType getCascade()
      Gets the value of the cascade property.
      Specified by:
      getCascade in interface AssociationAttribute
      Returns:
      possible object is JaxbCascadeType
    • setCascade

      public void setCascade(JaxbCascadeType value)
      Sets the value of the cascade property.
      Specified by:
      setCascade in interface AssociationAttribute
      Parameters:
      value - allowed object is JaxbCascadeType
    • getName

      public String getName()
      Gets the value of the name property.
      Specified by:
      getName in interface PersistentAttribute
      Returns:
      possible object is String
    • setName

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

      public String getTargetEntity()
      Gets the value of the targetEntity property.
      Specified by:
      getTargetEntity in interface AssociationAttribute
      Returns:
      possible object is String
    • setTargetEntity

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

      public FetchType getFetch()
      Gets the value of the fetch property.
      Specified by:
      getFetch in interface FetchableAttribute
      Returns:
      possible object is String
    • setFetch

      public void setFetch(FetchType value)
      Sets the value of the fetch property.
      Specified by:
      setFetch in interface FetchableAttribute
      Parameters:
      value - allowed object is String
    • getFetchMode

      public JaxbSingularFetchMode getFetchMode()
      Gets the value of the fetchMode property.
      Specified by:
      getFetchMode in interface ToOneAttribute
      Returns:
      possible object is JaxbSingularFetchMode
    • setFetchMode

      public void setFetchMode(JaxbSingularFetchMode value)
      Sets the value of the fetchMode property.
      Specified by:
      setFetchMode in interface ToOneAttribute
      Parameters:
      value - allowed object is JaxbSingularFetchMode
    • 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 AccessType getAccess()
      Gets the value of the access property.
      Specified by:
      getAccess in interface PersistentAttribute
      Returns:
      possible object is String
    • setAccess

      public void setAccess(AccessType value)
      Sets the value of the access property.
      Specified by:
      setAccess in interface PersistentAttribute
      Parameters:
      value - allowed object is String
    • getAttributeAccessor

      public String getAttributeAccessor()
      Gets the value of the attributeAccessor property.
      Specified by:
      getAttributeAccessor in interface PersistentAttribute
      Returns:
      possible object is String
    • setAttributeAccessor

      public void setAttributeAccessor(String value)
      Sets the value of the attributeAccessor property.
      Specified by:
      setAttributeAccessor in interface PersistentAttribute
      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