public class JaxbHbmCompositeKeyManyToOneType extends JaxbHbmToolingHintContainer implements Serializable, SingularAttributeInfo
A many-to-one association embedded in a composite identifier or map index (always not-null, never cascade).
<p>Java class for CompositeKeyManyToOneType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
access |
protected String |
clazz |
protected List<JaxbHbmColumnType> |
column |
protected String |
columnAttribute |
protected String |
entityName |
protected String |
foreignKey |
protected JaxbHbmLazyEnum |
lazy |
protected String |
name |
protected JaxbHbmOnDeleteEnum |
onDelete |
toolingHints| Constructor and Description |
|---|
JaxbHbmCompositeKeyManyToOneType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccess()
Gets the value of the access property.
|
String |
getClazz()
Gets the value of the clazz property.
|
List<JaxbHbmColumnType> |
getColumn()
Gets the value of the column property.
|
String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
String |
getEntityName()
Gets the value of the entityName property.
|
String |
getForeignKey()
Gets the value of the foreignKey property.
|
JaxbHbmLazyEnum |
getLazy()
Gets the value of the lazy property.
|
String |
getName()
Gets the value of the name property.
|
JaxbHbmOnDeleteEnum |
getOnDelete()
Gets the value of the onDelete property.
|
void |
setAccess(String value)
Sets the value of the access property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setColumnAttribute(String value)
Sets the value of the columnAttribute property.
|
void |
setEntityName(String value)
Sets the value of the entityName property.
|
void |
setForeignKey(String value)
Sets the value of the foreignKey property.
|
void |
setLazy(JaxbHbmLazyEnum value)
Sets the value of the lazy property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOnDelete(JaxbHbmOnDeleteEnum value)
Sets the value of the onDelete property.
|
getToolingHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetToolingHintsprotected List<JaxbHbmColumnType> column
protected String access
protected String clazz
protected String columnAttribute
protected String entityName
protected String foreignKey
protected JaxbHbmLazyEnum lazy
protected String name
protected JaxbHbmOnDeleteEnum onDelete
public List<JaxbHbmColumnType> getColumn()
Gets the value of the column property.
<p> 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 <CODE>set</CODE> method for the column property.
<p> For example, to add a new item, do as follows: <pre> getColumn().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
public String getAccess()
Gets the value of the access property.
getAccess in interface AttributeMappingStringpublic void setAccess(String value)
Sets the value of the access property.
value - allowed object is
Stringpublic String getClazz()
Gets the value of the clazz property.
Stringpublic void setClazz(String value)
Sets the value of the clazz property.
value - allowed object is
Stringpublic String getColumnAttribute()
Gets the value of the columnAttribute property.
Stringpublic void setColumnAttribute(String value)
Sets the value of the columnAttribute property.
value - allowed object is
Stringpublic String getEntityName()
Gets the value of the entityName property.
Stringpublic void setEntityName(String value)
Sets the value of the entityName property.
value - allowed object is
Stringpublic String getForeignKey()
Gets the value of the foreignKey property.
Stringpublic void setForeignKey(String value)
Sets the value of the foreignKey property.
value - allowed object is
Stringpublic JaxbHbmLazyEnum getLazy()
Gets the value of the lazy property.
JaxbHbmLazyEnumpublic void setLazy(JaxbHbmLazyEnum value)
Sets the value of the lazy property.
value - allowed object is
JaxbHbmLazyEnumpublic String getName()
Gets the value of the name property.
getName in interface AttributeMappingStringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic JaxbHbmOnDeleteEnum getOnDelete()
Gets the value of the onDelete property.
JaxbHbmOnDeleteEnumpublic void setOnDelete(JaxbHbmOnDeleteEnum value)
Sets the value of the onDelete property.
value - allowed object is
JaxbHbmOnDeleteEnumCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.