Class JaxbAnyMappingImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbAnyMappingImpl
- All Implemented Interfaces:
Serializable,JaxbAnyMapping,JaxbCascadableAttribute,JaxbLockableAttribute,JaxbPersistentAttribute,JaxbSingularAttribute,JaxbStandardAttribute
public class JaxbAnyMappingImpl
extends Object
implements Serializable, JaxbAnyMapping, JaxbCascadableAttribute, JaxbLockableAttribute, JaxbSingularAttribute, JaxbStandardAttribute
See `@org.hibernate.annotations.Any`
Java class for hbm-any-mapping complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="hbm-any-mapping">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<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"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<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="fetch" type="{http://www.hibernate.org/xsd/orm/mapping}fetch-type" />
<attribute name="fetch-mode" type="{http://www.hibernate.org/xsd/orm/mapping}singular-fetch-mode" />
<attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.boot.jaxb.mapping.spi.JaxbAnyMapping
JaxbAnyMapping.Discriminator, JaxbAnyMapping.Key -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected Stringprotected JaxbCascadeTypeImplprotected JaxbAnyMappingDiscriminatorImplprotected FetchTypeprotected JaxbSingularFetchModeImplprotected JaxbAnyMappingKeyImplprotected Stringprotected Booleanprotected Boolean -
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 cascade property.Gets the value of the discriminator property.getFetch()Gets the value of the fetch property.Gets the value of the fetchMode property.getKey()Gets the value of the key property.getName()Gets the value of the name property.Gets the value of the optimisticLock property.Gets the value of the optional property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetAttributeAccessor(String value) Sets the value of the attributeAccessor property.voidsetCascade(JaxbCascadeTypeImpl value) Sets the value of the cascade property.voidSets the value of the discriminator property.voidSets the value of the fetch property.voidSets the value of the fetchMode property.voidsetKey(JaxbAnyMappingKeyImpl value) Sets the value of the key property.voidSets the value of the name property.voidsetOptimisticLock(Boolean value) Sets the value of the optimisticLock property.voidsetOptional(Boolean value) Sets the value of the optional property.
-
Field Details
-
discriminator
-
key
-
cascade
-
name
-
access
-
attributeAccessor
-
fetch
-
fetchMode
-
optional
-
optimisticLock
-
-
Constructor Details
-
JaxbAnyMappingImpl
public JaxbAnyMappingImpl()
-
-
Method Details
-
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
-
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
-
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
-
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.- Returns:
- possible object is
JaxbSingularFetchModeImpl
-
setFetchMode
Sets the value of the fetchMode property.- Parameters:
value- allowed object isJaxbSingularFetchModeImpl
-
isOptional
Gets the value of the optional property.- Specified by:
isOptionalin interfaceJaxbStandardAttribute- Returns:
- possible object is
Boolean
-
setOptional
Sets the value of the optional property.- Specified by:
setOptionalin interfaceJaxbStandardAttribute- Parameters:
value- allowed object isBoolean
-
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
-