Class JaxbBasic

java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbBasic
All Implemented Interfaces:
Serializable, PersistentAttribute
Direct Known Subclasses:
JaxbTenantId

public class JaxbBasic extends Object implements Serializable, 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:
  • Field Details

  • Constructor Details

    • JaxbBasic

      public JaxbBasic()
  • Method Details

    • getColumn

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

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

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

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

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

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

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

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

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

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

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

      public void setConvert(JaxbConvert value)
      Sets the value of the convert property.
      Parameters:
      value - allowed object is JaxbConvert
    • getNationalized

      public JaxbNationalized getNationalized()
      Gets the value of the nationalized property.
      Returns:
      possible object is JaxbNationalized
    • setNationalized

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

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

      public void setGenerated(GenerationTiming value)
      Sets the value of the generated property.
      Parameters:
      value - allowed object is String
    • getType

      public JaxbColumnType getType()
      Gets the value of the type property.
      Returns:
      possible object is JaxbColumnType
    • setType

      public void setType(JaxbColumnType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is JaxbColumnType
    • 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
    • getFetch

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

      public void setFetch(FetchType 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 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
    • isOptimisticLock

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

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

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

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