org.apache.ws.jaxme.sqls.impl

Class SchemaImpl

public class SchemaImpl extends Object implements Schema

Implementation of a schema.

Author: Jochen Wiedmann

Nested Class Summary
static classSchemaImpl.NameImpl
Constructor Summary
protected SchemaImpl(SQLFactory pFactory, Schema.Name pName)

Creates a new instance of SchemaImpl.

Method Summary
booleanequals(Object o)
Schema.NamegetName()
SQLFactorygetSQLFactory()
TablegetTable(Table.Name pName)
TablegetTable(String pName)
IteratorgetTables()
inthashCode()
TablenewTable(String pName)
TablenewTable(Table.Name pName)

Constructor Detail

SchemaImpl

protected SchemaImpl(SQLFactory pFactory, Schema.Name pName)

Creates a new instance of SchemaImpl.

Parameters: pFactory The SQLFactory creating this instance. pName The schema name.

Method Detail

equals

public boolean equals(Object o)

getName

public Schema.Name getName()

getSQLFactory

public SQLFactory getSQLFactory()

getTable

public Table getTable(Table.Name pName)

getTable

public Table getTable(String pName)

getTables

public Iterator getTables()

hashCode

public int hashCode()

newTable

public Table newTable(String pName)

newTable

public Table newTable(Table.Name pName)