public class JaxbHbmManyToOneType extends JaxbHbmToolingHintContainer implements java.io.Serializable, SingularAttributeInfo, ToolingHintContainer
Java class for ManyToOneType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
access |
protected java.lang.String |
cascade |
protected java.lang.String |
clazz |
protected java.lang.String |
columnAttribute |
protected java.util.List<java.io.Serializable> |
columnOrFormula |
protected java.lang.Boolean |
embedXml |
protected java.lang.String |
entityName |
protected JaxbHbmFetchStyleEnum |
fetch |
protected java.lang.String |
foreignKey |
protected java.lang.String |
formulaAttribute |
protected java.lang.String |
index |
protected java.lang.Boolean |
insert |
protected JaxbHbmLazyWithNoProxyEnum |
lazy |
protected java.lang.String |
name |
protected java.lang.String |
node |
protected JaxbHbmNotFoundEnum |
notFound |
protected java.lang.Boolean |
notNull |
protected JaxbHbmOnDeleteEnum |
onDelete |
protected java.lang.Boolean |
optimisticLock |
protected JaxbHbmOuterJoinEnum |
outerJoin |
protected java.lang.String |
propertyRef |
protected java.lang.Boolean |
unique |
protected java.lang.String |
uniqueKey |
protected java.lang.Boolean |
update |
toolingHints
Constructor and Description |
---|
JaxbHbmManyToOneType() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccess()
Gets the value of the access property.
|
java.lang.String |
getCascade()
Gets the value of the cascade property.
|
java.lang.String |
getClazz()
Gets the value of the clazz property.
|
java.lang.String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
java.util.List<java.io.Serializable> |
getColumnOrFormula()
Gets the value of the columnOrFormula property.
|
java.lang.String |
getEntityName()
Gets the value of the entityName property.
|
JaxbHbmFetchStyleEnum |
getFetch()
Gets the value of the fetch property.
|
java.lang.String |
getForeignKey()
Gets the value of the foreignKey property.
|
java.lang.String |
getFormulaAttribute()
Gets the value of the formulaAttribute property.
|
java.lang.String |
getIndex()
Gets the value of the index property.
|
JaxbHbmLazyWithNoProxyEnum |
getLazy()
Gets the value of the lazy property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.lang.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.
|
java.lang.String |
getPropertyRef()
Gets the value of the propertyRef property.
|
java.lang.String |
getUniqueKey()
Gets the value of the uniqueKey property.
|
java.lang.Boolean |
isEmbedXml()
Gets the value of the embedXml property.
|
boolean |
isInsert()
Gets the value of the insert property.
|
java.lang.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(java.lang.String value)
Sets the value of the access property.
|
void |
setCascade(java.lang.String value)
Sets the value of the cascade 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 |
setEmbedXml(java.lang.Boolean value)
Sets the value of the embedXml property.
|
void |
setEntityName(java.lang.String value)
Sets the value of the entityName property.
|
void |
setFetch(JaxbHbmFetchStyleEnum value)
Sets the value of the fetch property.
|
void |
setForeignKey(java.lang.String value)
Sets the value of the foreignKey property.
|
void |
setFormulaAttribute(java.lang.String value)
Sets the value of the formulaAttribute property.
|
void |
setIndex(java.lang.String value)
Sets the value of the index property.
|
void |
setInsert(java.lang.Boolean value)
Sets the value of the insert property.
|
void |
setLazy(JaxbHbmLazyWithNoProxyEnum value)
Sets the value of the lazy property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setNode(java.lang.String value)
Sets the value of the node property.
|
void |
setNotFound(JaxbHbmNotFoundEnum value)
Sets the value of the notFound property.
|
void |
setNotNull(java.lang.Boolean value)
Sets the value of the notNull property.
|
void |
setOnDelete(JaxbHbmOnDeleteEnum value)
Sets the value of the onDelete property.
|
void |
setOptimisticLock(java.lang.Boolean value)
Sets the value of the optimisticLock property.
|
void |
setOuterJoin(JaxbHbmOuterJoinEnum value)
Sets the value of the outerJoin property.
|
void |
setPropertyRef(java.lang.String value)
Sets the value of the propertyRef property.
|
void |
setUnique(java.lang.Boolean value)
Sets the value of the unique property.
|
void |
setUniqueKey(java.lang.String value)
Sets the value of the uniqueKey property.
|
void |
setUpdate(java.lang.Boolean value)
Sets the value of the update property.
|
getToolingHints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getToolingHints
protected java.util.List<java.io.Serializable> columnOrFormula
protected java.lang.String access
protected java.lang.String cascade
protected java.lang.String clazz
protected java.lang.String columnAttribute
protected java.lang.Boolean embedXml
protected java.lang.String entityName
protected JaxbHbmFetchStyleEnum fetch
protected java.lang.String foreignKey
protected java.lang.String formulaAttribute
protected java.lang.String index
protected java.lang.Boolean insert
protected JaxbHbmLazyWithNoProxyEnum lazy
protected java.lang.String name
protected java.lang.String node
protected JaxbHbmNotFoundEnum notFound
protected java.lang.Boolean notNull
protected java.lang.Boolean optimisticLock
protected JaxbHbmOuterJoinEnum outerJoin
protected java.lang.String propertyRef
protected java.lang.Boolean unique
protected java.lang.String uniqueKey
protected java.lang.Boolean update
protected JaxbHbmOnDeleteEnum onDelete
public java.util.List<java.io.Serializable> getColumnOrFormula()
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 columnOrFormula property.
For example, to add a new item, do as follows:
getColumnOrFormula().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
String
public java.lang.String getAccess()
getAccess
in interface AttributeMapping
String
public void setAccess(java.lang.String value)
value
- allowed object is
String
public java.lang.String getCascade()
String
public void setCascade(java.lang.String value)
value
- allowed object is
String
public java.lang.String getClazz()
String
public void setClazz(java.lang.String value)
value
- allowed object is
String
public java.lang.String getColumnAttribute()
String
public void setColumnAttribute(java.lang.String value)
value
- allowed object is
String
public java.lang.Boolean isEmbedXml()
Boolean
public void setEmbedXml(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String getEntityName()
String
public void setEntityName(java.lang.String value)
value
- allowed object is
String
public JaxbHbmFetchStyleEnum getFetch()
JaxbHbmFetchStyleEnum
public void setFetch(JaxbHbmFetchStyleEnum value)
value
- allowed object is
JaxbHbmFetchStyleEnum
public java.lang.String getForeignKey()
String
public void setForeignKey(java.lang.String value)
value
- allowed object is
String
public java.lang.String getFormulaAttribute()
String
public void setFormulaAttribute(java.lang.String value)
value
- allowed object is
String
public java.lang.String getIndex()
String
public void setIndex(java.lang.String value)
value
- allowed object is
String
public boolean isInsert()
Boolean
public void setInsert(java.lang.Boolean value)
value
- allowed object is
Boolean
public JaxbHbmLazyWithNoProxyEnum getLazy()
JaxbHbmLazyWithNoProxyEnum
public void setLazy(JaxbHbmLazyWithNoProxyEnum value)
value
- allowed object is
JaxbHbmLazyWithNoProxyEnum
public java.lang.String getName()
getName
in interface AttributeMapping
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getNode()
String
public void setNode(java.lang.String value)
value
- allowed object is
String
public JaxbHbmNotFoundEnum getNotFound()
JaxbHbmNotFoundEnum
public void setNotFound(JaxbHbmNotFoundEnum value)
value
- allowed object is
JaxbHbmNotFoundEnum
public java.lang.Boolean isNotNull()
Boolean
public void setNotNull(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isOptimisticLock()
Boolean
public void setOptimisticLock(java.lang.Boolean value)
value
- allowed object is
Boolean
public JaxbHbmOuterJoinEnum getOuterJoin()
JaxbHbmOuterJoinEnum
public void setOuterJoin(JaxbHbmOuterJoinEnum value)
value
- allowed object is
JaxbHbmOuterJoinEnum
public java.lang.String getPropertyRef()
String
public void setPropertyRef(java.lang.String value)
value
- allowed object is
String
public boolean isUnique()
Boolean
public void setUnique(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String getUniqueKey()
String
public void setUniqueKey(java.lang.String value)
value
- allowed object is
String
public boolean isUpdate()
Boolean
public void setUpdate(java.lang.Boolean value)
value
- allowed object is
Boolean
public JaxbHbmOnDeleteEnum getOnDelete()
JaxbHbmOnDeleteEnum
public void setOnDelete(JaxbHbmOnDeleteEnum value)
value
- allowed object is
JaxbHbmOnDeleteEnum
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.