Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmCompositeKeyManyToOneType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeKeyManyToOneType
-
- All Implemented Interfaces:
java.io.Serializable
,AttributeMapping
,SingularAttributeInfo
,ToolingHintContainer
public class JaxbHbmCompositeKeyManyToOneType extends JaxbHbmToolingHintContainer implements java.io.Serializable, SingularAttributeInfo
A many-to-one association embedded in a composite identifier or map index (always not-null, never cascade).Java class for CompositeKeyManyToOneType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CompositeKeyManyToOneType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="class" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" /> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="lazy" type="{http://www.hibernate.org/xsd/orm/hbm}LazyEnum" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="on-delete" type="{http://www.hibernate.org/xsd/orm/hbm}OnDeleteEnum" default="noaction" /> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
access
protected java.lang.String
clazz
protected java.util.List<JaxbHbmColumnType>
column
protected java.lang.String
columnAttribute
protected java.lang.String
entityName
protected java.lang.String
foreignKey
protected JaxbHbmLazyEnum
lazy
protected java.lang.String
name
protected JaxbHbmOnDeleteEnum
onDelete
-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmCompositeKeyManyToOneType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccess()
Gets the value of the access property.java.lang.String
getClazz()
Gets the value of the clazz property.java.util.List<JaxbHbmColumnType>
getColumn()
Gets the value of the column property.java.lang.String
getColumnAttribute()
Gets the value of the columnAttribute property.java.lang.String
getEntityName()
Gets the value of the entityName property.java.lang.String
getForeignKey()
Gets the value of the foreignKey property.JaxbHbmLazyEnum
getLazy()
Gets the value of the lazy property.java.lang.String
getName()
Gets the value of the name property.JaxbHbmOnDeleteEnum
getOnDelete()
Gets the value of the onDelete property.void
setAccess(java.lang.String value)
Sets the value of the access property.void
setClazz(java.lang.String value)
Sets the value of the clazz property.void
setColumnAttribute(java.lang.String value)
Sets the value of the columnAttribute property.void
setEntityName(java.lang.String value)
Sets the value of the entityName property.void
setForeignKey(java.lang.String value)
Sets the value of the foreignKey property.void
setLazy(JaxbHbmLazyEnum value)
Sets the value of the lazy property.void
setName(java.lang.String value)
Sets the value of the name property.void
setOnDelete(JaxbHbmOnDeleteEnum value)
Sets the value of the onDelete property.-
Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer
getToolingHints
-
-
-
-
Field Detail
-
column
protected java.util.List<JaxbHbmColumnType> column
-
access
protected java.lang.String access
-
clazz
protected java.lang.String clazz
-
columnAttribute
protected java.lang.String columnAttribute
-
entityName
protected java.lang.String entityName
-
foreignKey
protected java.lang.String foreignKey
-
lazy
protected JaxbHbmLazyEnum lazy
-
name
protected java.lang.String name
-
onDelete
protected JaxbHbmOnDeleteEnum onDelete
-
-
Method Detail
-
getColumn
public java.util.List<JaxbHbmColumnType> getColumn()
Gets the value of the column 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
set
method for the column property.For example, to add a new item, do as follows:
getColumn().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
-
getAccess
public java.lang.String getAccess()
Gets the value of the access property.- Specified by:
getAccess
in interfaceAttributeMapping
- Returns:
- possible object is
String
-
setAccess
public void setAccess(java.lang.String value)
Sets the value of the access property.- Parameters:
value
- allowed object isString
-
getClazz
public java.lang.String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
public void setClazz(java.lang.String value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isString
-
getColumnAttribute
public java.lang.String getColumnAttribute()
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(java.lang.String value)
Sets the value of the columnAttribute property.- Parameters:
value
- allowed object isString
-
getEntityName
public java.lang.String getEntityName()
Gets the value of the entityName property.- Returns:
- possible object is
String
-
setEntityName
public void setEntityName(java.lang.String value)
Sets the value of the entityName property.- Parameters:
value
- allowed object isString
-
getForeignKey
public java.lang.String getForeignKey()
Gets the value of the foreignKey property.- Returns:
- possible object is
String
-
setForeignKey
public void setForeignKey(java.lang.String value)
Sets the value of the foreignKey property.- Parameters:
value
- allowed object isString
-
getLazy
public JaxbHbmLazyEnum getLazy()
Gets the value of the lazy property.- Returns:
- possible object is
JaxbHbmLazyEnum
-
setLazy
public void setLazy(JaxbHbmLazyEnum value)
Sets the value of the lazy property.- Parameters:
value
- allowed object isJaxbHbmLazyEnum
-
getName
public java.lang.String getName()
Gets the value of the name property.- Specified by:
getName
in interfaceAttributeMapping
- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getOnDelete
public JaxbHbmOnDeleteEnum getOnDelete()
Gets the value of the onDelete property.- Returns:
- possible object is
JaxbHbmOnDeleteEnum
-
setOnDelete
public void setOnDelete(JaxbHbmOnDeleteEnum value)
Sets the value of the onDelete property.- Parameters:
value
- allowed object isJaxbHbmOnDeleteEnum
-
-