|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.riverock.dbrevision.annotation.schema.db.DbForeignKey
public class DbForeignKey
Java class for DbForeignKey complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DbForeignKey">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Column" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbForeignKeyColumn" maxOccurs="unbounded"/>
<element name="UpdateRule" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbKeyActionRule" minOccurs="0"/>
<element name="DeleteRule" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbKeyActionRule" minOccurs="0"/>
<element name="Deferrability" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbKeyActionRule" minOccurs="0"/>
</sequence>
<attribute name="fkName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fkSchemaName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fkTableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="pkName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="pkSchemaName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="pkTableName" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<DbForeignKeyColumn> |
columns
|
protected DbKeyActionRule |
deferrability
|
protected DbKeyActionRule |
deleteRule
|
protected String |
fkName
|
protected String |
fkSchemaName
|
protected String |
fkTableName
|
protected String |
pkName
|
protected String |
pkSchemaName
|
protected String |
pkTableName
|
protected DbKeyActionRule |
updateRule
|
| Constructor Summary | |
|---|---|
DbForeignKey()
|
|
| Method Summary | |
|---|---|
List<DbForeignKeyColumn> |
getColumns()
Gets the value of the columns property. |
DbKeyActionRule |
getDeferrability()
Gets the value of the deferrability property. |
DbKeyActionRule |
getDeleteRule()
Gets the value of the deleteRule property. |
String |
getFkName()
Gets the value of the fkName property. |
String |
getFkSchemaName()
Gets the value of the fkSchemaName property. |
String |
getFkTableName()
Gets the value of the fkTableName property. |
String |
getPkName()
Gets the value of the pkName property. |
String |
getPkSchemaName()
Gets the value of the pkSchemaName property. |
String |
getPkTableName()
Gets the value of the pkTableName property. |
DbKeyActionRule |
getUpdateRule()
Gets the value of the updateRule property. |
void |
setDeferrability(DbKeyActionRule value)
Sets the value of the deferrability property. |
void |
setDeleteRule(DbKeyActionRule value)
Sets the value of the deleteRule property. |
void |
setFkName(String value)
Sets the value of the fkName property. |
void |
setFkSchemaName(String value)
Sets the value of the fkSchemaName property. |
void |
setFkTableName(String value)
Sets the value of the fkTableName property. |
void |
setPkName(String value)
Sets the value of the pkName property. |
void |
setPkSchemaName(String value)
Sets the value of the pkSchemaName property. |
void |
setPkTableName(String value)
Sets the value of the pkTableName property. |
void |
setUpdateRule(DbKeyActionRule value)
Sets the value of the updateRule property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<DbForeignKeyColumn> columns
protected DbKeyActionRule updateRule
protected DbKeyActionRule deleteRule
protected DbKeyActionRule deferrability
protected String fkName
protected String fkSchemaName
protected String fkTableName
protected String pkName
protected String pkSchemaName
protected String pkTableName
| Constructor Detail |
|---|
public DbForeignKey()
| Method Detail |
|---|
public List<DbForeignKeyColumn> getColumns()
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 columns property.
For example, to add a new item, do as follows:
getColumns().add(newItem);
Objects of the following type(s) are allowed in the list
DbForeignKeyColumn
public DbKeyActionRule getUpdateRule()
DbKeyActionRulepublic void setUpdateRule(DbKeyActionRule value)
value - allowed object is
DbKeyActionRulepublic DbKeyActionRule getDeleteRule()
DbKeyActionRulepublic void setDeleteRule(DbKeyActionRule value)
value - allowed object is
DbKeyActionRulepublic DbKeyActionRule getDeferrability()
DbKeyActionRulepublic void setDeferrability(DbKeyActionRule value)
value - allowed object is
DbKeyActionRulepublic String getFkName()
Stringpublic void setFkName(String value)
value - allowed object is
Stringpublic String getFkSchemaName()
Stringpublic void setFkSchemaName(String value)
value - allowed object is
Stringpublic String getFkTableName()
Stringpublic void setFkTableName(String value)
value - allowed object is
Stringpublic String getPkName()
Stringpublic void setPkName(String value)
value - allowed object is
Stringpublic String getPkSchemaName()
Stringpublic void setPkSchemaName(String value)
value - allowed object is
Stringpublic String getPkTableName()
Stringpublic void setPkTableName(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||