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
public classJaxbBasicextendsObjectimplementsSerializable,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:
- Serialized Form
Field Summary
Fields Modifier and Type Field Description protectedAccessTypeaccessprotectedStringattributeAccessorprotectedJaxbColumncolumnprotectedJaxbConvertconvertprotectedEnumTypeenumeratedprotectedFetchTypefetchprotectedStringformulaprotectedGenerationTiminggeneratedprotectedIntegerjdbcTypeCodeprotectedJaxbLoblobprotectedStringnameprotectedJaxbNationalizednationalizedprotectedBooleanoptimisticLockprotectedBooleanoptionalprotectedTemporalTypetemporalprotectedJaxbColumnTypetype
Constructor Summary
Constructors Constructor Description JaxbBasic()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccess()Gets the value of the access property.StringgetAttributeAccessor()Gets the value of the attributeAccessor property.JaxbColumngetColumn()Gets the value of the column property.JaxbConvertgetConvert()Gets the value of the convert property.EnumTypegetEnumerated()Gets the value of the enumerated property.FetchTypegetFetch()Gets the value of the fetch property.StringgetFormula()Gets the value of the formula property.GenerationTiminggetGenerated()Gets the value of the generated property.IntegergetJdbcTypeCode()Gets the value of the jdbcTypeCode property.JaxbLobgetLob()Gets the value of the lob property.StringgetName()Gets the value of the name property.JaxbNationalizedgetNationalized()Gets the value of the nationalized property.TemporalTypegetTemporal()Gets the value of the temporal property.JaxbColumnTypegetType()Gets the value of the type property.booleanisOptimisticLock()Gets the value of the optimisticLock property.BooleanisOptional()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.voidsetFetch(FetchType value)Sets 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.voidsetLob(JaxbLob value)Sets the value of the lob property.voidsetName(String value)Sets 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 Detail
column
protected JaxbColumn column
formula
protected String formula
lob
protected JaxbLob lob
temporal
protected TemporalType temporal
enumerated
protected EnumType enumerated
convert
protected JaxbConvert convert
nationalized
protected JaxbNationalized nationalized
generated
protected GenerationTiming generated
type
protected JaxbColumnType type
name
protected String name
fetch
protected FetchType fetch
optional
protected Boolean optional
access
protected AccessType access
attributeAccessor
protected String attributeAccessor
optimisticLock
protected Boolean optimisticLock
jdbcTypeCode
protected Integer jdbcTypeCode
Method Detail
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 isJaxbColumn
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 isString
setLob
public void setLob(JaxbLob value)
Sets the value of the lob property.- Parameters:
value- allowed object isJaxbLob
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 isString
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 isString
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 isJaxbConvert
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 isJaxbNationalized
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 isString
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 isJaxbColumnType
getName
public String getName()
Gets the value of the name property.- Specified by:
getNamein interfacePersistentAttribute- Returns:
- possible object is
String
setName
public void setName(String value)
Sets the value of the name property.- Specified by:
setNamein interfacePersistentAttribute- Parameters:
value- allowed object isString
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 isString
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 isBoolean
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccessin interfacePersistentAttribute- Returns:
- possible object is
String
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccessin interfacePersistentAttribute- Parameters:
value- allowed object isString
getAttributeAccessor
public String getAttributeAccessor()
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfacePersistentAttribute- Returns:
- possible object is
String
setAttributeAccessor
public void setAttributeAccessor(String value)
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
public void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.- Parameters:
value- allowed object isBoolean
getJdbcTypeCode
public Integer getJdbcTypeCode()
Gets the value of the jdbcTypeCode property.- Returns:
- possible object is
Integer