Package org.hibernate.boot.jaxb.mapping

Class JaxbBasic

  • All Implemented Interfaces:
    Serializable,PersistentAttribute
    Direct Known Subclasses:
    JaxbTenantId

    public classJaxbBasicextendsObjectimplementsSerializable,PersistentAttribute
    See `@jakarta.persistence.Basic` See `@jakarta.persistence.Lob` See `@jakarta.persistence.Temporal` See `@jakarta.persistence.Enumerated` See `@jakarta.persistence.Convert` See `@org.hibernate.annotations.Nationalized` See `@org.hibernate.annotations.OptimisticLock` See `@org.hibernate.annotations.AttributeAccessor` See `@org.hibernate.annotations.Type` See `@org.hibernate.annotations.JdbcTypeCode`

    Java class for basic complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="basic">   <complexContent>     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">       <sequence>         <choice minOccurs="0">           <element name="column" type="{http://www.hibernate.org/xsd/orm/mapping}column"/>           <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string"/>         </choice>         <choice>           <element name="lob" type="{http://www.hibernate.org/xsd/orm/mapping}lob" minOccurs="0"/>           <element name="temporal" type="{http://www.hibernate.org/xsd/orm/mapping}temporal" minOccurs="0"/>           <element name="enumerated" type="{http://www.hibernate.org/xsd/orm/mapping}enumerated" minOccurs="0"/>           <element name="convert" type="{http://www.hibernate.org/xsd/orm/mapping}convert" minOccurs="0"/>           <element name="nationalized" type="{http://www.hibernate.org/xsd/orm/mapping}nationalized" minOccurs="0"/>         </choice>         <element name="generated" type="{http://www.hibernate.org/xsd/orm/mapping}basic-generation-timing-type" minOccurs="0"/>         <element name="type" type="{http://www.hibernate.org/xsd/orm/mapping}column-type" minOccurs="0"/>       </sequence>       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />       <attribute name="fetch" type="{http://www.hibernate.org/xsd/orm/mapping}fetch-type" />       <attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" />       <attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" />       <attribute name="attribute-accessor" type="{http://www.w3.org/2001/XMLSchema}string" />       <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />       <attribute name="jdbc-type-code" type="{http://www.w3.org/2001/XMLSchema}int" />     </restriction>   </complexContent> </complexType>
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxbBasic

        public JaxbBasic()
    • Method Detail

      • getColumn

        public JaxbColumn getColumn()
        Gets the value of the column property.
        Returns:
        possible object isJaxbColumn
      • setColumn

        public void setColumn​(JaxbColumn value)
        Sets the value of the column property.
        Parameters:
        value - allowed object isJaxbColumn
      • getFormula

        public String getFormula()
        Gets the value of the formula property.
        Returns:
        possible object isString
      • setFormula

        public void setFormula​(String value)
        Sets the value of the formula property.
        Parameters:
        value - allowed object isString
      • getLob

        public JaxbLob getLob()
        Gets the value of the lob property.
        Returns:
        possible object isJaxbLob
      • setLob

        public void setLob​(JaxbLob value)
        Sets the value of the lob property.
        Parameters:
        value - allowed object isJaxbLob
      • getTemporal

        public TemporalType getTemporal()
        Gets the value of the temporal property.
        Returns:
        possible object isString
      • setTemporal

        public void setTemporal​(TemporalType value)
        Sets the value of the temporal property.
        Parameters:
        value - allowed object isString
      • getEnumerated

        public EnumType getEnumerated()
        Gets the value of the enumerated property.
        Returns:
        possible object isString
      • setEnumerated

        public void setEnumerated​(EnumType value)
        Sets the value of the enumerated property.
        Parameters:
        value - allowed object isString
      • getConvert

        public JaxbConvert getConvert()
        Gets the value of the convert property.
        Returns:
        possible object isJaxbConvert
      • setConvert

        public void setConvert​(JaxbConvert value)
        Sets the value of the convert property.
        Parameters:
        value - allowed object isJaxbConvert
      • setNationalized

        public void setNationalized​(JaxbNationalized value)
        Sets the value of the nationalized property.
        Parameters:
        value - allowed object isJaxbNationalized
      • getGenerated

        public GenerationTiming getGenerated()
        Gets the value of the generated property.
        Returns:
        possible object isString
      • setGenerated

        public void setGenerated​(GenerationTiming value)
        Sets the value of the generated property.
        Parameters:
        value - allowed object isString
      • setType

        public void setType​(JaxbColumnType value)
        Sets the value of the type property.
        Parameters:
        value - allowed object isJaxbColumnType
      • getFetch

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

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

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

        public void setOptional​(Boolean value)
        Sets the value of the optional property.
        Parameters:
        value - allowed object isBoolean
      • isOptimisticLock

        public boolean isOptimisticLock()
        Gets the value of the optimisticLock property.
        Returns:
        possible object isBoolean
      • setOptimisticLock

        public void setOptimisticLock​(Boolean value)
        Sets the value of the optimisticLock property.
        Parameters:
        value - allowed object isBoolean
      • getJdbcTypeCode

        public Integer getJdbcTypeCode()
        Gets the value of the jdbcTypeCode property.
        Returns:
        possible object isInteger
      • setJdbcTypeCode

        public void setJdbcTypeCode​(Integer value)
        Sets the value of the jdbcTypeCode property.
        Parameters:
        value - allowed object isInteger