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" />
<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:
-
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 org.hibernate.boot.jaxb.hbm.spi.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 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHintsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.jaxb.hbm.spi.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 JAXB 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
Sets the value of the access property.- Parameters:
value- allowed object isString
-
getCascade
Gets the value of the cascade property.- Returns:
- possible object is
String
-
setCascade
Sets the value of the cascade property.- Parameters:
value- allowed object isString
-
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Parameters:
value- allowed object isString
-
getColumnAttribute
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
Sets the value of the columnAttribute property.- Parameters:
value- allowed object isString
-
isEmbedXml
Gets the value of the embedXml property.- Returns:
- possible object is
Boolean
-
setEmbedXml
Sets the value of the embedXml property.- Parameters:
value- allowed object isBoolean
-
getEntityName
Gets the value of the entityName property.- Returns:
- possible object is
String
-
setEntityName
Sets the value of the entityName property.- Parameters:
value- allowed object isString
-
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
Gets the value of the foreignKey property.- Returns:
- possible object is
String
-
setForeignKey
Sets the value of the foreignKey property.- Parameters:
value- allowed object isString
-
getFormulaAttribute
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
Sets the value of the formulaAttribute property.- Parameters:
value- allowed object isString
-
getIndex
Gets the value of the index property.- Returns:
- possible object is
String
-
setIndex
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
Sets the value of the insert property.- Parameters:
value- allowed object isBoolean
-
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
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getNode
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
Sets the value of the node property.- Parameters:
value- allowed object isString
-
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
Gets the value of the notNull property.- Returns:
- possible object is
Boolean
-
setNotNull
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
Sets the value of the optimisticLock property.- Parameters:
value- allowed object isBoolean
-
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
Gets the value of the propertyRef property.- Returns:
- possible object is
String
-
setPropertyRef
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
Sets the value of the unique property.- Parameters:
value- allowed object isBoolean
-
getUniqueKey
Gets the value of the uniqueKey property.- Returns:
- possible object is
String
-
setUniqueKey
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
Sets the value of the update property.- Parameters:
value- allowed object isBoolean
-
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
-