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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Stringprotected JaxbHbmFetchStyleEnumprotected Stringprotected Stringprotected JaxbHbmLazyWithNoProxyEnumprotected Stringprotected Stringprotected JaxbHbmOnDeleteEnumprotected JaxbHbmOuterJoinEnumprotected StringFields 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 entityName property.getFetch()Gets the value of the fetch property.Gets the value of the foreignKey property.Gets the value of the formula property.Gets the value of the formulaAttribute 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 onDelete property.Gets the value of the outerJoin property.Gets the value of the propertyRef property.booleanGets the value of the constrained property.Gets the value of the embedXml 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.voidsetConstrained(Boolean value) Sets the value of the constrained 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 lazy property.voidSets the value of the name property.voidSets the value of the node property.voidsetOnDelete(JaxbHbmOnDeleteEnum value) Sets the value of the onDelete property.voidsetOuterJoin(JaxbHbmOuterJoinEnum value) Sets the value of the outerJoin property.voidsetPropertyRef(String value) Sets the value of the propertyRef 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
-
formula
-
access
-
cascade
-
clazz
-
constrained
-
embedXml
-
entityName
-
fetch
-
foreignKey
-
formulaAttribute
-
lazy
-
name
-
node
-
outerJoin
-
propertyRef
-
onDelete
-
-
Constructor Details
-
JaxbHbmOneToOneType
public JaxbHbmOneToOneType()
-
-
Method Details
-
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
setmethod 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
Gets the value of the access property.- 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
-
isConstrained
public boolean isConstrained()Gets the value of the constrained property.- Returns:
- possible object is
Boolean
-
setConstrained
Sets the value of the constrained property.- Parameters:
value- allowed object isBoolean
-
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
-
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.- 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
-
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
-
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
-