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:
Serializable
,ToolingHintContainer
public class JaxbHbmOneToOneType extends JaxbHbmToolingHintContainer implements 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 String
access
protected String
cascade
protected String
clazz
protected Boolean
constrained
protected Boolean
embedXml
protected String
entityName
protected JaxbHbmFetchStyleEnum
fetch
protected String
foreignKey
protected List<String>
formula
protected String
formulaAttribute
protected JaxbHbmLazyWithNoProxyEnum
lazy
protected String
name
protected String
node
protected JaxbHbmOnDeleteEnum
onDelete
protected JaxbHbmOuterJoinEnum
outerJoin
protected 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 String
getAccess()
Gets the value of the access property.String
getCascade()
Gets the value of the cascade property.String
getClazz()
Gets the value of the clazz property.String
getEntityName()
Gets the value of the entityName property.JaxbHbmFetchStyleEnum
getFetch()
Gets the value of the fetch property.String
getForeignKey()
Gets the value of the foreignKey property.List<String>
getFormula()
Gets the value of the formula property.String
getFormulaAttribute()
Gets the value of the formulaAttribute property.JaxbHbmLazyWithNoProxyEnum
getLazy()
Gets the value of the lazy property.String
getName()
Gets the value of the name property.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.String
getPropertyRef()
Gets the value of the propertyRef property.boolean
isConstrained()
Gets the value of the constrained property.Boolean
isEmbedXml()
Gets the value of the embedXml property.void
setAccess(String value)
Sets the value of the access property.void
setCascade(String value)
Sets the value of the cascade property.void
setClazz(String value)
Sets the value of the clazz property.void
setConstrained(Boolean value)
Sets the value of the constrained property.void
setEmbedXml(Boolean value)
Sets the value of the embedXml property.void
setEntityName(String value)
Sets the value of the entityName property.void
setFetch(JaxbHbmFetchStyleEnum value)
Sets the value of the fetch property.void
setForeignKey(String value)
Sets the value of the foreignKey property.void
setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.void
setLazy(JaxbHbmLazyWithNoProxyEnum value)
Sets the value of the lazy property.void
setName(String value)
Sets the value of the name property.void
setNode(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(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
-
access
protected String access
-
cascade
protected String cascade
-
clazz
protected String clazz
-
constrained
protected Boolean constrained
-
embedXml
protected Boolean embedXml
-
entityName
protected String entityName
-
fetch
protected JaxbHbmFetchStyleEnum fetch
-
foreignKey
protected String foreignKey
-
formulaAttribute
protected String formulaAttribute
-
lazy
protected JaxbHbmLazyWithNoProxyEnum lazy
-
name
protected String name
-
node
protected String node
-
outerJoin
protected JaxbHbmOuterJoinEnum outerJoin
-
propertyRef
protected String propertyRef
-
onDelete
protected JaxbHbmOnDeleteEnum onDelete
-
-
Method Detail
-
getFormula
public List<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 Jakarta XML Binding 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
- Returns:
- The value of the formula property.
-
getAccess
public String getAccess()
Gets the value of the access property.- 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
-
isConstrained
public boolean isConstrained()
Gets the value of the constrained property.- Returns:
- possible object is
Boolean
-
setConstrained
public void setConstrained(Boolean value)
Sets the value of the constrained property.- Parameters:
value
- allowed object isBoolean
-
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
-
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.- 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
-
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
-
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
-
-