Public Member Functions

db_ForeignKey Class Reference

Inheritance diagram for db_ForeignKey:
GrtNamedObject GrtObject db_mysql_ForeignKey

List of all members.

Public Member Functions

grt::ListRef< db_Columncolumns () const
 Getter for attribute columns (read-only).
grt::IntegerRef deferability () const
 Getter for attribute deferability.
virtual void deferability (const grt::IntegerRef &value)
 Setter for attribute deferability.
grt::StringRef deleteRule () const
 Getter for attribute deleteRule.
virtual void deleteRule (const grt::StringRef &value)
 Setter for attribute deleteRule.
db_IndexRef index () const
 Getter for attribute index.
virtual void index (const db_IndexRef &value)
 Setter for attribute index.
grt::IntegerRef mandatory () const
 Getter for attribute mandatory.
virtual void mandatory (const grt::IntegerRef &value)
 Setter for attribute mandatory.
grt::IntegerRef many () const
 Getter for attribute many.
virtual void many (const grt::IntegerRef &value)
 Setter for attribute many.
grt::IntegerRef modelOnly () const
 Getter for attribute modelOnly.
virtual void modelOnly (const grt::IntegerRef &value)
 Setter for attribute modelOnly.
db_TableRef owner () const
 Getter for attribute owner.
virtual void owner (const db_TableRef &value)
 Setter for attribute owner.
grt::ListRef< db_ColumnreferencedColumns () const
 Getter for attribute referencedColumns (read-only).
grt::IntegerRef referencedMandatory () const
 Getter for attribute referencedMandatory.
virtual void referencedMandatory (const grt::IntegerRef &value)
 Setter for attribute referencedMandatory.
db_TableRef referencedTable () const
 Getter for attribute referencedTable.
virtual void referencedTable (const db_TableRef &value)
 Setter for attribute referencedTable.
grt::StringRef updateRule () const
 Getter for attribute updateRule.
virtual void updateRule (const grt::StringRef &value)
 Setter for attribute updateRule.
virtual grt::IntegerRef checkCompleteness ()
 


Member Function Documentation

virtual grt::IntegerRef checkCompleteness (  )  [virtual]

Returns:
grt::ListRef<db_Column> columns (  )  const

Getter for attribute columns (read-only).

In Python:
value = obj.columns
virtual void deferability ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute deferability.

In Python:
obj.deferability = value
grt::IntegerRef deferability (  )  const

Getter for attribute deferability.

In Python:
value = obj.deferability
grt::StringRef deleteRule (  )  const

Getter for attribute deleteRule.

In Python:
value = obj.deleteRule
virtual void deleteRule ( const grt::StringRef &  value  )  [virtual]

Setter for attribute deleteRule.

In Python:
obj.deleteRule = value
virtual void index ( const db_IndexRef &  value  )  [virtual]

Setter for attribute index.

Index that was created for this Foreign Key. This should only be set when a index is created for the FK, in other cases (like on reverse engieer) it should be left unset. For that reason this should not be used to find the matching index for the FK.

In Python:
obj.index = value
db_IndexRef index (  )  const

Getter for attribute index.

Index that was created for this Foreign Key. This should only be set when a index is created for the FK, in other cases (like on reverse engieer) it should be left unset. For that reason this should not be used to find the matching index for the FK.

In Python:
value = obj.index
grt::IntegerRef mandatory (  )  const

Getter for attribute mandatory.

mandatory in the owner table

In Python:
value = obj.mandatory
virtual void mandatory ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute mandatory.

mandatory in the owner table

In Python:
obj.mandatory = value
grt::IntegerRef many (  )  const

Getter for attribute many.

cardinality of owner table

In Python:
value = obj.many
virtual void many ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute many.

cardinality of owner table

In Python:
obj.many = value
virtual void modelOnly ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute modelOnly.

In Python:
obj.modelOnly = value
grt::IntegerRef modelOnly (  )  const

Getter for attribute modelOnly.

In Python:
value = obj.modelOnly
virtual void owner ( const db_TableRef &  value  )  [virtual]

Setter for attribute owner.

In Python:
obj.owner = value
db_TableRef owner (  )  const

Getter for attribute owner.

In Python:
value = obj.owner

Reimplemented from GrtObject.

grt::ListRef<db_Column> referencedColumns (  )  const

Getter for attribute referencedColumns (read-only).

In Python:
value = obj.referencedColumns
grt::IntegerRef referencedMandatory (  )  const

Getter for attribute referencedMandatory.

mandatory in the referenced table

In Python:
value = obj.referencedMandatory
virtual void referencedMandatory ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute referencedMandatory.

mandatory in the referenced table

In Python:
obj.referencedMandatory = value
virtual void referencedTable ( const db_TableRef &  value  )  [virtual]

Setter for attribute referencedTable.

In Python:
obj.referencedTable = value
db_TableRef referencedTable (  )  const

Getter for attribute referencedTable.

In Python:
value = obj.referencedTable

Reimplemented in db_mysql_ForeignKey.

grt::StringRef updateRule (  )  const

Getter for attribute updateRule.

In Python:
value = obj.updateRule
virtual void updateRule ( const grt::StringRef &  value  )  [virtual]

Setter for attribute updateRule.

In Python:
obj.updateRule = value