DBVIEW
|
Public Member Functions | |
Boolean | isFk (String in_field_name) |
String | referenceTable (String in_field_name) |
String | referenceField (String in_field_name) |
String | description () |
This class implements a (soft) foreign key detector. Foreign key looks like: id_<name of the target table> The target field is always "id".
Definition at line 30 of file IdUsTargetTableName.java.
String org.dbview.resources.softforeignkeydetectors.IdUsTargetTableName.description | ( | ) | [virtual] |
This method returns a description of the matcher.
Implements org.dbview.resources.AbstractSotfForeignKeyDetector.
Definition at line 77 of file IdUsTargetTableName.java.
Boolean org.dbview.resources.softforeignkeydetectors.IdUsTargetTableName.isFk | ( | String | in_field_name | ) | [virtual] |
This method tests whether a field, identified by its name, is a (soft) foreign key or not.
in_field_name | Name of the field to test. |
Implements org.dbview.resources.AbstractSotfForeignKeyDetector.
Definition at line 38 of file IdUsTargetTableName.java.
Referenced by org.dbview.resources.softforeignkeydetectors.IdUsTargetTableName.referenceField(), and org.dbview.resources.softforeignkeydetectors.IdUsTargetTableName.referenceTable().
String org.dbview.resources.softforeignkeydetectors.IdUsTargetTableName.referenceField | ( | String | in_field_name | ) | [virtual] |
If the field is a (soft) foreign key, then the method returns the name of the "reference" field.
in_field_name | Name of the field. |
Implements org.dbview.resources.AbstractSotfForeignKeyDetector.
Definition at line 67 of file IdUsTargetTableName.java.
String org.dbview.resources.softforeignkeydetectors.IdUsTargetTableName.referenceTable | ( | String | in_field_name | ) | [virtual] |
If the field is a (soft) foreign key, then the method returns the name of the "reference" table.
in_field_name | Name of the field. |
Implements org.dbview.resources.AbstractSotfForeignKeyDetector.
Definition at line 51 of file IdUsTargetTableName.java.