Class JaxbBasicImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbBasicImpl
- All Implemented Interfaces:
Serializable,JaxbBasicMapping,JaxbLockableAttribute,JaxbPersistentAttribute,JaxbSingularAttribute,JaxbStandardAttribute
- Direct Known Subclasses:
JaxbTenantIdImpl
public class JaxbBasicImpl
extends Object
implements Serializable, JaxbBasicMapping, JaxbLockableAttribute, JaxbSingularAttribute, JaxbStandardAttribute
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.JavaType`
See `@org.hibernate.annotations.JdbcType`
See `@org.hibernate.annotations.JdbcTypeCode`
See `@org.hibernate.annotations.Mutability`
See `@org.hibernate.annotations.Immutable`
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"/>
<element name="generated" type="{http://www.hibernate.org/xsd/orm/mapping}basic-generation-timing-type" minOccurs="0"/>
<group ref="{http://www.hibernate.org/xsd/orm/mapping}basic-type-group"/>
</choice>
</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" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected Stringprotected JaxbColumnImplprotected JaxbConvertImplprotected EnumTypeprotected FetchTypeprotected Stringprotected GenerationTimingprotected Stringprotected Stringprotected Integerprotected StringName from org.hibernate.type.SqlTypesprotected JaxbLobImplprotected Stringprotected JaxbNationalizedImplprotected Booleanprotected Booleanprotected StringSee @org.hibernate.annotations.Target Generally only useful for dynamic-models - specifies the attribute's Java typeprotected TemporalTypeprotected JaxbUserTypeImpl -
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.Name from org.hibernate.type.SqlTypesgetLob()Gets the value of the lob property.getName()Gets the value of the name property.Gets the value of the nationalized property.See @org.hibernate.annotations.Target Generally only useful for dynamic-models - specifies the attribute's Java typeGets the value of the temporal property.getType()Gets the value of the type property.Gets 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(JaxbColumnImpl value) Sets the value of the column property.voidsetConvert(JaxbConvertImpl 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.voidsetJavaType(String value) Sets the value of the javaType property.voidsetJdbcType(String value) Sets the value of the jdbcType property.voidsetJdbcTypeCode(Integer value) Sets the value of the jdbcTypeCode property.voidsetJdbcTypeName(String value) Sets the value of the jdbcTypeName property.voidsetLob(JaxbLobImpl value) Sets the value of the lob property.voidSets the value of the name property.voidSets 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.voidSets the value of the target property.voidsetTemporal(TemporalType value) Sets the value of the temporal property.voidsetType(JaxbUserTypeImpl value) Sets the value of the type property.
-
Field Details
-
column
-
formula
-
lob
-
temporal
-
enumerated
-
convert
-
nationalized
-
generated
-
type
-
target
See @org.hibernate.annotations.Target Generally only useful for dynamic-models - specifies the attribute's Java type -
javaType
-
jdbcType
-
jdbcTypeCode
-
jdbcTypeName
Name from org.hibernate.type.SqlTypes -
name
-
fetch
-
optional
-
access
-
attributeAccessor
-
optimisticLock
-
-
Constructor Details
-
JaxbBasicImpl
public JaxbBasicImpl()
-
-
Method Details
-
getColumn
Gets the value of the column property.- Returns:
- possible object is
JaxbColumnImpl
-
setColumn
Sets the value of the column property.- Parameters:
value- allowed object isJaxbColumnImpl
-
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
JaxbLobImpl
-
setLob
Sets the value of the lob property.- Parameters:
value- allowed object isJaxbLobImpl
-
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
JaxbConvertImpl
-
setConvert
Sets the value of the convert property.- Parameters:
value- allowed object isJaxbConvertImpl
-
getNationalized
Gets the value of the nationalized property.- Returns:
- possible object is
JaxbNationalizedImpl
-
setNationalized
Sets the value of the nationalized property.- Parameters:
value- allowed object isJaxbNationalizedImpl
-
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.- Specified by:
getTypein interfaceJaxbBasicMapping- Returns:
- possible object is
JaxbUserTypeImpl
-
setType
Sets the value of the type property.- Specified by:
setTypein interfaceJaxbBasicMapping- Parameters:
value- allowed object isJaxbUserTypeImpl
-
getTarget
See @org.hibernate.annotations.Target Generally only useful for dynamic-models - specifies the attribute's Java type- Specified by:
getTargetin interfaceJaxbBasicMapping- Returns:
- possible object is
String
-
setTarget
Sets the value of the target property.- Specified by:
setTargetin interfaceJaxbBasicMapping- Parameters:
value- allowed object isString- See Also:
-
getJavaType
- Specified by:
getJavaTypein interfaceJaxbBasicMapping- Returns:
- possible object is
String
-
setJavaType
Sets the value of the javaType property.- Specified by:
setJavaTypein interfaceJaxbBasicMapping- Parameters:
value- allowed object isString- See Also:
-
getJdbcType
- Specified by:
getJdbcTypein interfaceJaxbBasicMapping- Returns:
- possible object is
String
-
setJdbcType
Sets the value of the jdbcType property.- Specified by:
setJdbcTypein interfaceJaxbBasicMapping- Parameters:
value- allowed object isString- See Also:
-
getJdbcTypeCode
- Specified by:
getJdbcTypeCodein interfaceJaxbBasicMapping- Returns:
- possible object is
Integer
-
setJdbcTypeCode
Sets the value of the jdbcTypeCode property.- Specified by:
setJdbcTypeCodein interfaceJaxbBasicMapping- Parameters:
value- allowed object isInteger- See Also:
-
getJdbcTypeName
Name from org.hibernate.type.SqlTypes- Specified by:
getJdbcTypeNamein interfaceJaxbBasicMapping- Returns:
- possible object is
String
-
setJdbcTypeName
Sets the value of the jdbcTypeName property.- Specified by:
setJdbcTypeNamein interfaceJaxbBasicMapping- Parameters:
value- allowed object isString- See Also:
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceJaxbBasicMapping- Specified by:
getNamein interfaceJaxbPersistentAttribute- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setNamein interfaceJaxbBasicMapping- Specified by:
setNamein interfaceJaxbPersistentAttribute- Parameters:
value- allowed object isString
-
getFetch
Gets the value of the fetch property.- Specified by:
getFetchin interfaceJaxbStandardAttribute- Returns:
- possible object is
String
-
setFetch
Sets the value of the fetch property.- Specified by:
setFetchin interfaceJaxbStandardAttribute- Parameters:
value- allowed object isString
-
isOptional
Gets the value of the optional property.- Specified by:
isOptionalin interfaceJaxbStandardAttribute- Returns:
- possible object is
Boolean
-
setOptional
Sets the value of the optional property.- Specified by:
setOptionalin interfaceJaxbStandardAttribute- Parameters:
value- allowed object isBoolean
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfaceJaxbPersistentAttribute- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccessin interfaceJaxbPersistentAttribute- Parameters:
value- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfaceJaxbPersistentAttribute- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessorin interfaceJaxbPersistentAttribute- Parameters:
value- allowed object isString
-
isOptimisticLock
Gets the value of the optimisticLock property.- Specified by:
isOptimisticLockin interfaceJaxbLockableAttribute- Returns:
- possible object is
Boolean
-
setOptimisticLock
Sets the value of the optimisticLock property.- Specified by:
setOptimisticLockin interfaceJaxbLockableAttribute- Parameters:
value- allowed object isBoolean
-