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 class JaxbBasic extends Object implements Serializable, 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`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"/> </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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.persistence.AccessType
access
protected String
attributeAccessor
protected JaxbColumn
column
protected JaxbConvert
convert
protected jakarta.persistence.EnumType
enumerated
protected jakarta.persistence.FetchType
fetch
protected String
formula
protected GenerationTiming
generated
protected JaxbLob
lob
protected String
name
protected JaxbNationalized
nationalized
protected Boolean
optimisticLock
protected Boolean
optional
protected jakarta.persistence.TemporalType
temporal
-
Constructor Summary
Constructors Constructor Description JaxbBasic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.AccessType
getAccess()
Gets the value of the access property.String
getAttributeAccessor()
Gets the value of the attributeAccessor property.JaxbColumn
getColumn()
Gets the value of the column property.JaxbConvert
getConvert()
Gets the value of the convert property.jakarta.persistence.EnumType
getEnumerated()
Gets the value of the enumerated property.jakarta.persistence.FetchType
getFetch()
Gets the value of the fetch property.String
getFormula()
Gets the value of the formula property.GenerationTiming
getGenerated()
Gets the value of the generated property.JaxbLob
getLob()
Gets the value of the lob property.String
getName()
Gets the value of the name property.JaxbNationalized
getNationalized()
Gets the value of the nationalized property.jakarta.persistence.TemporalType
getTemporal()
Gets the value of the temporal property.boolean
isOptimisticLock()
Gets the value of the optimisticLock property.Boolean
isOptional()
Gets the value of the optional property.void
setAccess(jakarta.persistence.AccessType value)
Sets the value of the access property.void
setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.void
setColumn(JaxbColumn value)
Sets the value of the column property.void
setConvert(JaxbConvert value)
Sets the value of the convert property.void
setEnumerated(jakarta.persistence.EnumType value)
Sets the value of the enumerated property.void
setFetch(jakarta.persistence.FetchType value)
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
setLob(JaxbLob value)
Sets the value of the lob property.void
setName(String value)
Sets the value of the name property.void
setNationalized(JaxbNationalized value)
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
setTemporal(jakarta.persistence.TemporalType value)
Sets the value of the temporal property.
-
-
-
Field Detail
-
column
protected JaxbColumn column
-
formula
protected String formula
-
lob
protected JaxbLob lob
-
temporal
protected jakarta.persistence.TemporalType temporal
-
enumerated
protected jakarta.persistence.EnumType enumerated
-
convert
protected JaxbConvert convert
-
nationalized
protected JaxbNationalized nationalized
-
generated
protected GenerationTiming generated
-
name
protected String name
-
fetch
protected jakarta.persistence.FetchType fetch
-
optional
protected Boolean optional
-
access
protected jakarta.persistence.AccessType access
-
attributeAccessor
protected String attributeAccessor
-
optimisticLock
protected Boolean optimisticLock
-
-
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
-
getLob
public JaxbLob getLob()
Gets the value of the lob property.- Returns:
- possible object is
JaxbLob
-
setLob
public void setLob(JaxbLob value)
Sets the value of the lob property.- Parameters:
value
- allowed object isJaxbLob
-
getTemporal
public jakarta.persistence.TemporalType getTemporal()
Gets the value of the temporal property.- Returns:
- possible object is
String
-
setTemporal
public void setTemporal(jakarta.persistence.TemporalType value)
Sets the value of the temporal property.- Parameters:
value
- allowed object isString
-
getEnumerated
public jakarta.persistence.EnumType getEnumerated()
Gets the value of the enumerated property.- Returns:
- possible object is
String
-
setEnumerated
public void setEnumerated(jakarta.persistence.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
-
getName
public String getName()
Gets the value of the name property.- Specified by:
getName
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Specified by:
setName
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getFetch
public jakarta.persistence.FetchType getFetch()
Gets the value of the fetch property.- Returns:
- possible object is
String
-
setFetch
public void setFetch(jakarta.persistence.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 jakarta.persistence.AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccess
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAccess
public void setAccess(jakarta.persistence.AccessType value)
Sets the value of the access property.- Specified by:
setAccess
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getAttributeAccessor
public String getAttributeAccessor()
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessor
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAttributeAccessor
public void setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessor
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()
Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
-