Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmManyToOneType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmManyToOneType
-
- All Implemented Interfaces:
Serializable,AttributeMapping,SingularAttributeInfo,ToolingHintContainer
public class JaxbHbmManyToOneType extends JaxbHbmToolingHintContainer implements 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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaccessprotected Stringcascadeprotected Stringclazzprotected StringcolumnAttributeprotected List<Serializable>columnOrFormulaprotected BooleanembedXmlprotected StringentityNameprotected JaxbHbmFetchStyleEnumfetchprotected StringforeignKeyprotected StringformulaAttributeprotected Stringindexprotected Booleaninsertprotected JaxbHbmLazyWithNoProxyEnumlazyprotected Stringnameprotected Stringnodeprotected JaxbHbmNotFoundEnumnotFoundprotected BooleannotNullprotected JaxbHbmOnDeleteEnumonDeleteprotected BooleanoptimisticLockprotected JaxbHbmOuterJoinEnumouterJoinprotected StringpropertyRefprotected Booleanuniqueprotected StringuniqueKeyprotected Booleanupdate-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmManyToOneType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccess()Gets the value of the access property.StringgetCascade()Gets the value of the cascade property.StringgetClazz()Gets the value of the clazz property.StringgetColumnAttribute()Gets the value of the columnAttribute property.List<Serializable>getColumnOrFormula()Gets the value of the columnOrFormula property.StringgetEntityName()Gets the value of the entityName property.JaxbHbmFetchStyleEnumgetFetch()Gets the value of the fetch property.StringgetForeignKey()Gets the value of the foreignKey property.StringgetFormulaAttribute()Gets the value of the formulaAttribute property.StringgetIndex()Gets the value of the index property.JaxbHbmLazyWithNoProxyEnumgetLazy()Gets the value of the lazy property.StringgetName()Gets the value of the name property.StringgetNode()Gets the value of the node property.JaxbHbmNotFoundEnumgetNotFound()Gets the value of the notFound property.JaxbHbmOnDeleteEnumgetOnDelete()Gets the value of the onDelete property.JaxbHbmOuterJoinEnumgetOuterJoin()Gets the value of the outerJoin property.StringgetPropertyRef()Gets the value of the propertyRef property.StringgetUniqueKey()Gets the value of the uniqueKey property.BooleanisEmbedXml()Gets the value of the embedXml property.booleanisInsert()Gets the value of the insert property.BooleanisNotNull()Gets the value of the notNull property.booleanisOptimisticLock()Gets the value of the optimisticLock property.booleanisUnique()Gets the value of the unique property.booleanisUpdate()Gets the value of the update property.voidsetAccess(String value)Sets the value of the access property.voidsetCascade(String value)Sets the value of the cascade property.voidsetClazz(String value)Sets the value of the clazz property.voidsetColumnAttribute(String value)Sets the value of the columnAttribute property.voidsetEmbedXml(Boolean value)Sets the value of the embedXml property.voidsetEntityName(String value)Sets the value of the entityName property.voidsetFetch(JaxbHbmFetchStyleEnum value)Sets the value of the fetch property.voidsetForeignKey(String value)Sets the value of the foreignKey property.voidsetFormulaAttribute(String value)Sets the value of the formulaAttribute property.voidsetIndex(String value)Sets the value of the index property.voidsetInsert(Boolean value)Sets the value of the insert property.voidsetLazy(JaxbHbmLazyWithNoProxyEnum value)Sets the value of the lazy property.voidsetName(String value)Sets the value of the name property.voidsetNode(String value)Sets the value of the node property.voidsetNotFound(JaxbHbmNotFoundEnum value)Sets the value of the notFound property.voidsetNotNull(Boolean value)Sets the value of the notNull property.voidsetOnDelete(JaxbHbmOnDeleteEnum value)Sets the value of the onDelete property.voidsetOptimisticLock(Boolean value)Sets the value of the optimisticLock property.voidsetOuterJoin(JaxbHbmOuterJoinEnum value)Sets the value of the outerJoin property.voidsetPropertyRef(String value)Sets the value of the propertyRef property.voidsetUnique(Boolean value)Sets the value of the unique property.voidsetUniqueKey(String value)Sets the value of the uniqueKey property.voidsetUpdate(Boolean value)Sets the value of the update 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
-
columnOrFormula
protected List<Serializable> columnOrFormula
-
access
protected String access
-
cascade
protected String cascade
-
clazz
protected String clazz
-
columnAttribute
protected String columnAttribute
-
embedXml
protected Boolean embedXml
-
entityName
protected String entityName
-
fetch
protected JaxbHbmFetchStyleEnum fetch
-
foreignKey
protected String foreignKey
-
formulaAttribute
protected String formulaAttribute
-
index
protected String index
-
insert
protected Boolean insert
-
lazy
protected JaxbHbmLazyWithNoProxyEnum lazy
-
name
protected String name
-
node
protected String node
-
notFound
protected JaxbHbmNotFoundEnum notFound
-
notNull
protected Boolean notNull
-
optimisticLock
protected Boolean optimisticLock
-
outerJoin
protected JaxbHbmOuterJoinEnum outerJoin
-
propertyRef
protected String propertyRef
-
unique
protected Boolean unique
-
uniqueKey
protected String uniqueKey
-
update
protected Boolean update
-
onDelete
protected JaxbHbmOnDeleteEnum onDelete
-
-
Method Detail
-
getColumnOrFormula
public List<Serializable> getColumnOrFormula()
Gets the value of the columnOrFormula 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
StringJaxbHbmColumnType
-
getAccess
public String getAccess()
Gets the value of the access property.- Specified by:
getAccessin interfaceAttributeMapping- Returns:
- possible object is
String
-
setAccess
public void setAccess(String value)
Sets the value of the access property.- Parameters:
value- allowed object isString
-
getCascade
public String getCascade()
Gets the value of the cascade property.- Returns:
- possible object is
String
-
setCascade
public void setCascade(String value)
Sets the value of the cascade property.- Parameters:
value- allowed object isString
-
getClazz
public String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz property.- Parameters:
value- allowed object isString
-
getColumnAttribute
public String getColumnAttribute()
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(String value)
Sets the value of the columnAttribute property.- Parameters:
value- allowed object isString
-
isEmbedXml
public Boolean isEmbedXml()
Gets the value of the embedXml property.- Returns:
- possible object is
Boolean
-
setEmbedXml
public void setEmbedXml(Boolean value)
Sets the value of the embedXml property.- Parameters:
value- allowed object isBoolean
-
getEntityName
public String getEntityName()
Gets the value of the entityName property.- Returns:
- possible object is
String
-
setEntityName
public void setEntityName(String value)
Sets the value of the entityName property.- Parameters:
value- allowed object isString
-
getFetch
public JaxbHbmFetchStyleEnum getFetch()
Gets the value of the fetch property.- Returns:
- possible object is
JaxbHbmFetchStyleEnum
-
setFetch
public void setFetch(JaxbHbmFetchStyleEnum value)
Sets the value of the fetch property.- Parameters:
value- allowed object isJaxbHbmFetchStyleEnum
-
getForeignKey
public String getForeignKey()
Gets the value of the foreignKey property.- Returns:
- possible object is
String
-
setForeignKey
public void setForeignKey(String value)
Sets the value of the foreignKey property.- Parameters:
value- allowed object isString
-
getFormulaAttribute
public String getFormulaAttribute()
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
public void setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.- Parameters:
value- allowed object isString
-
getIndex
public String getIndex()
Gets the value of the index property.- Returns:
- possible object is
String
-
setIndex
public void setIndex(String value)
Sets the value of the index property.- Parameters:
value- allowed object isString
-
isInsert
public boolean isInsert()
Gets the value of the insert property.- Returns:
- possible object is
Boolean
-
setInsert
public void setInsert(Boolean value)
Sets the value of the insert property.- Parameters:
value- allowed object isBoolean
-
getLazy
public JaxbHbmLazyWithNoProxyEnum getLazy()
Gets the value of the lazy property.- Returns:
- possible object is
JaxbHbmLazyWithNoProxyEnum
-
setLazy
public void setLazy(JaxbHbmLazyWithNoProxyEnum value)
Sets the value of the lazy property.- Parameters:
value- allowed object isJaxbHbmLazyWithNoProxyEnum
-
getName
public String getName()
Gets the value of the name property.- Specified by:
getNamein interfaceAttributeMapping- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getNode
public String getNode()
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
public void setNode(String value)
Sets the value of the node property.- Parameters:
value- allowed object isString
-
getNotFound
public JaxbHbmNotFoundEnum getNotFound()
Gets the value of the notFound property.- Returns:
- possible object is
JaxbHbmNotFoundEnum
-
setNotFound
public void setNotFound(JaxbHbmNotFoundEnum value)
Sets the value of the notFound property.- Parameters:
value- allowed object isJaxbHbmNotFoundEnum
-
isNotNull
public Boolean isNotNull()
Gets the value of the notNull property.- Returns:
- possible object is
Boolean
-
setNotNull
public void setNotNull(Boolean value)
Sets the value of the notNull property.- Parameters:
value- allowed object isBoolean
-
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
-
getOuterJoin
public JaxbHbmOuterJoinEnum getOuterJoin()
Gets the value of the outerJoin property.- Returns:
- possible object is
JaxbHbmOuterJoinEnum
-
setOuterJoin
public void setOuterJoin(JaxbHbmOuterJoinEnum value)
Sets the value of the outerJoin property.- Parameters:
value- allowed object isJaxbHbmOuterJoinEnum
-
getPropertyRef
public String getPropertyRef()
Gets the value of the propertyRef property.- Returns:
- possible object is
String
-
setPropertyRef
public void setPropertyRef(String value)
Sets the value of the propertyRef property.- Parameters:
value- allowed object isString
-
isUnique
public boolean isUnique()
Gets the value of the unique property.- Returns:
- possible object is
Boolean
-
setUnique
public void setUnique(Boolean value)
Sets the value of the unique property.- Parameters:
value- allowed object isBoolean
-
getUniqueKey
public String getUniqueKey()
Gets the value of the uniqueKey property.- Returns:
- possible object is
String
-
setUniqueKey
public void setUniqueKey(String value)
Sets the value of the uniqueKey property.- Parameters:
value- allowed object isString
-
isUpdate
public boolean isUpdate()
Gets the value of the update property.- Returns:
- possible object is
Boolean
-
setUpdate
public void setUpdate(Boolean value)
Sets the value of the update property.- Parameters:
value- allowed object isBoolean
-
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
-
-