Class 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 Detail

      • formula

        protected String formula
      • temporal

        protected jakarta.persistence.TemporalType temporal
      • enumerated

        protected jakarta.persistence.EnumType enumerated
      • fetch

        protected jakarta.persistence.FetchType fetch
      • optional

        protected Boolean optional
      • access

        protected jakarta.persistence.AccessType access
      • attributeAccessor

        protected String attributeAccessor
      • optimisticLock

        protected Boolean optimisticLock
    • Constructor Detail

      • JaxbBasic

        public JaxbBasic()
    • 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 is JaxbColumn
      • 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 is String
      • 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 is JaxbLob
      • 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 is String
      • 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 is String
      • 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 is JaxbConvert
      • setNationalized

        public void setNationalized​(JaxbNationalized value)
        Sets the value of the nationalized property.
        Parameters:
        value - allowed object is JaxbNationalized
      • 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 is String
      • 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 is String
      • 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 is Boolean
      • getAccess

        public jakarta.persistence.AccessType getAccess()
        Gets the value of the access property.
        Specified by:
        getAccess in interface PersistentAttribute
        Returns:
        possible object is String
      • setAccess

        public void setAccess​(jakarta.persistence.AccessType value)
        Sets the value of the access property.
        Specified by:
        setAccess in interface PersistentAttribute
        Parameters:
        value - allowed object is String
      • 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 is Boolean