|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.internal.jaxb.mapping.hbm.JaxbPropertyElement
public class JaxbPropertyElement
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>
| Field Summary | |
|---|---|
protected String |
access
|
protected String |
column
|
protected List<Object> |
columnOrFormula
|
protected String |
formula
|
protected String |
generated
|
protected String |
index
|
protected Boolean |
insert
|
protected Boolean |
lazy
|
protected String |
length
|
protected List<JaxbMetaElement> |
meta
|
protected String |
name
|
protected String |
node
|
protected Boolean |
notNull
|
protected Boolean |
optimisticLock
|
protected String |
precision
|
protected String |
scale
|
protected JaxbTypeElement |
type
|
protected String |
typeAttribute
|
protected Boolean |
unique
|
protected String |
uniqueKey
|
protected Boolean |
update
|
| Constructor Summary | |
|---|---|
JaxbPropertyElement()
|
|
| Method Summary | |
|---|---|
String |
getAccess()
Gets the value of the access property. |
String |
getColumn()
Gets the value of the column property. |
List<Object> |
getColumnOrFormula()
Gets the value of the columnOrFormula property. |
String |
getFormula()
Gets the value of the formula property. |
String |
getGenerated()
Gets the value of the generated property. |
String |
getIndex()
Gets the value of the index property. |
String |
getLength()
Gets the value of the length property. |
List<JaxbMetaElement> |
getMeta()
Gets the value of the meta property. |
String |
getName()
Gets the value of the name property. |
String |
getNode()
Gets the value of the node property. |
String |
getPrecision()
Gets the value of the precision property. |
String |
getScale()
Gets the value of the scale property. |
JaxbTypeElement |
getType()
Gets the value of the type property. |
String |
getTypeAttribute()
Gets the value of the typeAttribute property. |
String |
getUniqueKey()
Gets the value of the uniqueKey property. |
Boolean |
isInsert()
Gets the value of the insert property. |
boolean |
isLazy()
Gets the value of the lazy property. |
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. |
Boolean |
isUpdate()
Gets the value of the update property. |
void |
setAccess(String value)
Sets the value of the access property. |
void |
setColumn(String value)
Sets the value of the column property. |
void |
setFormula(String value)
Sets the value of the formula property. |
void |
setGenerated(String value)
Sets the value of the generated property. |
void |
setIndex(String value)
Sets the value of the index property. |
void |
setInsert(Boolean value)
Sets the value of the insert property. |
void |
setLazy(Boolean value)
Sets the value of the lazy property. |
void |
setLength(String value)
Sets the value of the length property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setNode(String value)
Sets the value of the node property. |
void |
setNotNull(Boolean value)
Sets the value of the notNull property. |
void |
setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property. |
void |
setPrecision(String value)
Sets the value of the precision property. |
void |
setScale(String value)
Sets the value of the scale property. |
void |
setType(JaxbTypeElement value)
Sets the value of the type property. |
void |
setTypeAttribute(String value)
Sets the value of the typeAttribute property. |
void |
setUnique(Boolean value)
Sets the value of the unique property. |
void |
setUniqueKey(String value)
Sets the value of the uniqueKey property. |
void |
setUpdate(Boolean value)
Sets the value of the update property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<JaxbMetaElement> meta
protected List<Object> columnOrFormula
protected JaxbTypeElement type
protected String access
protected String column
protected String formula
protected String generated
protected String index
protected Boolean insert
protected Boolean lazy
protected String length
protected String name
protected String node
protected Boolean notNull
protected Boolean optimisticLock
protected String precision
protected String scale
protected String typeAttribute
protected Boolean unique
protected String uniqueKey
protected Boolean update
| Constructor Detail |
|---|
public JaxbPropertyElement()
| Method Detail |
|---|
public 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 MetaAttributeContainerpublic List<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 SingularAttributeSourceJaxbTypeElementpublic void setType(JaxbTypeElement value)
value - allowed object is
JaxbTypeElementpublic String getAccess()
getAccess in interface SingularAttributeSourceStringpublic void setAccess(String value)
value - allowed object is
Stringpublic String getColumn()
Stringpublic void setColumn(String value)
value - allowed object is
Stringpublic String getFormula()
Stringpublic void setFormula(String value)
value - allowed object is
Stringpublic String getGenerated()
Stringpublic void setGenerated(String value)
value - allowed object is
Stringpublic String getIndex()
Stringpublic void setIndex(String value)
value - allowed object is
Stringpublic Boolean isInsert()
Booleanpublic void setInsert(Boolean value)
value - allowed object is
Booleanpublic boolean isLazy()
Booleanpublic void setLazy(Boolean value)
value - allowed object is
Booleanpublic String getLength()
Stringpublic void setLength(String value)
value - allowed object is
Stringpublic String getName()
getName in interface SingularAttributeSourceStringpublic void setName(String value)
value - allowed object is
Stringpublic String getNode()
Stringpublic void setNode(String value)
value - allowed object is
Stringpublic Boolean isNotNull()
Booleanpublic void setNotNull(Boolean value)
value - allowed object is
Booleanpublic boolean isOptimisticLock()
Booleanpublic void setOptimisticLock(Boolean value)
value - allowed object is
Booleanpublic String getPrecision()
Stringpublic void setPrecision(String value)
value - allowed object is
Stringpublic String getScale()
Stringpublic void setScale(String value)
value - allowed object is
Stringpublic String getTypeAttribute()
getTypeAttribute in interface SingularAttributeSourceStringpublic void setTypeAttribute(String value)
value - allowed object is
Stringpublic boolean isUnique()
Booleanpublic void setUnique(Boolean value)
value - allowed object is
Booleanpublic String getUniqueKey()
Stringpublic void setUniqueKey(String value)
value - allowed object is
Stringpublic Boolean isUpdate()
Booleanpublic void setUpdate(Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||