public class JaxbHbmDynamicComponentType extends Object implements Serializable
A dynamic-component maps columns of the database entity to a java.util.Map at the Java level
<p>Java class for dynamic-component-type complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="dynamic-component-type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="unbounded" minOccurs="0"> <group ref="{http://www.hibernate.org/xsd/orm/hbm}SingularAttributeGroup"/> </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> </pre>
Modifier and Type | Field and Description |
---|---|
protected String |
access |
protected List<Serializable> |
attributes |
protected Boolean |
insert |
protected String |
name |
protected String |
node |
protected Boolean |
optimisticLock |
protected Boolean |
unique |
protected Boolean |
update |
Constructor and Description |
---|
JaxbHbmDynamicComponentType() |
Modifier and Type | Method and Description |
---|---|
String |
getAccess()
Gets the value of the access property.
|
List<Serializable> |
getAttributes()
Gets the value of the attributes property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNode()
Gets the value of the node 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(String value)
Sets the value of the access property.
|
void |
setInsert(Boolean value)
Sets the value of the insert property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNode(String value)
Sets the value of the node property.
|
void |
setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.
|
void |
setUnique(Boolean value)
Sets the value of the unique property.
|
void |
setUpdate(Boolean value)
Sets the value of the update property.
|
protected List<Serializable> attributes
protected String access
protected Boolean insert
protected String name
protected String node
protected Boolean optimisticLock
protected Boolean unique
protected Boolean update
public List<Serializable> getAttributes()
Gets the value of the attributes property.
<p> 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 <CODE>set</CODE> method for the attributes property.
<p> For example, to add a new item, do as follows: <pre> getAttributes().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmBasicAttributeType
JaxbHbmManyToOneType
JaxbHbmOneToOneType
JaxbHbmCompositeAttributeType
JaxbHbmDynamicComponentType
JaxbHbmPropertiesType
JaxbHbmAnyAssociationType
JaxbHbmMapType
JaxbHbmSetType
JaxbHbmListType
JaxbHbmBagCollectionType
JaxbHbmArrayType
JaxbHbmPrimitiveArrayType
public String getAccess()
Gets the value of the access property.
String
public void setAccess(String value)
Sets the value of the access property.
value
- allowed object is
String
public boolean isInsert()
Gets the value of the insert property.
Boolean
public void setInsert(Boolean value)
Sets the value of the insert property.
value
- allowed object is
Boolean
public String getName()
Gets the value of the name property.
String
public void setName(String value)
Sets the value of the name property.
value
- allowed object is
String
public String getNode()
Gets the value of the node property.
String
public void setNode(String value)
Sets the value of the node property.
value
- allowed object is
String
public boolean isOptimisticLock()
Gets the value of the optimisticLock property.
Boolean
public void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.
value
- allowed object is
Boolean
public boolean isUnique()
Gets the value of the unique property.
Boolean
public void setUnique(Boolean value)
Sets the value of the unique property.
value
- allowed object is
Boolean
public boolean isUpdate()
Gets the value of the update property.
Boolean
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.