Class OneToOne


  • public class OneToOne
    extends java.lang.Object
    • Field Detail

      • primaryKeyForeignKey

        protected ForeignKey primaryKeyForeignKey
      • joinColumn

        protected java.util.List<JoinColumn> joinColumn
      • name

        protected java.lang.String name
      • targetEntity

        protected java.lang.String targetEntity
      • optional

        protected java.lang.Boolean optional
      • mappedBy

        protected java.lang.String mappedBy
      • orphanRemoval

        protected java.lang.Boolean orphanRemoval
      • mapsId

        protected java.lang.String mapsId
      • id

        protected java.lang.Boolean id
    • Constructor Detail

      • OneToOne

        public OneToOne()
    • Method Detail

      • getPrimaryKeyJoinColumn

        public java.util.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

      • 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 java.util.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

      • 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 java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

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

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

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

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

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

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

        public void setOptional​(java.lang.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.
        Returns:
        possible object is AccessType
      • setAccess

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

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

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

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

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

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

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

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

        public void setId​(java.lang.Boolean value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is Boolean