类 JaxbHbmCompositeKeyManyToOneType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeKeyManyToOneType
-
public class JaxbHbmCompositeKeyManyToOneType extends JaxbHbmToolingHintContainer implements Serializable, SingularAttributeInfo
A many-to-one association embedded in a composite identifier or map index (always not-null, never cascade).Java class for CompositeKeyManyToOneType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CompositeKeyManyToOneType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="class" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" /> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="lazy" type="{http://www.hibernate.org/xsd/orm/hbm}LazyEnum" /> <attribute name="name" use="required" 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>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringaccessprotected Stringclazzprotected List<JaxbHbmColumnType>columnprotected StringcolumnAttributeprotected StringentityNameprotected StringforeignKeyprotected JaxbHbmLazyEnumlazyprotected Stringnameprotected JaxbHbmOnDeleteEnumonDelete-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
构造器概要
构造器 构造器 说明 JaxbHbmCompositeKeyManyToOneType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAccess()Gets the value of the access property.StringgetClazz()Gets the value of the clazz property.List<JaxbHbmColumnType>getColumn()Gets the value of the column property.StringgetColumnAttribute()Gets the value of the columnAttribute property.StringgetEntityName()Gets the value of the entityName property.StringgetForeignKey()Gets the value of the foreignKey property.JaxbHbmLazyEnumgetLazy()Gets the value of the lazy property.StringgetName()Gets the value of the name property.JaxbHbmOnDeleteEnumgetOnDelete()Gets the value of the onDelete property.voidsetAccess(String value)Sets the value of the access property.voidsetClazz(String value)Sets the value of the clazz property.voidsetColumnAttribute(String value)Sets the value of the columnAttribute property.voidsetEntityName(String value)Sets the value of the entityName property.voidsetForeignKey(String value)Sets the value of the foreignKey property.voidsetLazy(JaxbHbmLazyEnum value)Sets the value of the lazy property.voidsetName(String value)Sets the value of the name property.voidsetOnDelete(JaxbHbmOnDeleteEnum value)Sets the value of the onDelete 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
-
-
-
-
字段详细资料
-
column
protected List<JaxbHbmColumnType> column
-
access
protected String access
-
clazz
protected String clazz
-
columnAttribute
protected String columnAttribute
-
entityName
protected String entityName
-
foreignKey
protected String foreignKey
-
lazy
protected JaxbHbmLazyEnum lazy
-
name
protected String name
-
onDelete
protected JaxbHbmOnDeleteEnum onDelete
-
-
方法详细资料
-
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.- 指定者:
getAccess在接口中AttributeMapping- 返回:
- possible object is
String
-
setAccess
public void setAccess(String value)
Sets the value of the access property.- 参数:
value- allowed object isString
-
getClazz
public String getClazz()
Gets the value of the clazz property.- 返回:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz property.- 参数:
value- allowed object isString
-
getColumnAttribute
public String getColumnAttribute()
Gets the value of the columnAttribute property.- 返回:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(String value)
Sets the value of the columnAttribute property.- 参数:
value- allowed object isString
-
getEntityName
public String getEntityName()
Gets the value of the entityName property.- 返回:
- possible object is
String
-
setEntityName
public void setEntityName(String value)
Sets the value of the entityName property.- 参数:
value- allowed object isString
-
getForeignKey
public String getForeignKey()
Gets the value of the foreignKey property.- 返回:
- possible object is
String
-
setForeignKey
public void setForeignKey(String value)
Sets the value of the foreignKey property.- 参数:
value- allowed object isString
-
getLazy
public JaxbHbmLazyEnum getLazy()
Gets the value of the lazy property.- 返回:
- possible object is
JaxbHbmLazyEnum
-
setLazy
public void setLazy(JaxbHbmLazyEnum value)
Sets the value of the lazy property.- 参数:
value- allowed object isJaxbHbmLazyEnum
-
getName
public String getName()
Gets the value of the name property.- 指定者:
getName在接口中AttributeMapping- 返回:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- 参数:
value- allowed object isString
-
getOnDelete
public JaxbHbmOnDeleteEnum getOnDelete()
Gets the value of the onDelete property.- 返回:
- possible object is
JaxbHbmOnDeleteEnum
-
setOnDelete
public void setOnDelete(JaxbHbmOnDeleteEnum value)
Sets the value of the onDelete property.- 参数:
value- allowed object isJaxbHbmOnDeleteEnum
-
-