org.eobjects.metamodel.schema
Class ImmutableSchema
java.lang.Object
org.eobjects.metamodel.schema.AbstractSchema
org.eobjects.metamodel.schema.ImmutableSchema
- All Implemented Interfaces:
- Serializable, Comparable<Schema>, NamedStructure, Schema, HasName
public final class ImmutableSchema
- extends AbstractSchema
- implements Serializable
An immutable implementation of the Schema interface.
- Author:
- Kasper Sørensen
- See Also:
- Serialized Form
|
Method Summary |
String |
getName()
Gets the name of this Schema |
String |
getQuote()
Gets an optional quote string that is used to enclose the name of this
structure. |
Table[] |
getTables()
Gets all tables in this Schema. |
| Methods inherited from class org.eobjects.metamodel.schema.AbstractSchema |
compareTo, equals, getQualifiedLabel, getQuotedName, getRelationshipCount, getRelationships, getTable, getTableByName, getTableCount, getTableCount, getTableNames, getTables, hashCode, toString |
ImmutableSchema
public ImmutableSchema(Schema schema)
getTables
public Table[] getTables()
- Description copied from interface:
Schema
- Gets all tables in this Schema.
- Specified by:
getTables in interface Schema
- Returns:
- the tables that reside in the schema
getName
public String getName()
- Description copied from interface:
Schema
- Gets the name of this Schema
- Specified by:
getName in interface NamedStructure- Specified by:
getName in interface Schema- Specified by:
getName in interface HasName
- Returns:
- the name of this Schema
getQuote
public String getQuote()
- Description copied from interface:
NamedStructure
- Gets an optional quote string that is used to enclose the name of this
structure.
- Specified by:
getQuote in interface NamedStructure
- Returns:
- A quote string used to enclose the name or null if none exists.
Copyright © 2007-2013. All Rights Reserved.