public static class JaxbHibernateMapping.JaxbClass.JaxbCompositeId 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>
<element name="meta" type="{http://www.hibernate.org/xsd/hibernate-mapping}meta-element" maxOccurs="unbounded" minOccurs="0"/>
<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>
<element name="generator" type="{http://www.hibernate.org/xsd/hibernate-mapping}generator-element" minOccurs="0"/>
</sequence>
<attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mapped" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="unsaved-value" default="undefined">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="any"/>
<enumeration value="none"/>
<enumeration value="undefined"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
access |
protected String |
clazz |
protected JaxbGeneratorElement |
generator |
protected List<Object> |
keyPropertyOrKeyManyToOne |
protected Boolean |
mapped |
protected List<JaxbMetaElement> |
meta |
protected String |
name |
protected String |
node |
protected String |
unsavedValue |
| Constructor and Description |
|---|
JaxbHibernateMapping.JaxbClass.JaxbCompositeId() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccess()
Gets the value of the access property.
|
String |
getClazz()
Gets the value of the clazz property.
|
JaxbGeneratorElement |
getGenerator()
Gets the value of the generator property.
|
List<Object> |
getKeyPropertyOrKeyManyToOne()
Gets the value of the keyPropertyOrKeyManyToOne property.
|
List<JaxbMetaElement> |
getMeta()
Gets the value of the meta property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNode()
Gets the value of the node property.
|
String |
getUnsavedValue()
Gets the value of the unsavedValue property.
|
boolean |
isMapped()
Gets the value of the mapped property.
|
void |
setAccess(String value)
Sets the value of the access property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setGenerator(JaxbGeneratorElement value)
Sets the value of the generator property.
|
void |
setMapped(Boolean value)
Sets the value of the mapped property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNode(String value)
Sets the value of the node property.
|
void |
setUnsavedValue(String value)
Sets the value of the unsavedValue property.
|
protected List<JaxbMetaElement> meta
protected JaxbGeneratorElement generator
protected String access
protected String clazz
protected Boolean mapped
protected String name
protected String node
protected String unsavedValue
public JaxbHibernateMapping.JaxbClass.JaxbCompositeId()
public List<JaxbMetaElement> getMeta()
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 meta property.
For example, to add a new item, do as follows:
getMeta().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbMetaElement
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
JaxbKeyPropertyElement
JaxbKeyManyToOneElement
public JaxbGeneratorElement getGenerator()
JaxbGeneratorElementpublic void setGenerator(JaxbGeneratorElement value)
value - allowed object is
JaxbGeneratorElementpublic String getAccess()
Stringpublic void setAccess(String value)
value - allowed object is
Stringpublic String getClazz()
Stringpublic void setClazz(String value)
value - allowed object is
Stringpublic boolean isMapped()
Booleanpublic void setMapped(Boolean value)
value - allowed object is
Booleanpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getNode()
Stringpublic void setNode(String value)
value - allowed object is
Stringpublic String getUnsavedValue()
StringCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.