public class JaxbPropertyElement extends java.lang.Object implements SingularAttributeSource
Java class for property-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="property-element"> <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" minOccurs="0"> <element name="column" type="{http://www.hibernate.org/xsd/hibernate-mapping}column-element"/> <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <element name="type" type="{http://www.hibernate.org/xsd/hibernate-mapping}type-element" minOccurs="0"/> </sequence> <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="generated" default="never"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="always"/> <enumeration value="insert"/> <enumeration value="never"/> </restriction> </simpleType> </attribute> <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}string" /> <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="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="unique-key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
access |
protected java.lang.String |
column |
protected java.util.List<java.lang.Object> |
columnOrFormula |
protected java.lang.String |
formula |
protected java.lang.String |
generated |
protected java.lang.String |
index |
protected java.lang.Boolean |
insert |
protected java.lang.Boolean |
lazy |
protected java.lang.String |
length |
protected java.util.List<JaxbMetaElement> |
meta |
protected java.lang.String |
name |
protected java.lang.String |
node |
protected java.lang.Boolean |
notNull |
protected java.lang.Boolean |
optimisticLock |
protected java.lang.String |
precision |
protected java.lang.String |
scale |
protected JaxbTypeElement |
type |
protected java.lang.String |
typeAttribute |
protected java.lang.Boolean |
unique |
protected java.lang.String |
uniqueKey |
protected java.lang.Boolean |
update |
Constructor and Description |
---|
JaxbPropertyElement() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccess()
Gets the value of the access property.
|
java.lang.String |
getColumn()
Gets the value of the column property.
|
java.util.List<java.lang.Object> |
getColumnOrFormula()
Gets the value of the columnOrFormula property.
|
java.lang.String |
getFormula()
Gets the value of the formula property.
|
java.lang.String |
getGenerated()
Gets the value of the generated property.
|
java.lang.String |
getIndex()
Gets the value of the index property.
|
java.lang.String |
getLength()
Gets the value of the length property.
|
java.util.List<JaxbMetaElement> |
getMeta()
Gets the value of the meta property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.lang.String |
getNode()
Gets the value of the node property.
|
java.lang.String |
getPrecision()
Gets the value of the precision property.
|
java.lang.String |
getScale()
Gets the value of the scale property.
|
JaxbTypeElement |
getType()
Gets the value of the type property.
|
java.lang.String |
getTypeAttribute()
Gets the value of the typeAttribute property.
|
java.lang.String |
getUniqueKey()
Gets the value of the uniqueKey property.
|
java.lang.Boolean |
isInsert()
Gets the value of the insert property.
|
boolean |
isLazy()
Gets the value of the lazy property.
|
java.lang.Boolean |
isNotNull()
Gets the value of the notNull property.
|
boolean |
isOptimisticLock()
Gets the value of the optimisticLock property.
|
boolean |
isUnique()
Gets the value of the unique property.
|
java.lang.Boolean |
isUpdate()
Gets the value of the update property.
|
void |
setAccess(java.lang.String value)
Sets the value of the access property.
|
void |
setColumn(java.lang.String value)
Sets the value of the column property.
|
void |
setFormula(java.lang.String value)
Sets the value of the formula property.
|
void |
setGenerated(java.lang.String value)
Sets the value of the generated property.
|
void |
setIndex(java.lang.String value)
Sets the value of the index property.
|
void |
setInsert(java.lang.Boolean value)
Sets the value of the insert property.
|
void |
setLazy(java.lang.Boolean value)
Sets the value of the lazy property.
|
void |
setLength(java.lang.String value)
Sets the value of the length 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 |
setNotNull(java.lang.Boolean value)
Sets the value of the notNull property.
|
void |
setOptimisticLock(java.lang.Boolean value)
Sets the value of the optimisticLock property.
|
void |
setPrecision(java.lang.String value)
Sets the value of the precision property.
|
void |
setScale(java.lang.String value)
Sets the value of the scale property.
|
void |
setType(JaxbTypeElement value)
Sets the value of the type property.
|
void |
setTypeAttribute(java.lang.String value)
Sets the value of the typeAttribute property.
|
void |
setUnique(java.lang.Boolean value)
Sets the value of the unique property.
|
void |
setUniqueKey(java.lang.String value)
Sets the value of the uniqueKey property.
|
void |
setUpdate(java.lang.Boolean value)
Sets the value of the update property.
|
protected java.util.List<JaxbMetaElement> meta
protected java.util.List<java.lang.Object> columnOrFormula
protected JaxbTypeElement type
protected java.lang.String access
protected java.lang.String column
protected java.lang.String formula
protected java.lang.String generated
protected java.lang.String index
protected java.lang.Boolean insert
protected java.lang.Boolean lazy
protected java.lang.String length
protected java.lang.String name
protected java.lang.String node
protected java.lang.Boolean notNull
protected java.lang.Boolean optimisticLock
protected java.lang.String precision
protected java.lang.String scale
protected java.lang.String typeAttribute
protected java.lang.Boolean unique
protected java.lang.String uniqueKey
protected java.lang.Boolean update
public java.util.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
getMeta
in interface MetaAttributeContainer
public java.util.List<java.lang.Object> getColumnOrFormula()
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 columnOrFormula property.
For example, to add a new item, do as follows:
getColumnOrFormula().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbColumnElement
String
public JaxbTypeElement getType()
getType
in interface SingularAttributeSource
JaxbTypeElement
public void setType(JaxbTypeElement value)
value
- allowed object is
JaxbTypeElement
public java.lang.String getAccess()
getAccess
in interface SingularAttributeSource
String
public void setAccess(java.lang.String value)
value
- allowed object is
String
public java.lang.String getColumn()
String
public void setColumn(java.lang.String value)
value
- allowed object is
String
public java.lang.String getFormula()
String
public void setFormula(java.lang.String value)
value
- allowed object is
String
public java.lang.String getGenerated()
String
public void setGenerated(java.lang.String value)
value
- allowed object is
String
public java.lang.String getIndex()
String
public void setIndex(java.lang.String value)
value
- allowed object is
String
public java.lang.Boolean isInsert()
Boolean
public void setInsert(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isLazy()
Boolean
public void setLazy(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String getLength()
String
public void setLength(java.lang.String value)
value
- allowed object is
String
public java.lang.String getName()
getName
in interface SingularAttributeSource
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getNode()
String
public void setNode(java.lang.String value)
value
- allowed object is
String
public java.lang.Boolean isNotNull()
Boolean
public void setNotNull(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isOptimisticLock()
Boolean
public void setOptimisticLock(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String getPrecision()
String
public void setPrecision(java.lang.String value)
value
- allowed object is
String
public java.lang.String getScale()
String
public void setScale(java.lang.String value)
value
- allowed object is
String
public java.lang.String getTypeAttribute()
getTypeAttribute
in interface SingularAttributeSource
String
public void setTypeAttribute(java.lang.String value)
value
- allowed object is
String
public boolean isUnique()
Boolean
public void setUnique(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String getUniqueKey()
String
public void setUniqueKey(java.lang.String value)
value
- allowed object is
String
public java.lang.Boolean isUpdate()
Boolean
public void setUpdate(java.lang.Boolean value)
value
- allowed object is
Boolean
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.