Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmOneToOneType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmOneToOneType
-
- All Implemented Interfaces:
java.io.Serializable
,ToolingHintContainer
public class JaxbHbmOneToOneType extends JaxbHbmToolingHintContainer implements java.io.Serializable, ToolingHintContainer
Java class for OneToOneType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OneToOneType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </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="constrained" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <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="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="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="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 java.lang.String
access
protected java.lang.String
cascade
protected java.lang.String
clazz
protected java.lang.Boolean
constrained
protected java.lang.Boolean
embedXml
protected java.lang.String
entityName
protected JaxbHbmFetchStyleEnum
fetch
protected java.lang.String
foreignKey
protected java.util.List<java.lang.String>
formula
protected java.lang.String
formulaAttribute
protected JaxbHbmLazyWithNoProxyEnum
lazy
protected java.lang.String
name
protected java.lang.String
node
protected JaxbHbmOnDeleteEnum
onDelete
protected JaxbHbmOuterJoinEnum
outerJoin
protected java.lang.String
propertyRef
-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmOneToOneType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
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.util.List<java.lang.String>
getFormula()
Gets the value of the formula property.java.lang.String
getFormulaAttribute()
Gets the value of the formulaAttribute 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.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.boolean
isConstrained()
Gets the value of the constrained property.java.lang.Boolean
isEmbedXml()
Gets the value of the embedXml 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
setConstrained(java.lang.Boolean value)
Sets the value of the constrained 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
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
setOnDelete(JaxbHbmOnDeleteEnum value)
Sets the value of the onDelete 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.-
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
-
formula
protected java.util.List<java.lang.String> formula
-
access
protected java.lang.String access
-
cascade
protected java.lang.String cascade
-
clazz
protected java.lang.String clazz
-
constrained
protected java.lang.Boolean constrained
-
embedXml
protected java.lang.Boolean embedXml
-
entityName
protected java.lang.String entityName
-
fetch
protected JaxbHbmFetchStyleEnum fetch
-
foreignKey
protected java.lang.String foreignKey
-
formulaAttribute
protected java.lang.String formulaAttribute
-
lazy
protected JaxbHbmLazyWithNoProxyEnum lazy
-
name
protected java.lang.String name
-
node
protected java.lang.String node
-
outerJoin
protected JaxbHbmOuterJoinEnum outerJoin
-
propertyRef
protected java.lang.String propertyRef
-
onDelete
protected JaxbHbmOnDeleteEnum onDelete
-
-
Method Detail
-
getFormula
public java.util.List<java.lang.String> getFormula()
Gets the value of the formula 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
set
method for the formula property.For example, to add a new item, do as follows:
getFormula().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
getAccess
public java.lang.String getAccess()
Gets the value of the access property.- Returns:
- possible object is
String
-
setAccess
public void setAccess(java.lang.String value)
Sets the value of the access property.- Parameters:
value
- allowed object isString
-
getCascade
public java.lang.String getCascade()
Gets the value of the cascade property.- Returns:
- possible object is
String
-
setCascade
public void setCascade(java.lang.String value)
Sets the value of the cascade property.- Parameters:
value
- allowed object isString
-
getClazz
public java.lang.String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
public void setClazz(java.lang.String value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isString
-
isConstrained
public boolean isConstrained()
Gets the value of the constrained property.- Returns:
- possible object is
Boolean
-
setConstrained
public void setConstrained(java.lang.Boolean value)
Sets the value of the constrained property.- Parameters:
value
- allowed object isBoolean
-
isEmbedXml
public java.lang.Boolean isEmbedXml()
Gets the value of the embedXml property.- Returns:
- possible object is
Boolean
-
setEmbedXml
public void setEmbedXml(java.lang.Boolean value)
Sets the value of the embedXml property.- Parameters:
value
- allowed object isBoolean
-
getEntityName
public java.lang.String getEntityName()
Gets the value of the entityName property.- Returns:
- possible object is
String
-
setEntityName
public void setEntityName(java.lang.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 java.lang.String getForeignKey()
Gets the value of the foreignKey property.- Returns:
- possible object is
String
-
setForeignKey
public void setForeignKey(java.lang.String value)
Sets the value of the foreignKey property.- Parameters:
value
- allowed object isString
-
getFormulaAttribute
public java.lang.String getFormulaAttribute()
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
public void setFormulaAttribute(java.lang.String value)
Sets the value of the formulaAttribute property.- Parameters:
value
- allowed object isString
-
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 java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getNode
public java.lang.String getNode()
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
public void setNode(java.lang.String value)
Sets the value of the node property.- Parameters:
value
- allowed object isString
-
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 java.lang.String getPropertyRef()
Gets the value of the propertyRef property.- Returns:
- possible object is
String
-
setPropertyRef
public void setPropertyRef(java.lang.String value)
Sets the value of the propertyRef property.- Parameters:
value
- allowed object isString
-
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
-
-