com.bonevich.erj.model
Class Schema
java.lang.Object
|
+--com.bonevich.erj.model.ModelElement
|
+--com.bonevich.erj.model.Schema
- All Implemented Interfaces:
- ErjConstants
- public final class Schema
- extends ModelElement
A class that represents a SQL schema, which is composed of
relations and domains.
- Author:
- Jeffrey D. Bonevich
- See Also:
KeyConstraint,
Relation
| Fields inherited from interface com.bonevich.erj.ErjConstants |
EDITOR_COLOR, EDITOR_FONT, EMPTY_STR, ICON_AK, ICON_DOMAIN, ICON_FK, ICON_FOREIGNKEY, ICON_NOTNULL, ICON_NULL, ICON_PK, ICON_RELATION, ICON_SCHEMA, ICON_SPLASH, INITIAL_FRAME_SIZE, LABEL_COLOR, LABEL_FILL, LABEL_FONT, LABEL_FONT_ITALIC, LABEL_FONT_SIZE, LABEL_FONTMETRICS, STATUSBAR_COLOR, STATUSBAR_FONT, STATUSBAR_FONT_ITALIC, STATUSBAR_MOD_FILL, SUBLABEL_FILL |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NEW_SCHEMA_STR
public static final java.lang.String NEW_SCHEMA_STR
- See Also:
- Constant Field Values
Schema
public Schema()
createRelation
public Relation createRelation()
deleteRelation
public void deleteRelation(Relation relation)
containsRelation
public boolean containsRelation(Relation relation)
getRelationIterator
public java.util.Iterator getRelationIterator()
getRelationCount
public int getRelationCount()
createDomain
public Domain createDomain()
deleteDomain
public void deleteDomain(Domain domain)
containsDomain
public boolean containsDomain(Domain domain)
getDomainIterator
public java.util.Iterator getDomainIterator()
getDomainCount
public int getDomainCount()
addKey
public void addKey(ForeignKey key)
removeKey
public void removeKey(ForeignKey key)
containsKey
public boolean containsKey(ForeignKey key)
getKeyIterator
public java.util.Iterator getKeyIterator()
dispose
public void dispose()
- Specified by:
dispose in class ModelElement
accept
public void accept(ModelElementVisitor visitor)
- Specified by:
accept in class ModelElement
Copyright © 2001-2003 bonevich.com. All Rights Reserved.