Class JaxbHbmBasicCollectionElementType

java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBasicCollectionElementType
All Implemented Interfaces:
Serializable, TypeContainer

public class JaxbHbmBasicCollectionElementType extends Object implements 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:
  • Field Details

  • Constructor Details

    • JaxbHbmBasicCollectionElementType

      public JaxbHbmBasicCollectionElementType()
  • Method Details

    • getColumnOrFormula

      public List<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 String JaxbHbmColumnType

      Returns:
      The value of the columnOrFormula property.
    • getType

      public JaxbHbmTypeSpecificationType getType()
      Gets the value of the type property.
      Specified by:
      getType in interface TypeContainer
      Returns:
      possible object is JaxbHbmTypeSpecificationType
    • setType

      public void setType(JaxbHbmTypeSpecificationType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is JaxbHbmTypeSpecificationType
    • getColumnAttribute

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

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

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

      public void setFormulaAttribute(String value)
      Sets the value of the formulaAttribute property.
      Parameters:
      value - allowed object is String
    • getLength

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

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

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

      public void setNode(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(Boolean value)
      Sets the value of the notNull property.
      Parameters:
      value - allowed object is Boolean
    • getPrecision

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

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

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

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

      public String getTypeAttribute()
      Gets the value of the typeAttribute property.
      Specified by:
      getTypeAttribute in interface TypeContainer
      Returns:
      possible object is String
    • setTypeAttribute

      public void setTypeAttribute(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(Boolean value)
      Sets the value of the unique property.
      Parameters:
      value - allowed object is Boolean