Class JaxbHbmSimpleIdType

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

    public class JaxbHbmSimpleIdType
    extends JaxbHbmToolingHintContainer
    implements java.io.Serializable, SingularAttributeInfo, ToolingHintContainer, TypeContainer
    Declares the id type, column and generation algorithm for an entity class. If a name attribute is given, the id is exposed to the application through the named property of the class. If not, the id is only exposed to the application via Session.getIdentifier()

    Java class for SimpleIdType complex type.

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

     <complexType name="SimpleIdType">
       <complexContent>
         <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
           <sequence>
             <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="type" type="{http://www.hibernate.org/xsd/orm/hbm}TypeSpecificationType" minOccurs="0"/>
             <element name="generator" type="{http://www.hibernate.org/xsd/orm/hbm}GeneratorSpecificationType" 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="length" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="unsaved-value" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • access

        protected java.lang.String access
      • columnAttribute

        protected java.lang.String columnAttribute
      • length

        protected java.lang.Integer length
      • name

        protected java.lang.String name
      • node

        protected java.lang.String node
      • typeAttribute

        protected java.lang.String typeAttribute
      • unsavedValue

        protected java.lang.String unsavedValue
    • Constructor Detail

      • JaxbHbmSimpleIdType

        public JaxbHbmSimpleIdType()
    • Method Detail

      • getColumn

        public java.util.List<JaxbHbmColumnType> getColumn()
        Gets the value of the column 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 column property.

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

            getColumn().add(newItem);
         

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

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

        public java.lang.String getUnsavedValue()
        Gets the value of the unsavedValue property.
        Returns:
        possible object is String
      • setUnsavedValue

        public void setUnsavedValue​(java.lang.String value)
        Sets the value of the unsavedValue property.
        Parameters:
        value - allowed object is String