Class JaxbHbmCompositeIdType

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

    public class JaxbHbmCompositeIdType
    extends JaxbHbmToolingHintContainer
    implements java.io.Serializable, ToolingHintContainer
    A composite key may be modelled by a java class with a property for each key column. The class must implement java.io.Serializable and reimplement equals() and hashCode().

    Java class for CompositeIdType complex type.

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

     <complexType name="CompositeIdType">
       <complexContent>
         <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
           <sequence>
             <choice maxOccurs="unbounded">
               <element name="key-property" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeKeyBasicAttributeType"/>
               <element name="key-many-to-one" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeKeyManyToOneType"/>
             </choice>
             <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="class" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
           <attribute name="mapped" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="unsaved-value" type="{http://www.hibernate.org/xsd/orm/hbm}UnsavedValueCompositeIdEnum" default="undefined" />
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxbHbmCompositeIdType

        public JaxbHbmCompositeIdType()
    • Method Detail

      • getKeyPropertyOrKeyManyToOne

        public java.util.List<JaxbHbmToolingHintContainer> getKeyPropertyOrKeyManyToOne()
        Gets the value of the keyPropertyOrKeyManyToOne 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 keyPropertyOrKeyManyToOne property.

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

            getKeyPropertyOrKeyManyToOne().add(newItem);
         

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

      • getAccess

        public java.lang.String getAccess()
        Gets the value of the access property.
        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
      • getClazz

        public java.lang.String getClazz()
        Gets the value of the clazz property.
        Returns:
        possible object is String
      • setClazz

        public void setClazz​(java.lang.String value)
        Sets the value of the clazz property.
        Parameters:
        value - allowed object is String
      • isMapped

        public boolean isMapped()
        Gets the value of the mapped property.
        Returns:
        possible object is Boolean
      • setMapped

        public void setMapped​(java.lang.Boolean value)
        Sets the value of the mapped property.
        Parameters:
        value - allowed object is Boolean
      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        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