类 JaxbHbmCompositeIndexType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeIndexType
-
- 所有已实现的接口:
Serializable
public class JaxbHbmCompositeIndexType extends Object implements Serializable
Describes the key of a java.util.Map which is a composite. Should prefer 'composite-map-key' insteadJava class for composite-index-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="composite-index-type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="unbounded"> <element name="key-property" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeKeyBasicAttributeType"/> <element name="key-many-to-one" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeKeyManyToOneType"/> </choice> </sequence> <attribute name="class" use="required" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" /> </restriction> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected List<JaxbHbmToolingHintContainer>attributesprotected Stringclazz
-
构造器概要
构造器 构造器 说明 JaxbHbmCompositeIndexType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<JaxbHbmToolingHintContainer>getAttributes()Gets the value of the attributes property.StringgetClazz()Gets the value of the clazz property.voidsetClazz(String value)Sets the value of the clazz property.
-
-
-
字段详细资料
-
attributes
protected List<JaxbHbmToolingHintContainer> attributes
-
clazz
protected String clazz
-
-
方法详细资料
-
getAttributes
public List<JaxbHbmToolingHintContainer> getAttributes()
Gets the value of the attributes 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 attributes property.For example, to add a new item, do as follows:
getAttributes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmCompositeKeyBasicAttributeTypeJaxbHbmCompositeKeyManyToOneType
-
getClazz
public String getClazz()
Gets the value of the clazz property.- 返回:
- possible object is
String
-
-