public static class JaxbMapElement.JaxbCompositeMapKey extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="unbounded"> <element name="key-property" type="{http://www.hibernate.org/xsd/hibernate-mapping}key-property-element"/> <element name="key-many-to-one" type="{http://www.hibernate.org/xsd/hibernate-mapping}key-many-to-one-element"/> </choice> </sequence> <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
clazz |
protected List<Object> |
keyPropertyOrKeyManyToOne |
Constructor and Description |
---|
JaxbMapElement.JaxbCompositeMapKey() |
protected String clazz
public List<Object> getKeyPropertyOrKeyManyToOne()
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 set
method for the keyPropertyOrKeyManyToOne property.
For example, to add a new item, do as follows:
getKeyPropertyOrKeyManyToOne().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbKeyManyToOneElement
JaxbKeyPropertyElement
public String getClazz()
String
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.