public class JaxbDynamicComponentElement
extends java.lang.Object
Java class for dynamic-component-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="dynamic-component-element">
<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="one-to-one" type="{http://www.hibernate.org/xsd/hibernate-mapping}one-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"/>
<element name="map" type="{http://www.hibernate.org/xsd/hibernate-mapping}map-element"/>
<element name="set" type="{http://www.hibernate.org/xsd/hibernate-mapping}set-element"/>
<element name="list" type="{http://www.hibernate.org/xsd/hibernate-mapping}list-element"/>
<element name="bag" type="{http://www.hibernate.org/xsd/hibernate-mapping}bag-element"/>
<element name="array" type="{http://www.hibernate.org/xsd/hibernate-mapping}array-element"/>
<element name="primitive-array" type="{http://www.hibernate.org/xsd/hibernate-mapping}primitive-array-element"/>
</choice>
</sequence>
<attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
access |
protected java.lang.Boolean |
insert |
protected java.lang.String |
name |
protected java.lang.String |
node |
protected java.lang.Boolean |
optimisticLock |
protected java.util.List<java.lang.Object> |
propertyOrManyToOneOrOneToOne |
protected java.lang.Boolean |
unique |
protected java.lang.Boolean |
update |
| Constructor and Description |
|---|
JaxbDynamicComponentElement() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccess()
Gets the value of the access property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.lang.String |
getNode()
Gets the value of the node property.
|
java.util.List<java.lang.Object> |
getPropertyOrManyToOneOrOneToOne()
Gets the value of the propertyOrManyToOneOrOneToOne property.
|
boolean |
isInsert()
Gets the value of the insert property.
|
boolean |
isOptimisticLock()
Gets the value of the optimisticLock property.
|
boolean |
isUnique()
Gets the value of the unique property.
|
boolean |
isUpdate()
Gets the value of the update property.
|
void |
setAccess(java.lang.String value)
Sets the value of the access property.
|
void |
setInsert(java.lang.Boolean value)
Sets the value of the insert property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setNode(java.lang.String value)
Sets the value of the node property.
|
void |
setOptimisticLock(java.lang.Boolean value)
Sets the value of the optimisticLock property.
|
void |
setUnique(java.lang.Boolean value)
Sets the value of the unique property.
|
void |
setUpdate(java.lang.Boolean value)
Sets the value of the update property.
|
protected java.util.List<java.lang.Object> propertyOrManyToOneOrOneToOne
protected java.lang.String access
protected java.lang.Boolean insert
protected java.lang.String name
protected java.lang.String node
protected java.lang.Boolean optimisticLock
protected java.lang.Boolean unique
protected java.lang.Boolean update
public java.util.List<java.lang.Object> getPropertyOrManyToOneOrOneToOne()
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 propertyOrManyToOneOrOneToOne property.
For example, to add a new item, do as follows:
getPropertyOrManyToOneOrOneToOne().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbPropertyElement
JaxbManyToOneElement
JaxbOneToOneElement
JaxbComponentElement
JaxbDynamicComponentElement
JaxbAnyElement
JaxbMapElement
JaxbSetElement
JaxbListElement
JaxbBagElement
JaxbArrayElement
JaxbPrimitiveArrayElement
public java.lang.String getAccess()
Stringpublic void setAccess(java.lang.String value)
value - allowed object is
Stringpublic boolean isInsert()
Booleanpublic void setInsert(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getNode()
Stringpublic void setNode(java.lang.String value)
value - allowed object is
Stringpublic boolean isOptimisticLock()
Booleanpublic void setOptimisticLock(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isUnique()
Booleanpublic void setUnique(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isUpdate()
Booleanpublic void setUpdate(java.lang.Boolean value)
value - allowed object is
BooleanCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.