Class TableExaminer
java.lang.Object
ch.nolix.system.objectschema.modelexaminer.TableExaminer
- All Implemented Interfaces:
ITableExaminer
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsColumn(ITable table, IColumn column) booleancontainsColumnThatIsBackReferencedByColumn(ITable table, IColumn column) booleancontainsColumnThatReferencesBackColumn(ITable table, IColumn column) booleancontainsColumnThatReferencesTable(ITable table, ITable otherTable) booleancontainsColumnWithName(ITable table, String name) booleanisReferenced(ITable table)
-
Constructor Details
-
TableExaminer
public TableExaminer()
-
-
Method Details
-
containsColumn
- Specified by:
containsColumnin interfaceITableExaminer- Parameters:
table-column-- Returns:
- true if the given table contains the given column, false otherwise.
-
containsColumnThatIsBackReferencedByColumn
- Specified by:
containsColumnThatIsBackReferencedByColumnin interfaceITableExaminer- Parameters:
table-column-- Returns:
- true if the given table contains a
IColumnthat is back referenced by the given column, false otherwise.
-
containsColumnThatReferencesBackColumn
- Specified by:
containsColumnThatReferencesBackColumnin interfaceITableExaminer- Parameters:
table-column-- Returns:
- true if the given table contains a
IColumnthat referenced back the given column, false otherwise.
-
containsColumnThatReferencesTable
- Specified by:
containsColumnThatReferencesTablein interfaceITableExaminer- Parameters:
table-otherTable-- Returns:
- true if the given table contains a
IColumnthat references the given otherTable, false otherwise.
-
containsColumnWithName
- Specified by:
containsColumnWithNamein interfaceITableExaminer- Parameters:
table-name-- Returns:
- if the given table contains a
IColumnwith the given name, false otherwise.
-
isReferenced
- Specified by:
isReferencedin interfaceITableExaminer- Parameters:
table-- Returns:
- true if the given table is referenced, false otherwise.
-