Class JaxbHbmNaturalIdType

  • All Implemented Interfaces:
    java.io.Serializable

    public class JaxbHbmNaturalIdType
    extends java.lang.Object
    implements java.io.Serializable
    A natural-id element allows declaration of the unique business key

    Java class for natural-id-type complex type.

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

     <complexType name="natural-id-type">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="property" type="{http://www.hibernate.org/xsd/orm/hbm}BasicAttributeType"/>
               <element name="many-to-one" type="{http://www.hibernate.org/xsd/orm/hbm}ManyToOneType"/>
               <element name="component" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeAttributeType"/>
               <element name="dynamic-component" type="{http://www.hibernate.org/xsd/orm/hbm}dynamic-component-type"/>
               <element name="any" type="{http://www.hibernate.org/xsd/orm/hbm}AnyAssociationType"/>
             </choice>
           </sequence>
           <attribute name="mutable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.io.Serializable> attributes  
      protected java.lang.Boolean mutable  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.io.Serializable> getAttributes()
      Gets the value of the attributes property.
      boolean isMutable()
      Gets the value of the mutable property.
      void setMutable​(java.lang.Boolean value)
      Sets the value of the mutable property.
      • Methods inherited from class java.lang.Object

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

      • attributes

        protected java.util.List<java.io.Serializable> attributes
      • mutable

        protected java.lang.Boolean mutable
    • Constructor Detail

      • JaxbHbmNaturalIdType

        public JaxbHbmNaturalIdType()
    • Method Detail

      • isMutable

        public boolean isMutable()
        Gets the value of the mutable property.
        Returns:
        possible object is Boolean
      • setMutable

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