org.eclipse.jpt.db
Interface Schema

All Superinterfaces:
java.lang.Comparable<Schema>

public interface Schema
extends java.lang.Comparable<Schema>

Database schema Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.


Method Summary
 boolean containsSequenceNamed(java.lang.String name)
          Return whether the schema contains a sequence with the specified name, respecting the database's case-sensitivity.
 boolean containsTableNamed(java.lang.String name)
          Return whether the schema contains a table with the specified name, respecting the database's case-sensitivity.
 java.lang.String getName()
          Return the schema's name.
 Sequence sequenceNamed(java.lang.String name)
          Return the sequence in the schema with the specified name, respecting the database's case-sensitivity.
 java.util.Iterator<java.lang.String> sequenceNames()
          Return the names of the schema's sequences.
 java.util.Iterator<Sequence> sequences()
          Return the schema's sequences.
 int sequencesSize()
          Return the number of sequences the schema contains.
 Table tableNamed(java.lang.String name)
          Return the table in the schema with the specified name, respecting the database's case-sensitivity.
 java.util.Iterator<java.lang.String> tableNames()
          Return the names of the schema's tables.
 java.util.Iterator<Table> tables()
          Return the schema's tables.
 int tablesSize()
          Return the number of tables the schema contains.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

java.lang.String getName()
Return the schema's name.


tables

java.util.Iterator<Table> tables()
Return the schema's tables.


tablesSize

int tablesSize()
Return the number of tables the schema contains.


tableNames

java.util.Iterator<java.lang.String> tableNames()
Return the names of the schema's tables.


containsTableNamed

boolean containsTableNamed(java.lang.String name)
Return whether the schema contains a table with the specified name, respecting the database's case-sensitivity.


tableNamed

Table tableNamed(java.lang.String name)
Return the table in the schema with the specified name, respecting the database's case-sensitivity.


sequences

java.util.Iterator<Sequence> sequences()
Return the schema's sequences.


sequencesSize

int sequencesSize()
Return the number of sequences the schema contains.


sequenceNames

java.util.Iterator<java.lang.String> sequenceNames()
Return the names of the schema's sequences.


containsSequenceNamed

boolean containsSequenceNamed(java.lang.String name)
Return whether the schema contains a sequence with the specified name, respecting the database's case-sensitivity.


sequenceNamed

Sequence sequenceNamed(java.lang.String name)
Return the sequence in the schema with the specified name, respecting the database's case-sensitivity.