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

public Class JaxbHbmManyToAny

extends Object
implements Serializable, DiscriminatedAssociation
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.DiscriminatedAssociation, org.hibernate.boot.jaxb.mapping.PersistentAttribute, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:hbm-many-to-any
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:discriminator, key, cascade, optimisticLock
Imports
java.io.Serializable, jakarta.persistence.AccessType, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter

See `@org.hibernate.annotations.ManyToAny`

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>
        <element name="discriminator" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-any-discriminator"/>
        <element name="key" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-any-key"/>
        <element name="cascade" type="{http://www.hibernate.org/xsd/orm/mapping}cascade-type" minOccurs="0"/>
        <element name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" 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" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected String
protected JaxbCascadeType
protected JaxbHbmAnyDiscriminator
protected JaxbHbmAnyKey
protected String
protected Boolean

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 String

Returns:

possible object is String
getAttributeAccessor
()

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

Gets the value of the attributeAccessor property.
public JaxbCascadeType

Returns:

possible object is JaxbCascadeType
getCascade
()

Gets the value of the cascade property.

public JaxbHbmAnyDiscriminator

Returns:

possible object is JaxbHbmAnyDiscriminator
getDiscriminator
()

Implements org.hibernate.boot.jaxb.mapping.DiscriminatedAssociation.getDiscriminator.

Gets the value of the discriminator property.
public JaxbHbmAnyKey

Returns:

possible object is JaxbHbmAnyKey
getKey
()

Implements org.hibernate.boot.jaxb.mapping.DiscriminatedAssociation.getKey.

Gets the value of the key 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 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
setCascade(JaxbCascadeType
allowed object is JaxbCascadeType
value
)

Sets the value of the cascade property.

public void
setDiscriminator(JaxbHbmAnyDiscriminator
allowed object is JaxbHbmAnyDiscriminator
value
)

Sets the value of the discriminator property.

public void
setKey(JaxbHbmAnyKey
allowed object is JaxbHbmAnyKey
value
)

Sets the value of the key 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
setOptimisticLock(Boolean
allowed object is Boolean
value
)

Sets the value of the optimisticLock property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
protected AccessType access
Annotations
@XmlAttribute
name:access
@XmlJavaTypeAdapter:Adapter1
attributeAccessorback to summary
protected String attributeAccessor
Annotations
@XmlAttribute
name:attribute-accessor
cascadeback to summary
protected JaxbCascadeType cascade
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
discriminatorback to summary
protected JaxbHbmAnyDiscriminator discriminator
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
required:true
keyback to summary
protected JaxbHbmAnyKey key
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
required:true
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
optimisticLockback to summary
protected Boolean optimisticLock
Annotations
@XmlElement
name:optimistic-lock
namespace:http://www.hibernate.org/xsd/orm/mapping
defaultValue:true

Constructor Detail

JaxbHbmManyToAnyback to summary
public JaxbHbmManyToAny()

Method Detail

getAccessback to summary
public AccessType getAccess()

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

Gets the value of the access property.

Returns:AccessType

possible object is String

getAttributeAccessorback to summary
public String getAttributeAccessor()

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

Gets the value of the attributeAccessor property.

Returns:String

possible object is String

getCascadeback to summary
public JaxbCascadeType getCascade()

Gets the value of the cascade property.

Returns:JaxbCascadeType

possible object is JaxbCascadeType

getDiscriminatorback to summary
public JaxbHbmAnyDiscriminator getDiscriminator()

Implements org.hibernate.boot.jaxb.mapping.DiscriminatedAssociation.getDiscriminator.

Gets the value of the discriminator property.

Returns:JaxbHbmAnyDiscriminator

possible object is JaxbHbmAnyDiscriminator

getKeyback to summary
public JaxbHbmAnyKey getKey()

Implements org.hibernate.boot.jaxb.mapping.DiscriminatedAssociation.getKey.

Gets the value of the key property.

Returns:JaxbHbmAnyKey

possible object is JaxbHbmAnyKey

getNameback to summary
public String getName()

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

Gets the value of the name property.

Returns:String

possible object is String

isOptimisticLockback to summary
public Boolean isOptimisticLock()

Gets the value of the optimisticLock property.

Returns:Boolean

possible object is Boolean

setAccessback to summary
public void setAccess(AccessType value)

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

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setAttributeAccessorback to summary
public void setAttributeAccessor(String value)

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

Sets the value of the attributeAccessor property.

Parameters
value:String

allowed object is String

setCascadeback to summary
public void setCascade(JaxbCascadeType value)

Sets the value of the cascade property.

Parameters
value:JaxbCascadeType

allowed object is JaxbCascadeType

setDiscriminatorback to summary
public void setDiscriminator(JaxbHbmAnyDiscriminator value)

Sets the value of the discriminator property.

Parameters
value:JaxbHbmAnyDiscriminator

allowed object is JaxbHbmAnyDiscriminator

setKeyback to summary
public void setKey(JaxbHbmAnyKey value)

Sets the value of the key property.

Parameters
value:JaxbHbmAnyKey

allowed object is JaxbHbmAnyKey

setNameback to summary
public void setName(String value)

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

Sets the value of the name property.

Parameters
value:String

allowed object is String

setOptimisticLockback to summary
public void setOptimisticLock(Boolean value)

Sets the value of the optimisticLock property.

Parameters
value:Boolean

allowed object is Boolean