Class JaxbHbmAnyKey

  • All Implemented Interfaces:
    Serializable, DiscriminatedAssociation.Key

    public class JaxbHbmAnyKey
    extends Object
    implements Serializable, DiscriminatedAssociation.Key
    Describes the "foreign key" of a discriminated association (any, many-to-any).

    Java class for hbm-any-key complex type.

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

     <complexType name="hbm-any-key">
         <restriction base="{}anyType">
             <element name="type" type="{}string" minOccurs="0"/>
             <element name="column" type="{}column" maxOccurs="unbounded" minOccurs="0"/>
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxbHbmAnyKey

        public JaxbHbmAnyKey()
    • Method Detail

      • getType

        public String getType()
        Gets the value of the type property.
        possible object is String
      • setType

        public void setType​(String value)
        Sets the value of the type property.
        value - allowed object is String
      • getColumns

        public List<JaxbColumn> getColumns()
        Gets the value of the columns 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 columns property.

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


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

        Specified by:
        getColumns in interface DiscriminatedAssociation.Key