public class JaxbHbmPropertiesType extends Object implements Serializable
Java class for properties-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="properties-type"> <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/orm/hbm}BasicAttributeType"/> <element name="many-to-one" type="{http://www.hibernate.org/xsd/orm/hbm}ManyToOneType"/> <element name="component" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeAttributeType"/> <element name="dynamic-component" type="{http://www.hibernate.org/xsd/orm/hbm}dynamic-component-type"/> </choice> </sequence> <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 List<Serializable> |
attributes |
protected Boolean |
insert |
protected String |
name |
protected String |
node |
protected Boolean |
optimisticLock |
protected Boolean |
unique |
protected Boolean |
update |
Constructor and Description |
---|
JaxbHbmPropertiesType() |
Modifier and Type | Method and Description |
---|---|
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 |
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 Boolean insert
protected String name
protected String node
protected Boolean optimisticLock
protected Boolean unique
protected Boolean update
public List<Serializable> getAttributes()
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 attributes property.
For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmBasicAttributeType
JaxbHbmManyToOneType
JaxbHbmCompositeAttributeType
JaxbHbmDynamicComponentType
public boolean isInsert()
Boolean
public void setInsert(Boolean value)
value
- allowed object is
Boolean
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getNode()
String
public void setNode(String value)
value
- allowed object is
String
public boolean isOptimisticLock()
Boolean
public void setOptimisticLock(Boolean value)
value
- allowed object is
Boolean
public boolean isUnique()
Boolean
public void setUnique(Boolean value)
value
- allowed object is
Boolean
public boolean isUpdate()
Boolean
Copyright © 2017 JBoss by Red Hat. All rights reserved.