Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbElementCollection

extends Object
implements Serializable, CollectionAttribute
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.CollectionAttribute, org.hibernate.boot.jaxb.mapping.FetchableAttribute, org.hibernate.boot.jaxb.mapping.PersistentAttribute, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:element-collection
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:orderBy, orderColumn, sort, mapKey, mapKeyClass, mapKeyTemporal, mapKeyEnumerated, mapKeyAttributeOverride, mapKeyConvert, mapKeyColumn, mapKeyFormula, mapKeyJoinColumn, mapKeyForeignKey, column, formula, temporal, enumerated, lob, nationalized, attributeOverride, associationOverride, convert, collectionTable
Imports
java.io.Serializable, java.util.ArrayList, .List, jakarta.persistence.AccessType, .EnumType, .FetchType, .TemporalType, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlSchemaType, .XmlType, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter

See `jakarta.persistence.ElementCollection` See `jakarta.persistence.OrderBy` See `jakarta.persistence.OrderColumn` See `@org.hibernate.annotations.AttributeAccessor` See `@org.hibernate.annotations.OptimisticLock` See `@org.hibernate.annotations.SortComparator` See `@org.hibernate.annotations.SortNatural` See `@jakarta.persistence.Lob` See `@jakarta.persistence.Temporal` See `@jakarta.persistence.Enumerated` See `@jakarta.persistence.Convert` See `@org.hibernate.annotations.Nationalized`

Java class for element-collection complex type.

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

<complexType name="element-collection">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <choice>
          <element name="order-by" type="{http://www.hibernate.org/xsd/orm/mapping}order-by" minOccurs="0"/>
          <element name="order-column" type="{http://www.hibernate.org/xsd/orm/mapping}order-column" minOccurs="0"/>
          <element name="sort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        </choice>
        <choice>
          <element name="map-key" type="{http://www.hibernate.org/xsd/orm/mapping}map-key" minOccurs="0"/>
          <sequence>
            <element name="map-key-class" type="{http://www.hibernate.org/xsd/orm/mapping}map-key-class" minOccurs="0"/>
            <choice>
              <element name="map-key-temporal" type="{http://www.hibernate.org/xsd/orm/mapping}temporal" minOccurs="0"/>
              <element name="map-key-enumerated" type="{http://www.hibernate.org/xsd/orm/mapping}enumerated" minOccurs="0"/>
              <sequence>
                <element name="map-key-attribute-override" type="{http://www.hibernate.org/xsd/orm/mapping}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
                <element name="map-key-convert" type="{http://www.hibernate.org/xsd/orm/mapping}convert" maxOccurs="unbounded" minOccurs="0"/>
              </sequence>
            </choice>
            <choice>
              <choice>
                <element name="map-key-column" type="{http://www.hibernate.org/xsd/orm/mapping}map-key-column" minOccurs="0"/>
                <element name="map-key-formula" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
              </choice>
              <sequence>
                <element name="map-key-join-column" type="{http://www.hibernate.org/xsd/orm/mapping}map-key-join-column" maxOccurs="unbounded" minOccurs="0"/>
                <element name="map-key-foreign-key" type="{http://www.hibernate.org/xsd/orm/mapping}foreign-key" minOccurs="0"/>
              </sequence>
            </choice>
          </sequence>
        </choice>
        <choice>
          <sequence>
            <choice>
              <element name="column" type="{http://www.hibernate.org/xsd/orm/mapping}column" minOccurs="0"/>
              <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
            </choice>
            <choice>
              <element name="temporal" type="{http://www.hibernate.org/xsd/orm/mapping}temporal" minOccurs="0"/>
              <element name="enumerated" type="{http://www.hibernate.org/xsd/orm/mapping}enumerated" minOccurs="0"/>
              <element name="lob" type="{http://www.hibernate.org/xsd/orm/mapping}lob" minOccurs="0"/>
              <element name="nationalized" type="{http://www.hibernate.org/xsd/orm/mapping}nationalized" minOccurs="0"/>
            </choice>
          </sequence>
          <sequence>
            <element name="attribute-override" type="{http://www.hibernate.org/xsd/orm/mapping}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
            <element name="association-override" type="{http://www.hibernate.org/xsd/orm/mapping}association-override" maxOccurs="unbounded" minOccurs="0"/>
            <element name="convert" type="{http://www.hibernate.org/xsd/orm/mapping}convert" maxOccurs="unbounded" minOccurs="0"/>
          </sequence>
        </choice>
        <element name="collection-table" type="{http://www.hibernate.org/xsd/orm/mapping}collection-table" minOccurs="0"/>
      </sequence>
      <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="target-class" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="fetch" type="{http://www.hibernate.org/xsd/orm/mapping}fetch-type" />
      <attribute name="fetch-mode" type="{http://www.hibernate.org/xsd/orm/mapping}plural-fetch-mode" />
      <attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" />
      <attribute name="attribute-accessor" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected List<JaxbAssociationOverride>
protected String
protected List<JaxbAttributeOverride>
protected JaxbCollectionTable
protected JaxbColumn
protected List<JaxbConvert>
protected EnumType
protected FetchType
protected JaxbPluralFetchMode
protected String
protected JaxbLob
protected JaxbMapKey
protected List<JaxbAttributeOverride>
protected JaxbMapKeyClass
protected JaxbMapKeyColumn
protected List<JaxbConvert>
protected EnumType
protected JaxbForeignKey
protected String
protected List<JaxbMapKeyJoinColumn>
protected TemporalType
protected String
protected JaxbNationalized
protected Boolean
protected String
protected JaxbOrderColumn
protected String
protected String
protected TemporalType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AccessType

Returns:

possible object is String
getAccess
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAccess.

Gets the value of the access property.
public List<JaxbAssociationOverride>

Returns:

The value of the associationOverride property.
getAssociationOverride
()

Gets the value of the associationOverride property.

public String

Returns:

possible object is String
getAttributeAccessor
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAttributeAccessor.

Gets the value of the attributeAccessor property.
public List<JaxbAttributeOverride>

Returns:

The value of the attributeOverride property.
getAttributeOverride
()

Gets the value of the attributeOverride property.

public JaxbCollectionTable

Returns:

possible object is JaxbCollectionTable
getCollectionTable
()

Gets the value of the collectionTable property.

public JaxbColumn

Returns:

possible object is JaxbColumn
getColumn
()

Gets the value of the column property.

public List<JaxbConvert>

Returns:

The value of the convert property.
getConvert
()

Gets the value of the convert property.

public EnumType

Returns:

possible object is String
getEnumerated
()

Gets the value of the enumerated property.

public FetchType

Returns:

possible object is String
getFetch
()

Implements org.hibernate.boot.jaxb.mapping.FetchableAttribute.getFetch.

Gets the value of the fetch property.
public JaxbPluralFetchMode

Returns:

possible object is JaxbPluralFetchMode
getFetchMode
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getFetchMode.

Gets the value of the fetchMode property.
public String

Returns:

possible object is String
getFormula
()

Gets the value of the formula property.

public JaxbLob

Returns:

possible object is JaxbLob
getLob
()

Gets the value of the lob property.

public JaxbMapKey

Returns:

possible object is JaxbMapKey
getMapKey
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKey.

Gets the value of the mapKey property.
public List<JaxbAttributeOverride>

Returns:

The value of the mapKeyAttributeOverride property.
getMapKeyAttributeOverride
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKeyAttributeOverride.

Gets the value of the mapKeyAttributeOverride property.
public JaxbMapKeyClass

Returns:

possible object is JaxbMapKeyClass
getMapKeyClass
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKeyClass.

Gets the value of the mapKeyClass property.
public JaxbMapKeyColumn

Returns:

possible object is JaxbMapKeyColumn
getMapKeyColumn
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKeyColumn.

Gets the value of the mapKeyColumn property.
public List<JaxbConvert>

Returns:

The value of the mapKeyConvert property.
getMapKeyConvert
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKeyConvert.

Gets the value of the mapKeyConvert property.
public EnumType

Returns:

possible object is String
getMapKeyEnumerated
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKeyEnumerated.

Gets the value of the mapKeyEnumerated property.
public JaxbForeignKey

Returns:

possible object is JaxbForeignKey
getMapKeyForeignKey
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKeyForeignKey.

Gets the value of the mapKeyForeignKey property.
public String

Returns:

possible object is String
getMapKeyFormula
()

Gets the value of the mapKeyFormula property.

public List<JaxbMapKeyJoinColumn>

Returns:

The value of the mapKeyJoinColumn property.
getMapKeyJoinColumn
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKeyJoinColumn.

Gets the value of the mapKeyJoinColumn property.
public TemporalType

Returns:

possible object is String
getMapKeyTemporal
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getMapKeyTemporal.

Gets the value of the mapKeyTemporal property.
public String

Returns:

possible object is String
getName
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getName.

Gets the value of the name property.
public JaxbNationalized

Returns:

possible object is JaxbNationalized
getNationalized
()

Gets the value of the nationalized property.

public String

Returns:

possible object is String
getOrderBy
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getOrderBy.

Gets the value of the orderBy property.
public JaxbOrderColumn

Returns:

possible object is JaxbOrderColumn
getOrderColumn
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getOrderColumn.

Gets the value of the orderColumn property.
public String

Returns:

possible object is String
getSort
()

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.getSort.

Gets the value of the sort property.
public String

Returns:

possible object is String
getTargetClass
()

Gets the value of the targetClass property.

public TemporalType

Returns:

possible object is String
getTemporal
()

Gets the value of the temporal property.

public boolean

Returns:

possible object is Boolean
isOptimisticLock
()

Gets the value of the optimisticLock property.

public void
setAccess(AccessType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAccess.

Sets the value of the access property.
public void
setAttributeAccessor(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAttributeAccessor.

Sets the value of the attributeAccessor property.
public void
setCollectionTable(JaxbCollectionTable
allowed object is JaxbCollectionTable
value
)

Sets the value of the collectionTable property.

public void
setColumn(JaxbColumn
allowed object is JaxbColumn
value
)

Sets the value of the column property.

public void
setEnumerated(EnumType
allowed object is String
value
)

Sets the value of the enumerated property.

public void
setFetch(FetchType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.FetchableAttribute.setFetch.

Sets the value of the fetch property.
public void
setFetchMode(JaxbPluralFetchMode
allowed object is JaxbPluralFetchMode
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setFetchMode.

Sets the value of the fetchMode property.
public void
setFormula(String
allowed object is String
value
)

Sets the value of the formula property.

public void
setLob(JaxbLob
allowed object is JaxbLob
value
)

Sets the value of the lob property.

public void
setMapKey(JaxbMapKey
allowed object is JaxbMapKey
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setMapKey.

Sets the value of the mapKey property.
public void
setMapKeyClass(JaxbMapKeyClass
allowed object is JaxbMapKeyClass
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setMapKeyClass.

Sets the value of the mapKeyClass property.
public void
setMapKeyColumn(JaxbMapKeyColumn
allowed object is JaxbMapKeyColumn
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setMapKeyColumn.

Sets the value of the mapKeyColumn property.
public void
setMapKeyEnumerated(EnumType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setMapKeyEnumerated.

Sets the value of the mapKeyEnumerated property.
public void
setMapKeyForeignKey(JaxbForeignKey
allowed object is JaxbForeignKey
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setMapKeyForeignKey.

Sets the value of the mapKeyForeignKey property.
public void
setMapKeyFormula(String
allowed object is String
value
)

Sets the value of the mapKeyFormula property.

public void
setMapKeyTemporal(TemporalType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setMapKeyTemporal.

Sets the value of the mapKeyTemporal property.
public void
setName(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setName.

Sets the value of the name property.
public void
setNationalized(JaxbNationalized
allowed object is JaxbNationalized
value
)

Sets the value of the nationalized property.

public void
setOptimisticLock(Boolean
allowed object is Boolean
value
)

Sets the value of the optimisticLock property.

public void
setOrderBy(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setOrderBy.

Sets the value of the orderBy property.
public void
setOrderColumn(JaxbOrderColumn
allowed object is JaxbOrderColumn
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setOrderColumn.

Sets the value of the orderColumn property.
public void
setSort(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.CollectionAttribute.setSort.

Sets the value of the sort property.
public void
setTargetClass(String
allowed object is String
value
)

Sets the value of the targetClass property.

public void
setTemporal(TemporalType
allowed object is String
value
)

Sets the value of the temporal property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait