public class JaxbHbmManyToOneType extends JaxbHbmToolingHintContainer implements Serializable, SingularAttributeInfo, ToolingHintContainer
<p>Java class for ManyToOneType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="ManyToOneType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <choice maxOccurs="unbounded" minOccurs="0"> <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula"/> </choice> </sequence> <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="cascade" 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="embed-xml" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="fetch" type="{http://www.hibernate.org/xsd/orm/hbm}FetchStyleEnum" /> <attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="lazy" type="{http://www.hibernate.org/xsd/orm/hbm}LazyWithNoProxyEnum" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="not-found" type="{http://www.hibernate.org/xsd/orm/hbm}NotFoundEnum" default="exception" /> <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="outer-join" type="{http://www.hibernate.org/xsd/orm/hbm}OuterJoinEnum" /> <attribute name="property-ref" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="unique-key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <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 |
cascade |
protected String |
clazz |
protected String |
columnAttribute |
protected List<Serializable> |
columnOrFormula |
protected Boolean |
embedXml |
protected String |
entityName |
protected JaxbHbmFetchStyleEnum |
fetch |
protected String |
foreignKey |
protected String |
formulaAttribute |
protected String |
index |
protected Boolean |
insert |
protected JaxbHbmLazyWithNoProxyEnum |
lazy |
protected String |
name |
protected String |
node |
protected JaxbHbmNotFoundEnum |
notFound |
protected Boolean |
notNull |
protected JaxbHbmOnDeleteEnum |
onDelete |
protected Boolean |
optimisticLock |
protected JaxbHbmOuterJoinEnum |
outerJoin |
protected String |
propertyRef |
protected Boolean |
unique |
protected String |
uniqueKey |
protected Boolean |
update |
toolingHints| Constructor and Description |
|---|
JaxbHbmManyToOneType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccess()
Gets the value of the access property.
|
String |
getCascade()
Gets the value of the cascade property.
|
String |
getClazz()
Gets the value of the clazz property.
|
String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
List<Serializable> |
getColumnOrFormula()
Gets the value of the columnOrFormula property.
|
String |
getEntityName()
Gets the value of the entityName property.
|
JaxbHbmFetchStyleEnum |
getFetch()
Gets the value of the fetch property.
|
String |
getForeignKey()
Gets the value of the foreignKey property.
|
String |
getFormulaAttribute()
Gets the value of the formulaAttribute property.
|
String |
getIndex()
Gets the value of the index property.
|
JaxbHbmLazyWithNoProxyEnum |
getLazy()
Gets the value of the lazy property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNode()
Gets the value of the node property.
|
JaxbHbmNotFoundEnum |
getNotFound()
Gets the value of the notFound property.
|
JaxbHbmOnDeleteEnum |
getOnDelete()
Gets the value of the onDelete property.
|
JaxbHbmOuterJoinEnum |
getOuterJoin()
Gets the value of the outerJoin property.
|
String |
getPropertyRef()
Gets the value of the propertyRef property.
|
String |
getUniqueKey()
Gets the value of the uniqueKey property.
|
Boolean |
isEmbedXml()
Gets the value of the embedXml property.
|
boolean |
isInsert()
Gets the value of the insert property.
|
Boolean |
isNotNull()
Gets the value of the notNull property.
|
boolean |
isOptimisticLock()
Gets the value of the optimisticLock property.
|
boolean |
isUnique()
Gets the value of the unique property.
|
boolean |
isUpdate()
Gets the value of the update property.
|
void |
setAccess(String value)
Sets the value of the access property.
|
void |
setCascade(String value)
Sets the value of the cascade property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setColumnAttribute(String value)
Sets the value of the columnAttribute property.
|
void |
setEmbedXml(Boolean value)
Sets the value of the embedXml property.
|
void |
setEntityName(String value)
Sets the value of the entityName property.
|
void |
setFetch(JaxbHbmFetchStyleEnum value)
Sets the value of the fetch property.
|
void |
setForeignKey(String value)
Sets the value of the foreignKey property.
|
void |
setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.
|
void |
setIndex(String value)
Sets the value of the index property.
|
void |
setInsert(Boolean value)
Sets the value of the insert property.
|
void |
setLazy(JaxbHbmLazyWithNoProxyEnum value)
Sets the value of the lazy property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNode(String value)
Sets the value of the node property.
|
void |
setNotFound(JaxbHbmNotFoundEnum value)
Sets the value of the notFound property.
|
void |
setNotNull(Boolean value)
Sets the value of the notNull property.
|
void |
setOnDelete(JaxbHbmOnDeleteEnum value)
Sets the value of the onDelete property.
|
void |
setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.
|
void |
setOuterJoin(JaxbHbmOuterJoinEnum value)
Sets the value of the outerJoin property.
|
void |
setPropertyRef(String value)
Sets the value of the propertyRef property.
|
void |
setUnique(Boolean value)
Sets the value of the unique property.
|
void |
setUniqueKey(String value)
Sets the value of the uniqueKey property.
|
void |
setUpdate(Boolean value)
Sets the value of the update property.
|
getToolingHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetToolingHintsprotected List<Serializable> columnOrFormula
protected String access
protected String cascade
protected String clazz
protected String columnAttribute
protected Boolean embedXml
protected String entityName
protected JaxbHbmFetchStyleEnum fetch
protected String foreignKey
protected String formulaAttribute
protected String index
protected Boolean insert
protected JaxbHbmLazyWithNoProxyEnum lazy
protected String name
protected String node
protected JaxbHbmNotFoundEnum notFound
protected Boolean notNull
protected Boolean optimisticLock
protected JaxbHbmOuterJoinEnum outerJoin
protected String propertyRef
protected Boolean unique
protected String uniqueKey
protected Boolean update
protected JaxbHbmOnDeleteEnum onDelete
public List<Serializable> getColumnOrFormula()
Gets the value of the columnOrFormula 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 columnOrFormula property.
<p> For example, to add a new item, do as follows: <pre> getColumnOrFormula().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
String
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 getCascade()
Gets the value of the cascade property.
Stringpublic void setCascade(String value)
Sets the value of the cascade 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 Boolean isEmbedXml()
Gets the value of the embedXml property.
Booleanpublic void setEmbedXml(Boolean value)
Sets the value of the embedXml property.
value - allowed object is
Booleanpublic 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 JaxbHbmFetchStyleEnum getFetch()
Gets the value of the fetch property.
JaxbHbmFetchStyleEnumpublic void setFetch(JaxbHbmFetchStyleEnum value)
Sets the value of the fetch property.
value - allowed object is
JaxbHbmFetchStyleEnumpublic 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 String getFormulaAttribute()
Gets the value of the formulaAttribute property.
Stringpublic void setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.
value - allowed object is
Stringpublic String getIndex()
Gets the value of the index property.
Stringpublic void setIndex(String value)
Sets the value of the index property.
value - allowed object is
Stringpublic boolean isInsert()
Gets the value of the insert property.
Booleanpublic void setInsert(Boolean value)
Sets the value of the insert property.
value - allowed object is
Booleanpublic JaxbHbmLazyWithNoProxyEnum getLazy()
Gets the value of the lazy property.
JaxbHbmLazyWithNoProxyEnumpublic void setLazy(JaxbHbmLazyWithNoProxyEnum value)
Sets the value of the lazy property.
value - allowed object is
JaxbHbmLazyWithNoProxyEnumpublic 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 String getNode()
Gets the value of the node property.
Stringpublic void setNode(String value)
Sets the value of the node property.
value - allowed object is
Stringpublic JaxbHbmNotFoundEnum getNotFound()
Gets the value of the notFound property.
JaxbHbmNotFoundEnumpublic void setNotFound(JaxbHbmNotFoundEnum value)
Sets the value of the notFound property.
value - allowed object is
JaxbHbmNotFoundEnumpublic Boolean isNotNull()
Gets the value of the notNull property.
Booleanpublic void setNotNull(Boolean value)
Sets the value of the notNull property.
value - allowed object is
Booleanpublic boolean isOptimisticLock()
Gets the value of the optimisticLock property.
Booleanpublic void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.
value - allowed object is
Booleanpublic JaxbHbmOuterJoinEnum getOuterJoin()
Gets the value of the outerJoin property.
JaxbHbmOuterJoinEnumpublic void setOuterJoin(JaxbHbmOuterJoinEnum value)
Sets the value of the outerJoin property.
value - allowed object is
JaxbHbmOuterJoinEnumpublic String getPropertyRef()
Gets the value of the propertyRef property.
Stringpublic void setPropertyRef(String value)
Sets the value of the propertyRef property.
value - allowed object is
Stringpublic boolean isUnique()
Gets the value of the unique property.
Booleanpublic void setUnique(Boolean value)
Sets the value of the unique property.
value - allowed object is
Booleanpublic String getUniqueKey()
Gets the value of the uniqueKey property.
Stringpublic void setUniqueKey(String value)
Sets the value of the uniqueKey property.
value - allowed object is
Stringpublic boolean isUpdate()
Gets the value of the update property.
Booleanpublic void setUpdate(Boolean value)
Sets the value of the update property.
value - allowed object is
Booleanpublic 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.