public class JaxbKeyElement
extends java.lang.Object
Java class for key-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="key-element">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="column" type="{http://www.hibernate.org/xsd/hibernate-mapping}column-element" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="on-delete" default="noaction">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="cascade"/>
<enumeration value="noaction"/>
</restriction>
</simpleType>
</attribute>
<attribute name="property-ref" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<JaxbColumnElement> |
column |
protected java.lang.String |
columnAttribute |
protected java.lang.String |
foreignKey |
protected java.lang.Boolean |
notNull |
protected java.lang.String |
onDelete |
protected java.lang.String |
propertyRef |
protected java.lang.Boolean |
unique |
protected java.lang.Boolean |
update |
| Constructor and Description |
|---|
JaxbKeyElement() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<JaxbColumnElement> |
getColumn()
Gets the value of the column property.
|
java.lang.String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
java.lang.String |
getForeignKey()
Gets the value of the foreignKey property.
|
java.lang.String |
getOnDelete()
Gets the value of the onDelete property.
|
java.lang.String |
getPropertyRef()
Gets the value of the propertyRef property.
|
java.lang.Boolean |
isNotNull()
Gets the value of the notNull property.
|
java.lang.Boolean |
isUnique()
Gets the value of the unique property.
|
java.lang.Boolean |
isUpdate()
Gets the value of the update property.
|
void |
setColumnAttribute(java.lang.String value)
Sets the value of the columnAttribute property.
|
void |
setForeignKey(java.lang.String value)
Sets the value of the foreignKey property.
|
void |
setNotNull(java.lang.Boolean value)
Sets the value of the notNull property.
|
void |
setOnDelete(java.lang.String value)
Sets the value of the onDelete property.
|
void |
setPropertyRef(java.lang.String value)
Sets the value of the propertyRef 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<JaxbColumnElement> column
protected java.lang.String columnAttribute
protected java.lang.String foreignKey
protected java.lang.Boolean notNull
protected java.lang.String onDelete
protected java.lang.String propertyRef
protected java.lang.Boolean unique
protected java.lang.Boolean update
public java.util.List<JaxbColumnElement> getColumn()
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 column property.
For example, to add a new item, do as follows:
getColumn().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbColumnElement
public java.lang.String getColumnAttribute()
Stringpublic void setColumnAttribute(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getForeignKey()
Stringpublic void setForeignKey(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Boolean isNotNull()
Booleanpublic void setNotNull(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getOnDelete()
Stringpublic void setOnDelete(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPropertyRef()
Stringpublic void setPropertyRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Boolean isUnique()
Booleanpublic void setUnique(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.Boolean isUpdate()
Booleanpublic void setUpdate(java.lang.Boolean value)
value - allowed object is
BooleanCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.