Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbBasic

extends Object
implements Serializable, PersistentAttribute
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.PersistentAttribute, java.io.Serializable
Known Direct Subclasses
org.hibernate.boot.jaxb.mapping.JaxbTenantId
Annotations
@XmlAccessorType:FIELD
@XmlType
name:basic
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:column, formula, lob, temporal, enumerated, convert, nationalized, generated, type
@XmlSeeAlso:JaxbTenantId
Imports
java.io.Serializable, jakarta.persistence.AccessType, .EnumType, .FetchType, .TemporalType, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlSchemaType, .XmlSeeAlso, .XmlType, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter, org.hibernate.tuple.GenerationTiming

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>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected String
protected JaxbColumn
protected JaxbConvert
protected EnumType
protected FetchType
protected String
protected GenerationTiming
generated

Deprecated as a consequence of GenerationTiming being deprecated.
protected Integer
protected JaxbLob
protected String
protected JaxbNationalized
protected Boolean
protected Boolean
protected TemporalType
protected JaxbColumnType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AccessType

Returns:

possible object is String
getAccess
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAccess.

Gets the value of the access property.
public String

Returns:

possible object is String
getAttributeAccessor
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAttributeAccessor.

Gets the value of the attributeAccessor property.
public JaxbColumn

Returns:

possible object is JaxbColumn
getColumn
()

Gets the value of the column property.

public JaxbConvert

Returns:

possible object is JaxbConvert
getConvert
()

Gets the value of the convert property.

public EnumType

Returns:

possible object is String
getEnumerated
()

Gets the value of the enumerated property.

public FetchType

Returns:

possible object is String
getFetch
()

Gets the value of the fetch property.

public String

Returns:

possible object is String
getFormula
()

Gets the value of the formula property.

public GenerationTiming

Returns:

possible object is String
getGenerated
()

Deprecated as a consequence of GenerationTiming being deprecated.
Gets the value of the generated property.
public Integer

Returns:

possible object is Integer
getJdbcTypeCode
()

Gets the value of the jdbcTypeCode property.

public JaxbLob

Returns:

possible object is JaxbLob
getLob
()

Gets the value of the lob property.

public String

Returns:

possible object is String
getName
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getName.

Gets the value of the name property.
public JaxbNationalized

Returns:

possible object is JaxbNationalized
getNationalized
()

Gets the value of the nationalized property.

public TemporalType

Returns:

possible object is String
getTemporal
()

Gets the value of the temporal property.

public JaxbColumnType

Returns:

possible object is JaxbColumnType
getType
()

Gets the value of the type property.

public boolean

Returns:

possible object is Boolean
isOptimisticLock
()

Gets the value of the optimisticLock property.

public Boolean

Returns:

possible object is Boolean
isOptional
()

Gets the value of the optional property.

public void
setAccess(AccessType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAccess.

Sets the value of the access property.
public void
setAttributeAccessor(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAttributeAccessor.

Sets the value of the attributeAccessor property.
public void
setColumn(JaxbColumn
allowed object is JaxbColumn
value
)

Sets the value of the column property.

public void
setConvert(JaxbConvert
allowed object is JaxbConvert
value
)

Sets the value of the convert property.

public void
setEnumerated(EnumType
allowed object is String
value
)

Sets the value of the enumerated property.

public void
setFetch(FetchType
allowed object is String
value
)

Sets the value of the fetch property.

public void
setFormula(String
allowed object is String
value
)

Sets the value of the formula property.

public void
setGenerated(GenerationTiming
allowed object is String
value
)

Deprecated as a consequence of GenerationTiming being deprecated.
Sets the value of the generated property.
public void
setJdbcTypeCode(Integer
allowed object is Integer
value
)

Sets the value of the jdbcTypeCode property.

public void
setLob(JaxbLob
allowed object is JaxbLob
value
)

Sets the value of the lob property.

public void
setName(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setName.

Sets the value of the name property.
public void
setNationalized(JaxbNationalized
allowed object is JaxbNationalized
value
)

Sets the value of the nationalized property.

public void
setOptimisticLock(Boolean
allowed object is Boolean
value
)

Sets the value of the optimisticLock property.

public void
setOptional(Boolean
allowed object is Boolean
value
)

Sets the value of the optional property.

public void
setTemporal(TemporalType
allowed object is String
value
)

Sets the value of the temporal property.

public void
setType(JaxbColumnType
allowed object is JaxbColumnType
value
)

Sets the value of the type property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
protected AccessType access
Annotations
@XmlAttribute
name:access
@XmlJavaTypeAdapter:Adapter1
attributeAccessorback to summary
protected String attributeAccessor
Annotations
@XmlAttribute
name:attribute-accessor
columnback to summary
protected JaxbColumn column
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
convertback to summary
protected JaxbConvert convert
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
enumeratedback to summary
protected EnumType enumerated
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
type:String
@XmlJavaTypeAdapter:Adapter8
@XmlSchemaType
name:token
fetchback to summary
protected FetchType fetch
Annotations
@XmlAttribute
name:fetch
@XmlJavaTypeAdapter:Adapter9
formulaback to summary
protected String formula
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
generatedback to summary
protected GenerationTiming generated

Deprecated

as a consequence of GenerationTiming being deprecated. See corresponding docs for further information.

Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
type:String
@XmlJavaTypeAdapter:Adapter5
@XmlSchemaType
name:token
jdbcTypeCodeback to summary
protected Integer jdbcTypeCode
Annotations
@XmlAttribute
name:jdbc-type-code
lobback to summary
protected JaxbLob lob
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
nationalizedback to summary
protected JaxbNationalized nationalized
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
optimisticLockback to summary
protected Boolean optimisticLock
Annotations
@XmlAttribute
name:optimistic-lock
optionalback to summary
protected Boolean optional
Annotations
@XmlAttribute
name:optional
temporalback to summary
protected TemporalType temporal
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
type:String
@XmlJavaTypeAdapter:Adapter14
@XmlSchemaType
name:token
typeback to summary
protected JaxbColumnType type
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbBasicback to summary
public JaxbBasic()

Method Detail

getAccessback to summary
public AccessType getAccess()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAccess.

Gets the value of the access property.

Returns:AccessType

possible object is String

getAttributeAccessorback to summary
public String getAttributeAccessor()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAttributeAccessor.

Gets the value of the attributeAccessor property.

Returns:String

possible object is String

getColumnback to summary
public JaxbColumn getColumn()

Gets the value of the column property.

Returns:JaxbColumn

possible object is JaxbColumn

getConvertback to summary
public JaxbConvert getConvert()

Gets the value of the convert property.

Returns:JaxbConvert

possible object is JaxbConvert

getEnumeratedback to summary
public EnumType getEnumerated()

Gets the value of the enumerated property.

Returns:EnumType

possible object is String

getFetchback to summary
public FetchType getFetch()

Gets the value of the fetch property.

Returns:FetchType

possible object is String

getFormulaback to summary
public String getFormula()

Gets the value of the formula property.

Returns:String

possible object is String

getGeneratedback to summary
public GenerationTiming getGenerated()

Deprecated

as a consequence of GenerationTiming being deprecated. See corresponding docs for further information.

Gets the value of the generated property.

Returns:GenerationTiming

possible object is String

getJdbcTypeCodeback to summary
public Integer getJdbcTypeCode()

Gets the value of the jdbcTypeCode property.

Returns:Integer

possible object is Integer

getLobback to summary
public JaxbLob getLob()

Gets the value of the lob property.

Returns:JaxbLob

possible object is JaxbLob

getNameback to summary
public String getName()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getName.

Gets the value of the name property.

Returns:String

possible object is String

getNationalizedback to summary
public JaxbNationalized getNationalized()

Gets the value of the nationalized property.

Returns:JaxbNationalized

possible object is JaxbNationalized

getTemporalback to summary
public TemporalType getTemporal()

Gets the value of the temporal property.

Returns:TemporalType

possible object is String

getTypeback to summary
public JaxbColumnType getType()

Gets the value of the type property.

Returns:JaxbColumnType

possible object is JaxbColumnType

isOptimisticLockback to summary
public boolean isOptimisticLock()

Gets the value of the optimisticLock property.

Returns:boolean

possible object is Boolean

isOptionalback to summary
public Boolean isOptional()

Gets the value of the optional property.

Returns:Boolean

possible object is Boolean

setAccessback to summary
public void setAccess(AccessType value)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAccess.

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setAttributeAccessorback to summary
public void setAttributeAccessor(String value)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAttributeAccessor.

Sets the value of the attributeAccessor property.

Parameters
value:String

allowed object is String

setColumnback to summary
public void setColumn(JaxbColumn value)

Sets the value of the column property.

Parameters
value:JaxbColumn

allowed object is JaxbColumn

setConvertback to summary
public void setConvert(JaxbConvert value)

Sets the value of the convert property.

Parameters
value:JaxbConvert

allowed object is JaxbConvert

setEnumeratedback to summary
public void setEnumerated(EnumType value)

Sets the value of the enumerated property.

Parameters
value:EnumType

allowed object is String

setFetchback to summary
public void setFetch(FetchType value)

Sets the value of the fetch property.

Parameters
value:FetchType

allowed object is String

setFormulaback to summary
public void setFormula(String value)

Sets the value of the formula property.

Parameters
value:String

allowed object is String

setGeneratedback to summary
public void setGenerated(GenerationTiming value)

Deprecated

as a consequence of GenerationTiming being deprecated. See corresponding docs for further information.

Sets the value of the generated property.

Parameters
value:GenerationTiming

allowed object is String

setJdbcTypeCodeback to summary
public void setJdbcTypeCode(Integer value)

Sets the value of the jdbcTypeCode property.

Parameters
value:Integer

allowed object is Integer

setLobback to summary
public void setLob(JaxbLob value)

Sets the value of the lob property.

Parameters
value:JaxbLob

allowed object is JaxbLob

setNameback to summary
public void setName(String value)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setName.

Sets the value of the name property.

Parameters
value:String

allowed object is String

setNationalizedback to summary
public void setNationalized(JaxbNationalized value)

Sets the value of the nationalized property.

Parameters
value:JaxbNationalized

allowed object is JaxbNationalized

setOptimisticLockback to summary
public void setOptimisticLock(Boolean value)

Sets the value of the optimisticLock property.

Parameters
value:Boolean

allowed object is Boolean

setOptionalback to summary
public void setOptional(Boolean value)

Sets the value of the optional property.

Parameters
value:Boolean

allowed object is Boolean

setTemporalback to summary
public void setTemporal(TemporalType value)

Sets the value of the temporal property.

Parameters
value:TemporalType

allowed object is String

setTypeback to summary
public void setType(JaxbColumnType value)

Sets the value of the type property.

Parameters
value:JaxbColumnType

allowed object is JaxbColumnType