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
<p>Java class for ManyToOneType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<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" />
<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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected List<Serializable> protected Booleanprotected Stringprotected JaxbHbmFetchStyleEnumprotected Stringprotected Stringprotected Stringprotected Booleanprotected JaxbHbmLazyWithNoProxyEnumprotected Stringprotected Stringprotected JaxbHbmNotFoundEnumprotected Booleanprotected JaxbHbmOnDeleteEnumprotected Booleanprotected JaxbHbmOuterJoinEnumprotected Stringprotected Booleanprotected Stringprotected BooleanFields inherited from class JaxbHbmToolingHintContainer
toolingHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the cascade property.getClazz()Gets the value of the clazz property.Gets the value of the columnAttribute property.Gets the value of the columnOrFormula property.Gets the value of the entityName property.getFetch()Gets the value of the fetch property.Gets the value of the foreignKey property.Gets the value of the formulaAttribute property.getIndex()Gets the value of the index property.getLazy()Gets the value of the lazy property.getName()Gets the value of the name property.getNode()Gets the value of the node property.Gets the value of the notFound property.Gets the value of the onDelete property.Gets the value of the outerJoin property.Gets the value of the propertyRef property.Gets the value of the uniqueKey property.Gets the value of the embedXml property.booleanisInsert()Gets the value of the insert property.Gets the value of the notNull property.booleanGets the value of the optimisticLock property.booleanisUnique()Gets the value of the unique property.booleanisUpdate()Gets the value of the update property.voidSets the value of the access property.voidsetCascade(String value) Sets the value of the cascade property.voidSets 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.voidSets the value of the index property.voidSets the value of the insert property.voidSets the value of the lazy property.voidSets the value of the name property.voidSets 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.voidSets the value of the unique property.voidsetUniqueKey(String value) Sets the value of the uniqueKey property.voidSets the value of the update property.Methods inherited from class JaxbHbmToolingHintContainer
getToolingHintsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ToolingHintContainer
getToolingHints
-
Field Details
-
columnOrFormula
-
access
-
cascade
-
clazz
-
columnAttribute
-
embedXml
-
entityName
-
fetch
-
foreignKey
-
formulaAttribute
-
index
-
insert
-
lazy
-
name
-
node
-
notFound
-
notNull
-
optimisticLock
-
outerJoin
-
propertyRef
-
unique
-
uniqueKey
-
update
-
onDelete
-
-
Constructor Details
-
JaxbHbmManyToOneType
public JaxbHbmManyToOneType()
-
-
Method Details
-
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- Returns:
- The value of the columnOrFormula property.
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfaceAttributeMapping- Returns:
- possible object is
String
-
setAccess
-
getCascade
-
setCascade
-
getClazz
-
setClazz
-
getColumnAttribute
-
setColumnAttribute
-
isEmbedXml
-
setEmbedXml
-
getEntityName
-
setEntityName
-
getFetch
Gets the value of the fetch property.- Returns:
- possible object is
JaxbHbmFetchStyleEnum
-
setFetch
Sets the value of the fetch property.- Parameters:
value- allowed object isJaxbHbmFetchStyleEnum
-
getForeignKey
-
setForeignKey
-
getFormulaAttribute
-
setFormulaAttribute
-
getIndex
-
setIndex
-
isInsert
public boolean isInsert()Gets the value of the insert property.- Returns:
- possible object is
Boolean
-
setInsert
-
getLazy
Gets the value of the lazy property.- Returns:
- possible object is
JaxbHbmLazyWithNoProxyEnum
-
setLazy
Sets the value of the lazy property.- Parameters:
value- allowed object isJaxbHbmLazyWithNoProxyEnum
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceAttributeMapping- Returns:
- possible object is
String
-
setName
-
getNode
-
setNode
-
getNotFound
Gets the value of the notFound property.- Returns:
- possible object is
JaxbHbmNotFoundEnum
-
setNotFound
Sets the value of the notFound property.- Parameters:
value- allowed object isJaxbHbmNotFoundEnum
-
isNotNull
-
setNotNull
-
isOptimisticLock
public boolean isOptimisticLock()Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
setOptimisticLock
-
getOuterJoin
Gets the value of the outerJoin property.- Returns:
- possible object is
JaxbHbmOuterJoinEnum
-
setOuterJoin
Sets the value of the outerJoin property.- Parameters:
value- allowed object isJaxbHbmOuterJoinEnum
-
getPropertyRef
-
setPropertyRef
-
isUnique
public boolean isUnique()Gets the value of the unique property.- Returns:
- possible object is
Boolean
-
setUnique
-
getUniqueKey
-
setUniqueKey
-
isUpdate
public boolean isUpdate()Gets the value of the update property.- Returns:
- possible object is
Boolean
-
setUpdate
-
getOnDelete
Gets the value of the onDelete property.- Returns:
- possible object is
JaxbHbmOnDeleteEnum
-
setOnDelete
Sets the value of the onDelete property.- Parameters:
value- allowed object isJaxbHbmOnDeleteEnum
-