Class JaxbHbmBasicCollectionElementType

  • All Implemented Interfaces:
    java.io.Serializable, TypeContainer

    public class JaxbHbmBasicCollectionElementType
    extends java.lang.Object
    implements java.io.Serializable, TypeContainer
    Declares the element type of a collection where the element is of basic type

    Java class for BasicCollectionElementType complex type.

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

     <complexType name="BasicCollectionElementType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <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="column" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      java.lang.Integer getLength()
      Gets the value of the length property.
      java.lang.String getNode()
      Gets the value of the node property.
      java.lang.Integer getPrecision()
      Gets the value of the precision property.
      java.lang.Integer 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.
      boolean isNotNull()
      Gets the value of the notNull property.
      boolean isUnique()
      Gets the value of the unique 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 setLength​(java.lang.Integer value)
      Sets the value of the length 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 setPrecision​(java.lang.Integer value)
      Sets the value of the precision property.
      void setScale​(java.lang.Integer 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.
      • 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
      • columnAttribute

        protected java.lang.String columnAttribute
      • formulaAttribute

        protected java.lang.String formulaAttribute
      • length

        protected java.lang.Integer length
      • node

        protected java.lang.String node
      • notNull

        protected java.lang.Boolean notNull
      • precision

        protected java.lang.Integer precision
      • scale

        protected java.lang.Integer scale
      • typeAttribute

        protected java.lang.String typeAttribute
      • unique

        protected java.lang.Boolean unique
    • Constructor Detail

      • JaxbHbmBasicCollectionElementType

        public JaxbHbmBasicCollectionElementType()
    • 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

      • 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
      • 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
      • 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 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
      • getPrecision

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

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

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

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

        public java.lang.String getTypeAttribute()
        Gets the value of the typeAttribute property.
        Specified by:
        getTypeAttribute in interface TypeContainer
        Returns:
        possible 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