类 JaxbHbmAnyAssociationType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmAnyAssociationType
-
- 所有已实现的接口:
Serializable,ToolingHintContainer
public class JaxbHbmAnyAssociationType extends JaxbHbmToolingHintContainer implements 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>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringaccessprotected Stringcascadeprotected List<JaxbHbmColumnType>columnprotected StringidTypeprotected Stringindexprotected Booleaninsertprotected Booleanlazyprotected StringmetaTypeprotected List<JaxbHbmAnyValueMappingType>metaValueprotected Stringnameprotected Stringnodeprotected BooleanoptimisticLockprotected Booleanupdate-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
构造器概要
构造器 构造器 说明 JaxbHbmAnyAssociationType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAccess()Gets the value of the access property.StringgetCascade()Gets the value of the cascade property.List<JaxbHbmColumnType>getColumn()Gets the value of the column property.StringgetIdType()Gets the value of the idType property.StringgetIndex()Gets the value of the index property.StringgetMetaType()Gets the value of the metaType property.List<JaxbHbmAnyValueMappingType>getMetaValue()Gets the value of the metaValue property.StringgetName()Gets the value of the name property.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(String value)Sets the value of the access property.voidsetCascade(String value)Sets the value of the cascade property.voidsetIdType(String value)Sets the value of the idType property.voidsetIndex(String value)Sets the value of the index property.voidsetInsert(Boolean value)Sets the value of the insert property.voidsetLazy(Boolean value)Sets the value of the lazy property.voidsetMetaType(String value)Sets the value of the metaType property.voidsetName(String value)Sets the value of the name property.voidsetNode(String value)Sets the value of the node property.voidsetOptimisticLock(Boolean value)Sets the value of the optimisticLock property.voidsetUpdate(Boolean value)Sets the value of the update property.-
从类继承的方法 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer
getToolingHints
-
-
-
-
字段详细资料
-
metaValue
protected List<JaxbHbmAnyValueMappingType> metaValue
-
column
protected List<JaxbHbmColumnType> column
-
access
protected String access
-
cascade
protected String cascade
-
idType
protected String idType
-
index
protected String index
-
insert
protected Boolean insert
-
lazy
protected Boolean lazy
-
metaType
protected String metaType
-
name
protected String name
-
node
protected String node
-
optimisticLock
protected Boolean optimisticLock
-
update
protected Boolean update
-
-
方法详细资料
-
getMetaValue
public 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 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 String getAccess()
Gets the value of the access property.- 返回:
- possible object is
String
-
setAccess
public void setAccess(String value)
Sets the value of the access property.- 参数:
value- allowed object isString
-
getCascade
public String getCascade()
Gets the value of the cascade property.- 返回:
- possible object is
String
-
setCascade
public void setCascade(String value)
Sets the value of the cascade property.- 参数:
value- allowed object isString
-
getIdType
public String getIdType()
Gets the value of the idType property.- 返回:
- possible object is
String
-
setIdType
public void setIdType(String value)
Sets the value of the idType property.- 参数:
value- allowed object isString
-
getIndex
public String getIndex()
Gets the value of the index property.- 返回:
- possible object is
String
-
setIndex
public void setIndex(String value)
Sets the value of the index property.- 参数:
value- allowed object isString
-
isInsert
public boolean isInsert()
Gets the value of the insert property.- 返回:
- possible object is
Boolean
-
setInsert
public void setInsert(Boolean value)
Sets the value of the insert property.- 参数:
value- allowed object isBoolean
-
isLazy
public boolean isLazy()
Gets the value of the lazy property.- 返回:
- possible object is
Boolean
-
setLazy
public void setLazy(Boolean value)
Sets the value of the lazy property.- 参数:
value- allowed object isBoolean
-
getMetaType
public String getMetaType()
Gets the value of the metaType property.- 返回:
- possible object is
String
-
setMetaType
public void setMetaType(String value)
Sets the value of the metaType property.- 参数:
value- allowed object isString
-
setName
public void setName(String value)
Sets the value of the name property.- 参数:
value- allowed object isString
-
setNode
public void setNode(String value)
Sets the value of the node property.- 参数:
value- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()
Gets the value of the optimisticLock property.- 返回:
- possible object is
Boolean
-
setOptimisticLock
public void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.- 参数:
value- allowed object isBoolean
-
isUpdate
public boolean isUpdate()
Gets the value of the update property.- 返回:
- possible object is
Boolean
-
-