public static class JaxbHibernateMapping.JaxbClass.JaxbNaturalId 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" minOccurs="0"> <element name="property" type="{http://www.hibernate.org/xsd/hibernate-mapping}property-element"/> <element name="many-to-one" type="{http://www.hibernate.org/xsd/hibernate-mapping}many-to-one-element"/> <element name="component" type="{http://www.hibernate.org/xsd/hibernate-mapping}component-element"/> <element name="dynamic-component" type="{http://www.hibernate.org/xsd/hibernate-mapping}dynamic-component-element"/> <element name="any" type="{http://www.hibernate.org/xsd/hibernate-mapping}any-element"/> </choice> </sequence> <attribute name="mutable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
mutable |
protected List<Object> |
propertyOrManyToOneOrComponent |
Constructor and Description |
---|
JaxbHibernateMapping.JaxbClass.JaxbNaturalId() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getPropertyOrManyToOneOrComponent()
Gets the value of the propertyOrManyToOneOrComponent property.
|
boolean |
isMutable()
Gets the value of the mutable property.
|
void |
setMutable(Boolean value)
Sets the value of the mutable property.
|
protected Boolean mutable
public JaxbHibernateMapping.JaxbClass.JaxbNaturalId()
public List<Object> getPropertyOrManyToOneOrComponent()
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 propertyOrManyToOneOrComponent property.
For example, to add a new item, do as follows:
getPropertyOrManyToOneOrComponent().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbDynamicComponentElement
JaxbComponentElement
JaxbAnyElement
JaxbPropertyElement
JaxbManyToOneElement
public boolean isMutable()
Boolean
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.