Package org.hibernate.boot.jaxb.mapping
Class JaxbBasic
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbBasic
- All Implemented Interfaces:
Serializable,PersistentAttribute
- Direct Known Subclasses:
JaxbTenantId
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 Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected Stringprotected JaxbColumnprotected JaxbConvertprotected EnumTypeprotected FetchTypeprotected Stringprotected GenerationTimingprotected Integerprotected JaxbLobprotected Stringprotected JaxbNationalizedprotected Booleanprotected Booleanprotected TemporalTypeprotected JaxbColumnType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the attributeAccessor property.Gets the value of the column property.Gets the value of the convert property.Gets the value of the enumerated property.getFetch()Gets the value of the fetch property.Gets the value of the formula property.Gets the value of the generated property.Gets the value of the jdbcTypeCode property.getLob()Gets the value of the lob property.getName()Gets the value of the name property.Gets the value of the nationalized property.Gets the value of the temporal property.getType()Gets the value of the type property.booleanGets the value of the optimisticLock property.Gets the value of the optional property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetAttributeAccessor(String value) Sets the value of the attributeAccessor property.voidsetColumn(JaxbColumn value) Sets the value of the column property.voidsetConvert(JaxbConvert value) Sets the value of the convert property.voidsetEnumerated(EnumType value) Sets the value of the enumerated property.voidSets the value of the fetch property.voidsetFormula(String value) Sets the value of the formula property.voidsetGenerated(GenerationTiming value) Sets the value of the generated property.voidsetJdbcTypeCode(Integer value) Sets the value of the jdbcTypeCode property.voidSets the value of the lob property.voidSets the value of the name property.voidsetNationalized(JaxbNationalized value) Sets the value of the nationalized property.voidsetOptimisticLock(Boolean value) Sets the value of the optimisticLock property.voidsetOptional(Boolean value) Sets the value of the optional property.voidsetTemporal(TemporalType value) Sets the value of the temporal property.voidsetType(JaxbColumnType value) Sets the value of the type property.
-
Field Details
-
column
-
formula
-
lob
-
temporal
-
enumerated
-
convert
-
nationalized
-
generated
-
type
-
name
-
fetch
-
optional
-
access
-
attributeAccessor
-
optimisticLock
-
jdbcTypeCode
-
-
Constructor Details
-
JaxbBasic
public JaxbBasic()
-
-
Method Details
-
getColumn
Gets the value of the column property.- Returns:
- possible object is
JaxbColumn
-
setColumn
Sets the value of the column property.- Parameters:
value- allowed object isJaxbColumn
-
getFormula
Gets the value of the formula property.- Returns:
- possible object is
String
-
setFormula
Sets the value of the formula property.- Parameters:
value- allowed object isString
-
getLob
Gets the value of the lob property.- Returns:
- possible object is
JaxbLob
-
setLob
Sets the value of the lob property.- Parameters:
value- allowed object isJaxbLob
-
getTemporal
Gets the value of the temporal property.- Returns:
- possible object is
String
-
setTemporal
Sets the value of the temporal property.- Parameters:
value- allowed object isString
-
getEnumerated
Gets the value of the enumerated property.- Returns:
- possible object is
String
-
setEnumerated
Sets the value of the enumerated property.- Parameters:
value- allowed object isString
-
getConvert
Gets the value of the convert property.- Returns:
- possible object is
JaxbConvert
-
setConvert
Sets the value of the convert property.- Parameters:
value- allowed object isJaxbConvert
-
getNationalized
Gets the value of the nationalized property.- Returns:
- possible object is
JaxbNationalized
-
setNationalized
Sets the value of the nationalized property.- Parameters:
value- allowed object isJaxbNationalized
-
getGenerated
Gets the value of the generated property.- Returns:
- possible object is
String
-
setGenerated
Sets the value of the generated property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
JaxbColumnType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isJaxbColumnType
-
getName
Gets the value of the name property.- Specified by:
getNamein interfacePersistentAttribute- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setNamein interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getFetch
Gets the value of the fetch property.- Returns:
- possible object is
String
-
setFetch
Sets the value of the fetch property.- Parameters:
value- allowed object isString
-
isOptional
Gets the value of the optional property.- Returns:
- possible object is
Boolean
-
setOptional
Sets the value of the optional property.- Parameters:
value- allowed object isBoolean
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccessin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessorin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
setOptimisticLock
Sets the value of the optimisticLock property.- Parameters:
value- allowed object isBoolean
-
getJdbcTypeCode
Gets the value of the jdbcTypeCode property.- Returns:
- possible object is
Integer
-
setJdbcTypeCode
Sets the value of the jdbcTypeCode property.- Parameters:
value- allowed object isInteger
-