类 JaxbHbmMapKeyManyToManyType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMapKeyManyToManyType
-
- 所有已实现的接口:
Serializable
public class JaxbHbmMapKeyManyToManyType extends Object implements Serializable
Describes the key of a java.util.Map where the key is an association (FK)Java class for MapKeyManyToManyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MapKeyManyToManyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence maxOccurs="unbounded" minOccurs="0"> <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula"/> </sequence> <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="formula" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringclazzprotected StringcolumnAttributeprotected List<Serializable>columnOrFormulaprotected StringentityNameprotected StringforeignKeyprotected StringformulaAttribute
-
构造器概要
构造器 构造器 说明 JaxbHbmMapKeyManyToManyType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetClazz()Gets the value of the clazz property.StringgetColumnAttribute()Gets the value of the columnAttribute property.List<Serializable>getColumnOrFormula()Gets the value of the columnOrFormula property.StringgetEntityName()Gets the value of the entityName property.StringgetForeignKey()Gets the value of the foreignKey property.StringgetFormulaAttribute()Gets the value of the formulaAttribute 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.voidsetFormulaAttribute(String value)Sets the value of the formulaAttribute property.
-
-
-
方法详细资料
-
getColumnOrFormula
public List<Serializable> getColumnOrFormula()
Gets the value of the columnOrFormula 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 columnOrFormula property.For example, to add a new item, do as follows:
getColumnOrFormula().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmColumnTypeString
-
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
-
getFormulaAttribute
public String getFormulaAttribute()
Gets the value of the formulaAttribute property.- 返回:
- possible object is
String
-
-