|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.internal.jaxb.mapping.hbm.JaxbKeyElement
public class JaxbKeyElement
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>
Field Summary | |
---|---|
protected List<JaxbColumnElement> |
column
|
protected String |
columnAttribute
|
protected String |
foreignKey
|
protected Boolean |
notNull
|
protected String |
onDelete
|
protected String |
propertyRef
|
protected Boolean |
unique
|
protected Boolean |
update
|
Constructor Summary | |
---|---|
JaxbKeyElement()
|
Method Summary | |
---|---|
List<JaxbColumnElement> |
getColumn()
Gets the value of the column property. |
String |
getColumnAttribute()
Gets the value of the columnAttribute property. |
String |
getForeignKey()
Gets the value of the foreignKey property. |
String |
getOnDelete()
Gets the value of the onDelete property. |
String |
getPropertyRef()
Gets the value of the propertyRef property. |
Boolean |
isNotNull()
Gets the value of the notNull property. |
Boolean |
isUnique()
Gets the value of the unique property. |
Boolean |
isUpdate()
Gets the value of the update property. |
void |
setColumnAttribute(String value)
Sets the value of the columnAttribute property. |
void |
setForeignKey(String value)
Sets the value of the foreignKey property. |
void |
setNotNull(Boolean value)
Sets the value of the notNull property. |
void |
setOnDelete(String value)
Sets the value of the onDelete property. |
void |
setPropertyRef(String value)
Sets the value of the propertyRef property. |
void |
setUnique(Boolean value)
Sets the value of the unique 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<JaxbColumnElement> column
protected String columnAttribute
protected String foreignKey
protected Boolean notNull
protected String onDelete
protected String propertyRef
protected Boolean unique
protected Boolean update
Constructor Detail |
---|
public JaxbKeyElement()
Method Detail |
---|
public 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 String getColumnAttribute()
String
public void setColumnAttribute(String value)
value
- allowed object is
String
public String getForeignKey()
String
public void setForeignKey(String value)
value
- allowed object is
String
public Boolean isNotNull()
Boolean
public void setNotNull(Boolean value)
value
- allowed object is
Boolean
public String getOnDelete()
String
public void setOnDelete(String value)
value
- allowed object is
String
public String getPropertyRef()
String
public void setPropertyRef(String value)
value
- allowed object is
String
public Boolean isUnique()
Boolean
public void setUnique(Boolean value)
value
- allowed object is
Boolean
public Boolean isUpdate()
Boolean
public 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 |