Class JaxbElementCollection
- All Implemented Interfaces:
Serializable,CollectionAttribute,FetchableAttribute,PersistentAttribute
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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected List<JaxbAssociationOverride>protected Stringprotected List<JaxbAttributeOverride>protected JaxbCollectionTableprotected JaxbColumnprotected List<JaxbConvert>protected EnumTypeprotected FetchTypeprotected JaxbPluralFetchModeprotected Stringprotected JaxbLobprotected JaxbMapKeyprotected List<JaxbAttributeOverride>protected JaxbMapKeyClassprotected JaxbMapKeyColumnprotected List<JaxbConvert>protected EnumTypeprotected JaxbForeignKeyprotected Stringprotected List<JaxbMapKeyJoinColumn>protected TemporalTypeprotected Stringprotected JaxbNationalizedprotected Booleanprotected Stringprotected JaxbOrderColumnprotected Stringprotected Stringprotected TemporalType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the associationOverride property.Gets the value of the attributeAccessor property.Gets the value of the attributeOverride property.Gets the value of the collectionTable property.Gets the value of the column property.Gets the value of the convert property.Gets the value of the enumerated property.getFetch()Gets the value of the fetch property.Gets the value of the fetchMode property.Gets the value of the formula property.getLob()Gets the value of the lob property.Gets the value of the mapKey property.Gets the value of the mapKeyAttributeOverride property.Gets the value of the mapKeyClass property.Gets the value of the mapKeyColumn property.Gets the value of the mapKeyConvert property.Gets the value of the mapKeyEnumerated property.Gets the value of the mapKeyForeignKey property.Gets the value of the mapKeyFormula property.Gets the value of the mapKeyJoinColumn property.Gets the value of the mapKeyTemporal property.getName()Gets the value of the name property.Gets the value of the nationalized property.Gets the value of the orderBy property.Gets the value of the orderColumn property.getSort()Gets the value of the sort property.Gets the value of the targetClass property.Gets the value of the temporal property.booleanGets the value of the optimisticLock property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetAttributeAccessor(String value) Sets the value of the attributeAccessor property.voidSets the value of the collectionTable property.voidsetColumn(JaxbColumn value) Sets the value of the column property.voidsetEnumerated(EnumType value) Sets the value of the enumerated property.voidSets the value of the fetch property.voidsetFetchMode(JaxbPluralFetchMode value) Sets the value of the fetchMode property.voidsetFormula(String value) Sets the value of the formula property.voidSets the value of the lob property.voidsetMapKey(JaxbMapKey value) Sets the value of the mapKey property.voidsetMapKeyClass(JaxbMapKeyClass value) Sets the value of the mapKeyClass property.voidsetMapKeyColumn(JaxbMapKeyColumn value) Sets the value of the mapKeyColumn property.voidsetMapKeyEnumerated(EnumType value) Sets the value of the mapKeyEnumerated property.voidSets the value of the mapKeyForeignKey property.voidsetMapKeyFormula(String value) Sets the value of the mapKeyFormula property.voidsetMapKeyTemporal(TemporalType value) Sets the value of the mapKeyTemporal property.voidSets the value of the name property.voidsetNationalized(JaxbNationalized value) Sets the value of the nationalized property.voidsetOptimisticLock(Boolean value) Sets the value of the optimisticLock property.voidsetOrderBy(String value) Sets the value of the orderBy property.voidsetOrderColumn(JaxbOrderColumn value) Sets the value of the orderColumn property.voidSets the value of the sort property.voidsetTargetClass(String value) Sets the value of the targetClass property.voidsetTemporal(TemporalType value) Sets the value of the temporal property.
-
Field Details
-
orderBy
-
orderColumn
-
sort
-
mapKey
-
mapKeyClass
-
mapKeyTemporal
-
mapKeyEnumerated
-
mapKeyAttributeOverride
-
mapKeyConvert
-
mapKeyColumn
-
mapKeyFormula
-
mapKeyJoinColumn
-
mapKeyForeignKey
-
column
-
formula
-
temporal
-
enumerated
-
lob
-
nationalized
-
attributeOverride
-
associationOverride
-
convert
-
collectionTable
-
name
-
targetClass
-
fetch
-
fetchMode
-
access
-
attributeAccessor
-
optimisticLock
-
-
Constructor Details
-
JaxbElementCollection
public JaxbElementCollection()
-
-
Method Details
-
getOrderBy
Gets the value of the orderBy property.- Specified by:
getOrderByin interfaceCollectionAttribute- Returns:
- possible object is
String
-
setOrderBy
Sets the value of the orderBy property.- Specified by:
setOrderByin interfaceCollectionAttribute- Parameters:
value- allowed object isString
-
getOrderColumn
Gets the value of the orderColumn property.- Specified by:
getOrderColumnin interfaceCollectionAttribute- Returns:
- possible object is
JaxbOrderColumn
-
setOrderColumn
Sets the value of the orderColumn property.- Specified by:
setOrderColumnin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbOrderColumn
-
getSort
Gets the value of the sort property.- Specified by:
getSortin interfaceCollectionAttribute- Returns:
- possible object is
String
-
setSort
Sets the value of the sort property.- Specified by:
setSortin interfaceCollectionAttribute- Parameters:
value- allowed object isString
-
getMapKey
Gets the value of the mapKey property.- Specified by:
getMapKeyin interfaceCollectionAttribute- Returns:
- possible object is
JaxbMapKey
-
setMapKey
Sets the value of the mapKey property.- Specified by:
setMapKeyin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbMapKey
-
getMapKeyClass
Gets the value of the mapKeyClass property.- Specified by:
getMapKeyClassin interfaceCollectionAttribute- Returns:
- possible object is
JaxbMapKeyClass
-
setMapKeyClass
Sets the value of the mapKeyClass property.- Specified by:
setMapKeyClassin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbMapKeyClass
-
getMapKeyTemporal
Gets the value of the mapKeyTemporal property.- Specified by:
getMapKeyTemporalin interfaceCollectionAttribute- Returns:
- possible object is
String
-
setMapKeyTemporal
Sets the value of the mapKeyTemporal property.- Specified by:
setMapKeyTemporalin interfaceCollectionAttribute- Parameters:
value- allowed object isString
-
getMapKeyEnumerated
Gets the value of the mapKeyEnumerated property.- Specified by:
getMapKeyEnumeratedin interfaceCollectionAttribute- Returns:
- possible object is
String
-
setMapKeyEnumerated
Sets the value of the mapKeyEnumerated property.- Specified by:
setMapKeyEnumeratedin interfaceCollectionAttribute- Parameters:
value- allowed object isString
-
getMapKeyAttributeOverride
Gets the value of the mapKeyAttributeOverride 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
setmethod for the mapKeyAttributeOverride property.For example, to add a new item, do as follows:
getMapKeyAttributeOverride().add(newItem);Objects of the following type(s) are allowed in the list
JaxbAttributeOverride- Specified by:
getMapKeyAttributeOverridein interfaceCollectionAttribute- Returns:
- The value of the mapKeyAttributeOverride property.
-
getMapKeyConvert
Gets the value of the mapKeyConvert 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
setmethod for the mapKeyConvert property.For example, to add a new item, do as follows:
getMapKeyConvert().add(newItem);Objects of the following type(s) are allowed in the list
JaxbConvert- Specified by:
getMapKeyConvertin interfaceCollectionAttribute- Returns:
- The value of the mapKeyConvert property.
-
getMapKeyColumn
Gets the value of the mapKeyColumn property.- Specified by:
getMapKeyColumnin interfaceCollectionAttribute- Returns:
- possible object is
JaxbMapKeyColumn
-
setMapKeyColumn
Sets the value of the mapKeyColumn property.- Specified by:
setMapKeyColumnin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbMapKeyColumn
-
getMapKeyFormula
Gets the value of the mapKeyFormula property.- Returns:
- possible object is
String
-
setMapKeyFormula
Sets the value of the mapKeyFormula property.- Parameters:
value- allowed object isString
-
getMapKeyJoinColumn
Gets the value of the mapKeyJoinColumn 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
setmethod for the mapKeyJoinColumn property.For example, to add a new item, do as follows:
getMapKeyJoinColumn().add(newItem);Objects of the following type(s) are allowed in the list
JaxbMapKeyJoinColumn- Specified by:
getMapKeyJoinColumnin interfaceCollectionAttribute- Returns:
- The value of the mapKeyJoinColumn property.
-
getMapKeyForeignKey
Gets the value of the mapKeyForeignKey property.- Specified by:
getMapKeyForeignKeyin interfaceCollectionAttribute- Returns:
- possible object is
JaxbForeignKey
-
setMapKeyForeignKey
Sets the value of the mapKeyForeignKey property.- Specified by:
setMapKeyForeignKeyin interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbForeignKey
-
getColumn
Gets the value of the column property.- Returns:
- possible object is
JaxbColumn
-
setColumn
Sets the value of the column property.- Parameters:
value- allowed object isJaxbColumn
-
getFormula
Gets the value of the formula property.- Returns:
- possible object is
String
-
setFormula
Sets the value of the formula property.- Parameters:
value- allowed object isString
-
getTemporal
Gets the value of the temporal property.- Returns:
- possible object is
String
-
setTemporal
Sets the value of the temporal property.- Parameters:
value- allowed object isString
-
getEnumerated
Gets the value of the enumerated property.- Returns:
- possible object is
String
-
setEnumerated
Sets the value of the enumerated property.- Parameters:
value- allowed object isString
-
getLob
Gets the value of the lob property.- Returns:
- possible object is
JaxbLob
-
setLob
Sets the value of the lob property.- Parameters:
value- allowed object isJaxbLob
-
getNationalized
Gets the value of the nationalized property.- Returns:
- possible object is
JaxbNationalized
-
setNationalized
Sets the value of the nationalized property.- Parameters:
value- allowed object isJaxbNationalized
-
getAttributeOverride
Gets the value of the attributeOverride 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
setmethod for the attributeOverride property.For example, to add a new item, do as follows:
getAttributeOverride().add(newItem);Objects of the following type(s) are allowed in the list
JaxbAttributeOverride- Returns:
- The value of the attributeOverride property.
-
getAssociationOverride
Gets the value of the associationOverride 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
setmethod for the associationOverride property.For example, to add a new item, do as follows:
getAssociationOverride().add(newItem);Objects of the following type(s) are allowed in the list
JaxbAssociationOverride- Returns:
- The value of the associationOverride property.
-
getConvert
Gets the value of the convert 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
setmethod for the convert property.For example, to add a new item, do as follows:
getConvert().add(newItem);Objects of the following type(s) are allowed in the list
JaxbConvert- Returns:
- The value of the convert property.
-
getCollectionTable
Gets the value of the collectionTable property.- Returns:
- possible object is
JaxbCollectionTable
-
setCollectionTable
Sets the value of the collectionTable property.- Parameters:
value- allowed object isJaxbCollectionTable
-
getName
Gets the value of the name property.- Specified by:
getNamein interfacePersistentAttribute- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setNamein interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getTargetClass
Gets the value of the targetClass property.- Returns:
- possible object is
String
-
setTargetClass
Sets the value of the targetClass property.- Parameters:
value- allowed object isString
-
getFetch
Gets the value of the fetch property.- Specified by:
getFetchin interfaceFetchableAttribute- Returns:
- possible object is
String
-
setFetch
Sets the value of the fetch property.- Specified by:
setFetchin interfaceFetchableAttribute- Parameters:
value- allowed object isString
-
getFetchMode
Gets the value of the fetchMode property.- Specified by:
getFetchModein interfaceCollectionAttribute- Returns:
- possible object is
JaxbPluralFetchMode
-
setFetchMode
Sets the value of the fetchMode property.- Specified by:
setFetchModein interfaceCollectionAttribute- Parameters:
value- allowed object isJaxbPluralFetchMode
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccessin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessorin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
setOptimisticLock
Sets the value of the optimisticLock property.- Parameters:
value- allowed object isBoolean
-