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" default="true" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessType
protected String
protected JaxbColumnImpl
protected JaxbConvertImpl
protected EnumType
protected FetchType
protected String
protected GenerationTiming
protected String
protected String
protected Integer
protected String
Name from org.hibernate.type.SqlTypesprotected JaxbLobImpl
protected String
protected JaxbNationalizedImpl
protected Boolean
protected Boolean
protected String
See @org.hibernate.annotations.Target Generally only useful for dynamic-models - specifies the attribute's Java typeprotected TemporalType
protected 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.boolean
Gets the value of the optimisticLock property.Gets the value of the optional property.void
setAccess
(AccessType value) Sets the value of the access property.void
setAttributeAccessor
(String value) Sets the value of the attributeAccessor property.void
setColumn
(JaxbColumnImpl value) Sets the value of the column property.void
setConvert
(JaxbConvertImpl value) Sets the value of the convert property.void
setEnumerated
(EnumType value) Sets the value of the enumerated property.void
Sets the value of the fetch property.void
setFormula
(String value) Sets the value of the formula property.void
setGenerated
(GenerationTiming value) Sets the value of the generated property.void
setJavaType
(String value) Sets the value of the javaType property.void
setJdbcType
(String value) Sets the value of the jdbcType property.void
setJdbcTypeCode
(Integer value) Sets the value of the jdbcTypeCode property.void
setJdbcTypeName
(String value) Sets the value of the jdbcTypeName property.void
setLob
(JaxbLobImpl value) Sets the value of the lob property.void
Sets the value of the name property.void
Sets the value of the nationalized property.void
setOptimisticLock
(Boolean value) Sets the value of the optimisticLock property.void
setOptional
(Boolean value) Sets the value of the optional property.void
Sets the value of the target property.void
setTemporal
(TemporalType value) Sets the value of the temporal property.void
setType
(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:
getType
in interfaceJaxbBasicMapping
- Returns:
- possible object is
JaxbUserTypeImpl
-
setType
Sets the value of the type property.- Specified by:
setType
in 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:
getTarget
in interfaceJaxbBasicMapping
- Returns:
- possible object is
String
-
setTarget
Sets the value of the target property.- Specified by:
setTarget
in interfaceJaxbBasicMapping
- Parameters:
value
- allowed object isString
- See Also:
-
getJavaType
- Specified by:
getJavaType
in interfaceJaxbBasicMapping
- Returns:
- possible object is
String
-
setJavaType
Sets the value of the javaType property.- Specified by:
setJavaType
in interfaceJaxbBasicMapping
- Parameters:
value
- allowed object isString
- See Also:
-
getJdbcType
- Specified by:
getJdbcType
in interfaceJaxbBasicMapping
- Returns:
- possible object is
String
-
setJdbcType
Sets the value of the jdbcType property.- Specified by:
setJdbcType
in interfaceJaxbBasicMapping
- Parameters:
value
- allowed object isString
- See Also:
-
getJdbcTypeCode
- Specified by:
getJdbcTypeCode
in interfaceJaxbBasicMapping
- Returns:
- possible object is
Integer
-
setJdbcTypeCode
Sets the value of the jdbcTypeCode property.- Specified by:
setJdbcTypeCode
in interfaceJaxbBasicMapping
- Parameters:
value
- allowed object isInteger
- See Also:
-
getJdbcTypeName
Name from org.hibernate.type.SqlTypes- Specified by:
getJdbcTypeName
in interfaceJaxbBasicMapping
- Returns:
- possible object is
String
-
setJdbcTypeName
Sets the value of the jdbcTypeName property.- Specified by:
setJdbcTypeName
in interfaceJaxbBasicMapping
- Parameters:
value
- allowed object isString
- See Also:
-
getName
Gets the value of the name property.- Specified by:
getName
in interfaceJaxbPersistentAttribute
- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setName
in interfaceJaxbPersistentAttribute
- Parameters:
value
- allowed object isString
-
getFetch
Gets the value of the fetch property.- Specified by:
getFetch
in interfaceJaxbStandardAttribute
- Returns:
- possible object is
String
-
setFetch
Sets the value of the fetch property.- Specified by:
setFetch
in interfaceJaxbStandardAttribute
- Parameters:
value
- allowed object isString
-
isOptional
Gets the value of the optional property.- Specified by:
isOptional
in interfaceJaxbStandardAttribute
- Returns:
- possible object is
Boolean
-
setOptional
Sets the value of the optional property.- Specified by:
setOptional
in interfaceJaxbStandardAttribute
- Parameters:
value
- allowed object isBoolean
-
getAccess
Gets the value of the access property.- Specified by:
getAccess
in interfaceJaxbPersistentAttribute
- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccess
in interfaceJaxbPersistentAttribute
- Parameters:
value
- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessor
in interfaceJaxbPersistentAttribute
- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessor
in interfaceJaxbPersistentAttribute
- Parameters:
value
- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()Gets the value of the optimisticLock property.- Specified by:
isOptimisticLock
in interfaceJaxbLockableAttribute
- Returns:
- possible object is
Boolean
-
setOptimisticLock
Sets the value of the optimisticLock property.- Specified by:
setOptimisticLock
in interfaceJaxbLockableAttribute
- Parameters:
value
- allowed object isBoolean
-