Class JaxbHbmCompositeKeyManyToOneType

  • All Implemented Interfaces:
    Serializable, AttributeMapping, SingularAttributeInfo, ToolingHintContainer

    public class JaxbHbmCompositeKeyManyToOneType
    extends JaxbHbmToolingHintContainer
    implements Serializable, SingularAttributeInfo
    A many-to-one association embedded in a composite identifier or map index (always not-null, never cascade).

    Java class for CompositeKeyManyToOneType complex type.

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

    
     <complexType name="CompositeKeyManyToOneType">
       <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"/>
           </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="column" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="lazy" type="{http://www.hibernate.org/xsd/orm/hbm}LazyEnum" />
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="on-delete" type="{http://www.hibernate.org/xsd/orm/hbm}OnDeleteEnum" default="noaction" />
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxbHbmCompositeKeyManyToOneType

        public JaxbHbmCompositeKeyManyToOneType()
    • Method Detail

      • getColumn

        public 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 Jakarta XML Binding 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

        Returns:
        The value of the column property.
      • setAccess

        public void setAccess​(String value)
        Sets the value of the access property.
        Parameters:
        value - allowed object is String
      • getClazz

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

        public void setClazz​(String value)
        Sets the value of the clazz property.
        Parameters:
        value - allowed object is String
      • 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
      • getEntityName

        public String getEntityName()
        Gets the value of the entityName property.
        Returns:
        possible object is String
      • setEntityName

        public void setEntityName​(String value)
        Sets the value of the entityName property.
        Parameters:
        value - allowed object is String
      • getForeignKey

        public String getForeignKey()
        Gets the value of the foreignKey property.
        Returns:
        possible object is String
      • setForeignKey

        public void setForeignKey​(String value)
        Sets the value of the foreignKey property.
        Parameters:
        value - allowed object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String