Class JaxbHbmBasicAttributeType

  • All Implemented Interfaces:
    java.io.Serializable, AttributeMapping, SimpleValueTypeInfo, SingularAttributeInfo, ToolingHintContainer, TypeContainer

    public class JaxbHbmBasicAttributeType
    extends JaxbHbmToolingHintContainer
    implements java.io.Serializable, SimpleValueTypeInfo, SingularAttributeInfo, ToolingHintContainer, TypeContainer

    Java class for BasicAttributeType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="BasicAttributeType">
       <complexContent>
         <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
           <sequence>
             <choice maxOccurs="unbounded" minOccurs="0">
               <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula"/>
             </choice>
             <element name="type" type="{http://www.hibernate.org/xsd/orm/hbm}TypeSpecificationType" minOccurs="0"/>
           </sequence>
           <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="generated" type="{http://www.hibernate.org/xsd/orm/hbm}GenerationTimingEnum" default="never" />
           <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
           <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="unique-key" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAccess()
      Gets the value of the access property.
      java.lang.String getColumnAttribute()
      Gets the value of the columnAttribute property.
      java.util.List<java.io.Serializable> getColumnOrFormula()
      Gets the value of the columnOrFormula property.
      java.lang.String getFormulaAttribute()
      Gets the value of the formulaAttribute property.
      GenerationTiming getGenerated()
      Gets the value of the generated property.
      java.lang.String getIndex()
      Gets the value of the index property.
      java.lang.Integer getLength()
      Gets the value of the length property.
      java.lang.String getName()
      Gets the value of the name property.
      java.lang.String getNode()
      Gets the value of the node property.
      java.lang.String getPrecision()
      Gets the value of the precision property.
      java.lang.String getScale()
      Gets the value of the scale property.
      JaxbHbmTypeSpecificationType getType()
      Gets the value of the type property.
      java.lang.String getTypeAttribute()
      Gets the value of the typeAttribute property.
      java.lang.String getUniqueKey()
      Gets the value of the uniqueKey property.
      java.lang.Boolean isInsert()
      Gets the value of the insert property.
      boolean isLazy()
      Gets the value of the lazy property.
      java.lang.Boolean isNotNull()
      Gets the value of the notNull property.
      boolean isOptimisticLock()
      Gets the value of the optimisticLock property.
      boolean isUnique()
      Gets the value of the unique property.
      java.lang.Boolean isUpdate()
      Gets the value of the update property.
      void setAccess​(java.lang.String value)
      Sets the value of the access property.
      void setColumnAttribute​(java.lang.String value)
      Sets the value of the columnAttribute property.
      void setFormulaAttribute​(java.lang.String value)
      Sets the value of the formulaAttribute property.
      void setGenerated​(GenerationTiming value)
      Sets the value of the generated property.
      void setIndex​(java.lang.String value)
      Sets the value of the index property.
      void setInsert​(java.lang.Boolean value)
      Sets the value of the insert property.
      void setLazy​(java.lang.Boolean value)
      Sets the value of the lazy property.
      void setLength​(java.lang.Integer value)
      Sets the value of the length property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setNode​(java.lang.String value)
      Sets the value of the node property.
      void setNotNull​(java.lang.Boolean value)
      Sets the value of the notNull property.
      void setOptimisticLock​(java.lang.Boolean value)
      Sets the value of the optimisticLock property.
      void setPrecision​(java.lang.String value)
      Sets the value of the precision property.
      void setScale​(java.lang.String value)
      Sets the value of the scale property.
      void setType​(JaxbHbmTypeSpecificationType value)
      Sets the value of the type property.
      void setTypeAttribute​(java.lang.String value)
      Sets the value of the typeAttribute property.
      void setUnique​(java.lang.Boolean value)
      Sets the value of the unique property.
      void setUniqueKey​(java.lang.String value)
      Sets the value of the uniqueKey property.
      void setUpdate​(java.lang.Boolean value)
      Sets the value of the update property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • columnOrFormula

        protected java.util.List<java.io.Serializable> columnOrFormula
      • access

        protected java.lang.String access
      • columnAttribute

        protected java.lang.String columnAttribute
      • formulaAttribute

        protected java.lang.String formulaAttribute
      • index

        protected java.lang.String index
      • insert

        protected java.lang.Boolean insert
      • lazy

        protected java.lang.Boolean lazy
      • length

        protected java.lang.Integer length
      • name

        protected java.lang.String name
      • node

        protected java.lang.String node
      • notNull

        protected java.lang.Boolean notNull
      • optimisticLock

        protected java.lang.Boolean optimisticLock
      • precision

        protected java.lang.String precision
      • scale

        protected java.lang.String scale
      • typeAttribute

        protected java.lang.String typeAttribute
      • unique

        protected java.lang.Boolean unique
      • uniqueKey

        protected java.lang.String uniqueKey
      • update

        protected java.lang.Boolean update
    • Constructor Detail

      • JaxbHbmBasicAttributeType

        public JaxbHbmBasicAttributeType()
    • Method Detail

      • getColumnOrFormula

        public java.util.List<java.io.Serializable> getColumnOrFormula()
        Gets the value of the columnOrFormula property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the columnOrFormula property.

        For example, to add a new item, do as follows:

            getColumnOrFormula().add(newItem);
         

        Objects of the following type(s) are allowed in the list JaxbHbmColumnType String

      • getAccess

        public java.lang.String getAccess()
        Gets the value of the access property.
        Specified by:
        getAccess in interface AttributeMapping
        Returns:
        possible object is String
      • setAccess

        public void setAccess​(java.lang.String value)
        Sets the value of the access property.
        Parameters:
        value - allowed object is String
      • getColumnAttribute

        public java.lang.String getColumnAttribute()
        Gets the value of the columnAttribute property.
        Returns:
        possible object is String
      • setColumnAttribute

        public void setColumnAttribute​(java.lang.String value)
        Sets the value of the columnAttribute property.
        Parameters:
        value - allowed object is String
      • getFormulaAttribute

        public java.lang.String getFormulaAttribute()
        Gets the value of the formulaAttribute property.
        Returns:
        possible object is String
      • setFormulaAttribute

        public void setFormulaAttribute​(java.lang.String value)
        Sets the value of the formulaAttribute property.
        Parameters:
        value - allowed object is String
      • 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
      • getIndex

        public java.lang.String getIndex()
        Gets the value of the index property.
        Returns:
        possible object is String
      • setIndex

        public void setIndex​(java.lang.String value)
        Sets the value of the index property.
        Parameters:
        value - allowed object is String
      • isInsert

        public java.lang.Boolean isInsert()
        Gets the value of the insert property.
        Returns:
        possible object is Boolean
      • setInsert

        public void setInsert​(java.lang.Boolean value)
        Sets the value of the insert property.
        Parameters:
        value - allowed object is Boolean
      • isLazy

        public boolean isLazy()
        Gets the value of the lazy property.
        Returns:
        possible object is Boolean
      • setLazy

        public void setLazy​(java.lang.Boolean value)
        Sets the value of the lazy property.
        Parameters:
        value - allowed object is Boolean
      • getLength

        public java.lang.Integer getLength()
        Gets the value of the length property.
        Returns:
        possible object is Integer
      • setLength

        public void setLength​(java.lang.Integer value)
        Sets the value of the length property.
        Parameters:
        value - allowed object is Integer
      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Specified by:
        getName in interface AttributeMapping
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getNode

        public java.lang.String getNode()
        Gets the value of the node property.
        Returns:
        possible object is String
      • setNode

        public void setNode​(java.lang.String value)
        Sets the value of the node property.
        Parameters:
        value - allowed object is String
      • isNotNull

        public java.lang.Boolean isNotNull()
        Gets the value of the notNull property.
        Returns:
        possible object is Boolean
      • setNotNull

        public void setNotNull​(java.lang.Boolean value)
        Sets the value of the notNull property.
        Parameters:
        value - allowed object is Boolean
      • isOptimisticLock

        public boolean isOptimisticLock()
        Gets the value of the optimisticLock property.
        Returns:
        possible object is Boolean
      • setOptimisticLock

        public void setOptimisticLock​(java.lang.Boolean value)
        Sets the value of the optimisticLock property.
        Parameters:
        value - allowed object is Boolean
      • getPrecision

        public java.lang.String getPrecision()
        Gets the value of the precision property.
        Returns:
        possible object is String
      • setPrecision

        public void setPrecision​(java.lang.String value)
        Sets the value of the precision property.
        Parameters:
        value - allowed object is String
      • getScale

        public java.lang.String getScale()
        Gets the value of the scale property.
        Returns:
        possible object is String
      • setScale

        public void setScale​(java.lang.String value)
        Sets the value of the scale property.
        Parameters:
        value - allowed object is String
      • setTypeAttribute

        public void setTypeAttribute​(java.lang.String value)
        Sets the value of the typeAttribute property.
        Parameters:
        value - allowed object is String
      • isUnique

        public boolean isUnique()
        Gets the value of the unique property.
        Returns:
        possible object is Boolean
      • setUnique

        public void setUnique​(java.lang.Boolean value)
        Sets the value of the unique property.
        Parameters:
        value - allowed object is Boolean
      • getUniqueKey

        public java.lang.String getUniqueKey()
        Gets the value of the uniqueKey property.
        Returns:
        possible object is String
      • setUniqueKey

        public void setUniqueKey​(java.lang.String value)
        Sets the value of the uniqueKey property.
        Parameters:
        value - allowed object is String
      • isUpdate

        public java.lang.Boolean isUpdate()
        Gets the value of the update property.
        Returns:
        possible object is Boolean
      • setUpdate

        public void setUpdate​(java.lang.Boolean value)
        Sets the value of the update property.
        Parameters:
        value - allowed object is Boolean