Class JaxbHbmAnyAssociationType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmAnyAssociationType
-
- All Implemented Interfaces:
java.io.Serializable,ToolingHintContainer
public class JaxbHbmAnyAssociationType extends JaxbHbmToolingHintContainer implements java.io.Serializable, ToolingHintContainer
A discriminated association where the discriminator is part of the association, not the associated entity (compared to discriminator subclass)Java class for AnyAssociationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnyAssociationType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="meta-value" type="{http://www.hibernate.org/xsd/orm/hbm}AnyValueMappingType" maxOccurs="unbounded" minOccurs="0"/> <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded"/> </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="id-type" use="required" 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.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="meta-type" type="{http://www.w3.org/2001/XMLSchema}string" /> <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="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringaccessprotected java.lang.Stringcascadeprotected java.util.List<JaxbHbmColumnType>columnprotected java.lang.StringidTypeprotected java.lang.Stringindexprotected java.lang.Booleaninsertprotected java.lang.Booleanlazyprotected java.lang.StringmetaTypeprotected java.util.List<JaxbHbmAnyValueMappingType>metaValueprotected java.lang.Stringnameprotected java.lang.Stringnodeprotected java.lang.BooleanoptimisticLockprotected java.lang.Booleanupdate-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmAnyAssociationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccess()Gets the value of the access property.java.lang.StringgetCascade()Gets the value of the cascade property.java.util.List<JaxbHbmColumnType>getColumn()Gets the value of the column property.java.lang.StringgetIdType()Gets the value of the idType property.java.lang.StringgetIndex()Gets the value of the index property.java.lang.StringgetMetaType()Gets the value of the metaType property.java.util.List<JaxbHbmAnyValueMappingType>getMetaValue()Gets the value of the metaValue property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetNode()Gets the value of the node property.booleanisInsert()Gets the value of the insert property.booleanisLazy()Gets the value of the lazy property.booleanisOptimisticLock()Gets the value of the optimisticLock property.booleanisUpdate()Gets the value of the update property.voidsetAccess(java.lang.String value)Sets the value of the access property.voidsetCascade(java.lang.String value)Sets the value of the cascade property.voidsetIdType(java.lang.String value)Sets the value of the idType property.voidsetIndex(java.lang.String value)Sets the value of the index property.voidsetInsert(java.lang.Boolean value)Sets the value of the insert property.voidsetLazy(java.lang.Boolean value)Sets the value of the lazy property.voidsetMetaType(java.lang.String value)Sets the value of the metaType property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetNode(java.lang.String value)Sets the value of the node property.voidsetOptimisticLock(java.lang.Boolean value)Sets the value of the optimisticLock property.voidsetUpdate(java.lang.Boolean value)Sets the value of the update 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
-
metaValue
protected java.util.List<JaxbHbmAnyValueMappingType> metaValue
-
column
protected java.util.List<JaxbHbmColumnType> column
-
access
protected java.lang.String access
-
cascade
protected java.lang.String cascade
-
idType
protected java.lang.String idType
-
index
protected java.lang.String index
-
insert
protected java.lang.Boolean insert
-
lazy
protected java.lang.Boolean lazy
-
metaType
protected java.lang.String metaType
-
name
protected java.lang.String name
-
node
protected java.lang.String node
-
optimisticLock
protected java.lang.Boolean optimisticLock
-
update
protected java.lang.Boolean update
-
-
Method Detail
-
getMetaValue
public java.util.List<JaxbHbmAnyValueMappingType> getMetaValue()
Gets the value of the metaValue 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 metaValue property.For example, to add a new item, do as follows:
getMetaValue().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmAnyValueMappingType
-
getColumn
public java.util.List<JaxbHbmColumnType> getColumn()
Gets the value of the column 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 column property.For example, to add a new item, do as follows:
getColumn().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
-
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
-
getIdType
public java.lang.String getIdType()
Gets the value of the idType property.- Returns:
- possible object is
String
-
setIdType
public void setIdType(java.lang.String value)
Sets the value of the idType property.- Parameters:
value- allowed object isString
-
getIndex
public java.lang.String getIndex()
Gets the value of the index property.- Returns:
- possible object is
String
-
setIndex
public void setIndex(java.lang.String value)
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
public void setInsert(java.lang.Boolean value)
Sets the value of the insert property.- Parameters:
value- allowed object isBoolean
-
isLazy
public boolean isLazy()
Gets the value of the lazy property.- Returns:
- possible object is
Boolean
-
setLazy
public void setLazy(java.lang.Boolean value)
Sets the value of the lazy property.- Parameters:
value- allowed object isBoolean
-
getMetaType
public java.lang.String getMetaType()
Gets the value of the metaType property.- Returns:
- possible object is
String
-
setMetaType
public void setMetaType(java.lang.String value)
Sets the value of the metaType property.- Parameters:
value- allowed object isString
-
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
-
isOptimisticLock
public boolean isOptimisticLock()
Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
setOptimisticLock
public void setOptimisticLock(java.lang.Boolean value)
Sets the value of the optimisticLock property.- Parameters:
value- allowed object isBoolean
-
isUpdate
public boolean isUpdate()
Gets the value of the update property.- Returns:
- possible object is
Boolean
-
setUpdate
public void setUpdate(java.lang.Boolean value)
Sets the value of the update property.- Parameters:
value- allowed object isBoolean
-
-