类 JaxbHbmCompositeCollectionElementType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeCollectionElementType
-
- 所有已实现的接口:
Serializable,ToolingHintContainer
public class JaxbHbmCompositeCollectionElementType extends JaxbHbmToolingHintContainer implements Serializable
A composite element allows a collection to hold instances of an arbitrary class, without the requirement of joining to an entity table. Composite elements have component semantics - no shared references and ad hoc null value semantics. Composite elements may not hold nested collections.Java class for CompositeCollectionElementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CompositeCollectionElementType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="parent" type="{http://www.hibernate.org/xsd/orm/hbm}parent-type" minOccurs="0"/> <element name="tuplizer" type="{http://www.hibernate.org/xsd/orm/hbm}tuplizer-type" maxOccurs="unbounded" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <element name="property" type="{http://www.hibernate.org/xsd/orm/hbm}BasicAttributeType"/> <element name="many-to-one" type="{http://www.hibernate.org/xsd/orm/hbm}ManyToOneType"/> <element name="any" type="{http://www.hibernate.org/xsd/orm/hbm}AnyAssociationType"/> <element name="nested-composite-element" type="{http://www.hibernate.org/xsd/orm/hbm}nested-composite-element-type"/> </choice> </sequence> <attribute name="class" use="required" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" /> <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected List<Serializable>attributesprotected Stringclazzprotected Stringnodeprotected JaxbHbmParentTypeparentprotected List<JaxbHbmTuplizerType>tuplizer-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
构造器概要
构造器 构造器 说明 JaxbHbmCompositeCollectionElementType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Serializable>getAttributes()Gets the value of the attributes property.StringgetClazz()Gets the value of the clazz property.StringgetNode()Gets the value of the node property.JaxbHbmParentTypegetParent()Gets the value of the parent property.List<JaxbHbmTuplizerType>getTuplizer()Gets the value of the tuplizer property.voidsetClazz(String value)Sets the value of the clazz property.voidsetNode(String value)Sets the value of the node property.voidsetParent(JaxbHbmParentType value)Sets the value of the parent property.-
从类继承的方法 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
-
-
-
字段详细资料
-
parent
protected JaxbHbmParentType parent
-
tuplizer
protected List<JaxbHbmTuplizerType> tuplizer
-
attributes
protected List<Serializable> attributes
-
clazz
protected String clazz
-
node
protected String node
-
-
方法详细资料
-
getParent
public JaxbHbmParentType getParent()
Gets the value of the parent property.- 返回:
- possible object is
JaxbHbmParentType
-
setParent
public void setParent(JaxbHbmParentType value)
Sets the value of the parent property.- 参数:
value- allowed object isJaxbHbmParentType
-
getTuplizer
public List<JaxbHbmTuplizerType> getTuplizer()
Gets the value of the tuplizer 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 tuplizer property.For example, to add a new item, do as follows:
getTuplizer().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmTuplizerType
-
getAttributes
public List<Serializable> 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
JaxbHbmBasicAttributeTypeJaxbHbmManyToOneTypeJaxbHbmAnyAssociationTypeJaxbHbmNestedCompositeElementType
-
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
-
-