类 JaxbHbmKeyType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmKeyType
-
- 所有已实现的接口:
Serializable
public class JaxbHbmKeyType extends Object implements Serializable
Declares the column name of a foreign key.Java class for key-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="key-type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="on-delete" type="{http://www.hibernate.org/xsd/orm/hbm}OnDeleteEnum" default="noaction" /> <attribute name="property-ref" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected List<JaxbHbmColumnType>columnprotected StringcolumnAttributeprotected StringforeignKeyprotected BooleannotNullprotected JaxbHbmOnDeleteEnumonDeleteprotected StringpropertyRefprotected Booleanuniqueprotected Booleanupdate
-
构造器概要
构造器 构造器 说明 JaxbHbmKeyType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<JaxbHbmColumnType>getColumn()Gets the value of the column property.StringgetColumnAttribute()Gets the value of the columnAttribute property.StringgetForeignKey()Gets the value of the foreignKey property.JaxbHbmOnDeleteEnumgetOnDelete()Gets the value of the onDelete property.StringgetPropertyRef()Gets the value of the propertyRef property.BooleanisNotNull()Gets the value of the notNull property.BooleanisUnique()Gets the value of the unique property.BooleanisUpdate()Gets the value of the update property.voidsetColumnAttribute(String value)Sets the value of the columnAttribute property.voidsetForeignKey(String value)Sets the value of the foreignKey property.voidsetNotNull(Boolean value)Sets the value of the notNull property.voidsetOnDelete(JaxbHbmOnDeleteEnum value)Sets the value of the onDelete property.voidsetPropertyRef(String value)Sets the value of the propertyRef property.voidsetUnique(Boolean value)Sets the value of the unique property.voidsetUpdate(Boolean value)Sets the value of the update property.
-
-
-
字段详细资料
-
column
protected List<JaxbHbmColumnType> column
-
columnAttribute
protected String columnAttribute
-
foreignKey
protected String foreignKey
-
notNull
protected Boolean notNull
-
onDelete
protected JaxbHbmOnDeleteEnum onDelete
-
propertyRef
protected String propertyRef
-
unique
protected Boolean unique
-
update
protected Boolean update
-
-
方法详细资料
-
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
-
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
-
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
-
isNotNull
public Boolean isNotNull()
Gets the value of the notNull property.- 返回:
- possible object is
Boolean
-
setNotNull
public void setNotNull(Boolean value)
Sets the value of the notNull property.- 参数:
value- allowed object isBoolean
-
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
-
getPropertyRef
public String getPropertyRef()
Gets the value of the propertyRef property.- 返回:
- possible object is
String
-
setPropertyRef
public void setPropertyRef(String value)
Sets the value of the propertyRef property.- 参数:
value- allowed object isString
-
isUnique
public Boolean isUnique()
Gets the value of the unique property.- 返回:
- possible object is
Boolean
-
setUnique
public void setUnique(Boolean value)
Sets the value of the unique property.- 参数:
value- allowed object isBoolean
-
isUpdate
public Boolean isUpdate()
Gets the value of the update property.- 返回:
- possible object is
Boolean
-
-