Package org.hibernate.boot.jaxb.mapping
Class JaxbHbmManyToAny
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbHbmManyToAny
-
- All Implemented Interfaces:
Serializable,DiscriminatedAssociation,PersistentAttribute
public class JaxbHbmManyToAny extends Object implements Serializable, DiscriminatedAssociation
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>- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.boot.jaxb.mapping.DiscriminatedAssociation
DiscriminatedAssociation.Discriminator, DiscriminatedAssociation.Key
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessTypeaccessprotected StringattributeAccessorprotected JaxbCascadeTypecascadeprotected JaxbHbmAnyDiscriminatordiscriminatorprotected JaxbHbmAnyKeykeyprotected Stringnameprotected BooleanoptimisticLock
-
Constructor Summary
Constructors Constructor Description JaxbHbmManyToAny()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccess()Gets the value of the access property.StringgetAttributeAccessor()Gets the value of the attributeAccessor property.JaxbCascadeTypegetCascade()Gets the value of the cascade property.JaxbHbmAnyDiscriminatorgetDiscriminator()Gets the value of the discriminator property.JaxbHbmAnyKeygetKey()Gets the value of the key property.StringgetName()Gets the value of the name property.BooleanisOptimisticLock()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.voidsetCascade(JaxbCascadeType value)Sets the value of the cascade property.voidsetDiscriminator(JaxbHbmAnyDiscriminator value)Sets the value of the discriminator property.voidsetKey(JaxbHbmAnyKey value)Sets the value of the key property.voidsetName(String value)Sets the value of the name property.voidsetOptimisticLock(Boolean value)Sets the value of the optimisticLock property.
-
-
-
Field Detail
-
discriminator
protected JaxbHbmAnyDiscriminator discriminator
-
key
protected JaxbHbmAnyKey key
-
cascade
protected JaxbCascadeType cascade
-
optimisticLock
protected Boolean optimisticLock
-
name
protected String name
-
access
protected AccessType access
-
attributeAccessor
protected String attributeAccessor
-
-
Method Detail
-
getDiscriminator
public JaxbHbmAnyDiscriminator getDiscriminator()
Gets the value of the discriminator property.- Specified by:
getDiscriminatorin interfaceDiscriminatedAssociation- Returns:
- possible object is
JaxbHbmAnyDiscriminator
-
setDiscriminator
public void setDiscriminator(JaxbHbmAnyDiscriminator value)
Sets the value of the discriminator property.- Parameters:
value- allowed object isJaxbHbmAnyDiscriminator
-
getKey
public JaxbHbmAnyKey getKey()
Gets the value of the key property.- Specified by:
getKeyin interfaceDiscriminatedAssociation- Returns:
- possible object is
JaxbHbmAnyKey
-
setKey
public void setKey(JaxbHbmAnyKey value)
Sets the value of the key property.- Parameters:
value- allowed object isJaxbHbmAnyKey
-
getCascade
public JaxbCascadeType getCascade()
Gets the value of the cascade property.- Returns:
- possible object is
JaxbCascadeType
-
setCascade
public void setCascade(JaxbCascadeType value)
Sets the value of the cascade property.- Parameters:
value- allowed object isJaxbCascadeType
-
isOptimisticLock
public Boolean isOptimisticLock()
Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
setOptimisticLock
public void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.- Parameters:
value- allowed object isBoolean
-
getName
public String getName()
Gets the value of the name property.- Specified by:
getNamein interfacePersistentAttribute- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Specified by:
setNamein interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccessin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccessin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAttributeAccessor
public String getAttributeAccessor()
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAttributeAccessor
public void setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessorin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
-