Class JaxbPluralAnyMappingImpl
- All Implemented Interfaces:
Serializable,JaxbAnyMapping,JaxbCascadableAttribute,JaxbLockableAttribute,JaxbPersistentAttribute,JaxbPluralAttribute,JaxbStandardAttribute
Java class for hbm-many-to-any complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="hbm-many-to-any">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://www.hibernate.org/xsd/orm/mapping}collection-structure-group"/>
<element name="discriminator" type="{http://www.hibernate.org/xsd/orm/mapping}any-discriminator"/>
<element name="key" type="{http://www.hibernate.org/xsd/orm/mapping}any-key"/>
<element name="cascade" type="{http://www.hibernate.org/xsd/orm/mapping}cascade-type" minOccurs="0"/>
<element name="join-table" type="{http://www.hibernate.org/xsd/orm/mapping}join-table"/>
</sequence>
<attribute name="name" use="required" 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" />
<attribute name="classification" type="{http://www.hibernate.org/xsd/orm/mapping}limited-collection-classification-enum" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex typeNested classes/interfaces inherited from interface org.hibernate.boot.jaxb.mapping.spi.JaxbAnyMapping
JaxbAnyMapping.Discriminator, JaxbAnyMapping.Key -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected Stringprotected Integerprotected JaxbCascadeTypeImplprotected LimitedCollectionClassificationprotected JaxbCollectionIdImplprotected JaxbCollectionUserTypeImplprotected JaxbAnyMappingDiscriminatorImplprotected FetchTypeprotected JaxbPluralFetchModeImplprotected List<JaxbFilterImpl> protected JaxbJoinTableImplprotected JaxbAnyMappingKeyImplprotected Integerprotected JaxbMapKeyImplprotected List<JaxbAttributeOverrideImpl> protected JaxbMapKeyClassImplprotected JaxbMapKeyColumnImplprotected List<JaxbConvertImpl> protected EnumTypeprotected JaxbForeignKeyImplprotected Stringprotected List<JaxbMapKeyJoinColumnImpl> protected TemporalTypeprotected JaxbUserTypeImplprotected Stringprotected Booleanprotected Stringprotected JaxbOrderColumnImplprotected Stringprotected JaxbCustomSqlImplprotected JaxbCustomSqlImplprotected JaxbCustomSqlImplprotected Stringprotected JaxbCustomSqlImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the attributeAccessor property.Gets the value of the batchSize property.Gets the value of the cascade property.Gets the value of the classification property.Gets the value of the collectionId property.Gets the value of the collectionType property.Gets the value of the discriminator property.getFetch()Gets the value of the fetch property.Gets the value of the fetchMode property.Gets the value of the filters property.Gets the value of the joinTable property.getKey()Gets the value of the key property.Gets the value of the listIndexBase property.Gets the value of the mapKey property.Gets the value of the mapKeyAttributeOverrides property.Gets the value of the mapKeyClass property.Gets the value of the mapKeyColumn property.Gets the value of the mapKeyConverts 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 mapKeyJoinColumns property.Gets the value of the mapKeyTemporal property.Gets the value of the mapKeyType property.getName()Gets the value of the name 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 sortNatural property.Gets the value of the sqlDelete property.Gets the value of the sqlDeleteAll property.Gets the value of the sqlInsert property.Gets the value of the sqlRestriction property.Gets the value of the sqlUpdate property.Gets 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.voidsetBatchSize(Integer value) Sets the value of the batchSize property.voidsetCascade(JaxbCascadeTypeImpl value) Sets the value of the cascade property.voidSets the value of the classification property.voidSets the value of the collectionId property.voidSets the value of the collectionType property.voidSets the value of the discriminator property.voidSets the value of the fetch property.voidSets the value of the fetchMode property.voidsetJoinTable(JaxbJoinTableImpl value) Sets the value of the joinTable property.voidsetKey(JaxbAnyMappingKeyImpl value) Sets the value of the key property.voidsetListIndexBase(Integer value) Sets the value of the listIndexBase property.voidsetMapKey(JaxbMapKeyImpl value) Sets the value of the mapKey property.voidSets the value of the mapKeyClass property.voidSets 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.voidsetMapKeyType(JaxbUserTypeImpl value) Sets the value of the mapKeyType property.voidSets the value of the name property.voidsetOptimisticLock(Boolean value) Sets the value of the optimisticLock property.voidsetOrderBy(String value) Sets the value of the orderBy property.voidSets the value of the orderColumn property.voidSets the value of the sort property.voidSets the value of the sortNatural property.voidsetSqlDelete(JaxbCustomSqlImpl value) Sets the value of the sqlDelete property.voidsetSqlDeleteAll(JaxbCustomSqlImpl value) Sets the value of the sqlDeleteAll property.voidsetSqlInsert(JaxbCustomSqlImpl value) Sets the value of the sqlInsert property.voidsetSqlRestriction(String value) Sets the value of the sqlRestriction property.voidsetSqlUpdate(JaxbCustomSqlImpl value) Sets the value of the sqlUpdate property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.jaxb.mapping.spi.JaxbPluralAttribute
isOptional, setOptional
-
Field Details
-
collectionType
-
collectionId
-
orderBy
-
orderColumn
-
sort
-
sortNatural
-
listIndexBase
-
mapKey
-
mapKeyClass
-
mapKeyTemporal
-
mapKeyEnumerated
-
mapKeyAttributeOverrides
-
mapKeyConverts
-
mapKeyColumn
-
mapKeyFormula
-
mapKeyType
-
mapKeyJoinColumns
-
mapKeyForeignKey
-
batchSize
-
sqlRestriction
-
sqlInsert
-
sqlUpdate
-
sqlDelete
-
sqlDeleteAll
-
filters
-
discriminator
-
key
-
cascade
-
joinTable
-
name
-
fetch
-
fetchMode
-
access
-
attributeAccessor
-
optimisticLock
-
classification
-
-
Constructor Details
-
JaxbPluralAnyMappingImpl
public JaxbPluralAnyMappingImpl()
-
-
Method Details
-
getCollectionType
Gets the value of the collectionType property.- Specified by:
getCollectionTypein interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbCollectionUserTypeImpl
-
setCollectionType
Sets the value of the collectionType property.- Specified by:
setCollectionTypein interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbCollectionUserTypeImpl
-
getCollectionId
Gets the value of the collectionId property.- Specified by:
getCollectionIdin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbCollectionIdImpl
-
setCollectionId
Sets the value of the collectionId property.- Specified by:
setCollectionIdin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbCollectionIdImpl
-
getOrderBy
Gets the value of the orderBy property.- Specified by:
getOrderByin interfaceJaxbPluralAttribute- Returns:
- possible object is
String
-
setOrderBy
Sets the value of the orderBy property.- Specified by:
setOrderByin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isString
-
getOrderColumn
Gets the value of the orderColumn property.- Specified by:
getOrderColumnin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbOrderColumnImpl
-
setOrderColumn
Sets the value of the orderColumn property.- Specified by:
setOrderColumnin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbOrderColumnImpl
-
getSort
Gets the value of the sort property.- Specified by:
getSortin interfaceJaxbPluralAttribute- Returns:
- possible object is
String
-
setSort
Sets the value of the sort property.- Specified by:
setSortin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isString
-
getSortNatural
Gets the value of the sortNatural property.- Specified by:
getSortNaturalin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbPluralAnyMappingImpl.JaxbSortNaturalImpl
-
setSortNatural
Sets the value of the sortNatural property.- Specified by:
setSortNaturalin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbPluralAnyMappingImpl.JaxbSortNaturalImpl
-
getListIndexBase
Gets the value of the listIndexBase property.- Specified by:
getListIndexBasein interfaceJaxbPluralAttribute- Returns:
- possible object is
Integer
-
setListIndexBase
Sets the value of the listIndexBase property.- Specified by:
setListIndexBasein interfaceJaxbPluralAttribute- Parameters:
value- allowed object isInteger
-
getMapKey
Gets the value of the mapKey property.- Specified by:
getMapKeyin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbMapKeyImpl
-
setMapKey
Sets the value of the mapKey property.- Specified by:
setMapKeyin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbMapKeyImpl
-
getMapKeyClass
Gets the value of the mapKeyClass property.- Specified by:
getMapKeyClassin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbMapKeyClassImpl
-
setMapKeyClass
Sets the value of the mapKeyClass property.- Specified by:
setMapKeyClassin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbMapKeyClassImpl
-
getMapKeyTemporal
Gets the value of the mapKeyTemporal property.- Specified by:
getMapKeyTemporalin interfaceJaxbPluralAttribute- Returns:
- possible object is
String
-
setMapKeyTemporal
Sets the value of the mapKeyTemporal property.- Specified by:
setMapKeyTemporalin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isString
-
getMapKeyEnumerated
Gets the value of the mapKeyEnumerated property.- Specified by:
getMapKeyEnumeratedin interfaceJaxbPluralAttribute- Returns:
- possible object is
String
-
setMapKeyEnumerated
Sets the value of the mapKeyEnumerated property.- Specified by:
setMapKeyEnumeratedin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isString
-
getMapKeyAttributeOverrides
Gets the value of the mapKeyAttributeOverrides 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
setmethod for the mapKeyAttributeOverrides property.For example, to add a new item, do as follows:
getMapKeyAttributeOverrides().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbAttributeOverrideImpl- Specified by:
getMapKeyAttributeOverridesin interfaceJaxbPluralAttribute- Returns:
- The value of the mapKeyAttributeOverrides property.
-
getMapKeyConverts
Gets the value of the mapKeyConverts 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
setmethod for the mapKeyConverts property.For example, to add a new item, do as follows:
getMapKeyConverts().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbConvertImpl- Specified by:
getMapKeyConvertsin interfaceJaxbPluralAttribute- Returns:
- The value of the mapKeyConverts property.
-
getMapKeyColumn
Gets the value of the mapKeyColumn property.- Specified by:
getMapKeyColumnin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbMapKeyColumnImpl
-
setMapKeyColumn
Sets the value of the mapKeyColumn property.- Specified by:
setMapKeyColumnin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbMapKeyColumnImpl
-
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
-
getMapKeyType
Gets the value of the mapKeyType property.- Specified by:
getMapKeyTypein interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbUserTypeImpl
-
setMapKeyType
Sets the value of the mapKeyType property.- Specified by:
setMapKeyTypein interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbUserTypeImpl
-
getMapKeyJoinColumns
Gets the value of the mapKeyJoinColumns 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
setmethod for the mapKeyJoinColumns property.For example, to add a new item, do as follows:
getMapKeyJoinColumns().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbMapKeyJoinColumnImpl- Specified by:
getMapKeyJoinColumnsin interfaceJaxbPluralAttribute- Returns:
- The value of the mapKeyJoinColumns property.
-
getMapKeyForeignKey
Gets the value of the mapKeyForeignKey property.- Specified by:
getMapKeyForeignKeyin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbForeignKeyImpl
-
setMapKeyForeignKey
Sets the value of the mapKeyForeignKey property.- Specified by:
setMapKeyForeignKeyin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbForeignKeyImpl
-
getBatchSize
Gets the value of the batchSize property.- Specified by:
getBatchSizein interfaceJaxbPluralAttribute- Returns:
- possible object is
Integer
-
setBatchSize
Sets the value of the batchSize property.- Specified by:
setBatchSizein interfaceJaxbPluralAttribute- Parameters:
value- allowed object isInteger
-
getSqlRestriction
Gets the value of the sqlRestriction property.- Specified by:
getSqlRestrictionin interfaceJaxbPluralAttribute- Returns:
- possible object is
String
-
setSqlRestriction
Sets the value of the sqlRestriction property.- Specified by:
setSqlRestrictionin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isString
-
getSqlInsert
Gets the value of the sqlInsert property.- Specified by:
getSqlInsertin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbCustomSqlImpl
-
setSqlInsert
Sets the value of the sqlInsert property.- Specified by:
setSqlInsertin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbCustomSqlImpl
-
getSqlUpdate
Gets the value of the sqlUpdate property.- Specified by:
getSqlUpdatein interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbCustomSqlImpl
-
setSqlUpdate
Sets the value of the sqlUpdate property.- Specified by:
setSqlUpdatein interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbCustomSqlImpl
-
getSqlDelete
Gets the value of the sqlDelete property.- Specified by:
getSqlDeletein interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbCustomSqlImpl
-
setSqlDelete
Sets the value of the sqlDelete property.- Specified by:
setSqlDeletein interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbCustomSqlImpl
-
getSqlDeleteAll
Gets the value of the sqlDeleteAll property.- Specified by:
getSqlDeleteAllin interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbCustomSqlImpl
-
setSqlDeleteAll
Sets the value of the sqlDeleteAll property.- Specified by:
setSqlDeleteAllin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbCustomSqlImpl
-
getFilters
Gets the value of the filters 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
setmethod for the filters property.For example, to add a new item, do as follows:
getFilters().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbFilterImpl- Specified by:
getFiltersin interfaceJaxbPluralAttribute- Returns:
- The value of the filters property.
-
getDiscriminator
Gets the value of the discriminator property.- Specified by:
getDiscriminatorin interfaceJaxbAnyMapping- Returns:
- possible object is
JaxbAnyMappingDiscriminatorImpl
-
setDiscriminator
Sets the value of the discriminator property.- Parameters:
value- allowed object isJaxbAnyMappingDiscriminatorImpl
-
getKey
Gets the value of the key property.- Specified by:
getKeyin interfaceJaxbAnyMapping- Returns:
- possible object is
JaxbAnyMappingKeyImpl
-
setKey
Sets the value of the key property.- Parameters:
value- allowed object isJaxbAnyMappingKeyImpl
-
getCascade
Gets the value of the cascade property.- Specified by:
getCascadein interfaceJaxbCascadableAttribute- Returns:
- possible object is
JaxbCascadeTypeImpl
-
setCascade
Sets the value of the cascade property.- Specified by:
setCascadein interfaceJaxbCascadableAttribute- Parameters:
value- allowed object isJaxbCascadeTypeImpl
-
getJoinTable
Gets the value of the joinTable property.- Returns:
- possible object is
JaxbJoinTableImpl
-
setJoinTable
Sets the value of the joinTable property.- Parameters:
value- allowed object isJaxbJoinTableImpl
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceJaxbPersistentAttribute- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setNamein interfaceJaxbPersistentAttribute- Parameters:
value- allowed object isString
-
getFetch
Gets the value of the fetch property.- Specified by:
getFetchin interfaceJaxbStandardAttribute- Returns:
- possible object is
String
-
setFetch
Sets the value of the fetch property.- Specified by:
setFetchin interfaceJaxbStandardAttribute- Parameters:
value- allowed object isString
-
getFetchMode
Gets the value of the fetchMode property.- Specified by:
getFetchModein interfaceJaxbPluralAttribute- Returns:
- possible object is
JaxbPluralFetchModeImpl
-
setFetchMode
Sets the value of the fetchMode property.- Specified by:
setFetchModein interfaceJaxbPluralAttribute- Parameters:
value- allowed object isJaxbPluralFetchModeImpl
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfaceJaxbPersistentAttribute- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccessin interfaceJaxbPersistentAttribute- Parameters:
value- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfaceJaxbPersistentAttribute- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessorin interfaceJaxbPersistentAttribute- Parameters:
value- allowed object isString
-
isOptimisticLock
Gets the value of the optimisticLock property.- Specified by:
isOptimisticLockin interfaceJaxbLockableAttribute- Returns:
- possible object is
Boolean
-
setOptimisticLock
Sets the value of the optimisticLock property.- Specified by:
setOptimisticLockin interfaceJaxbLockableAttribute- Parameters:
value- allowed object isBoolean
-
getClassification
Gets the value of the classification property.- Specified by:
getClassificationin interfaceJaxbPluralAttribute- Returns:
- possible object is
String
-
setClassification
Sets the value of the classification property.- Specified by:
setClassificationin interfaceJaxbPluralAttribute- Parameters:
value- allowed object isString
-