com.webobjects.eoaccess.synchronization
Class EOSchemaTableDescription
java.lang.Object
com.webobjects.eoaccess.synchronization.EOSchemaPropertyDescription
com.webobjects.eoaccess.synchronization.EOSchemaTableDescription
- All Implemented Interfaces:
- NSKeyValueCoding, NSKeyValueCodingAdditions
- Direct Known Subclasses:
- FrontbasePlugIn.FrontbaseSynchronizationFactory.FrontbaseTableDescription, OpenBasePlugIn.OpenBaseSynchronizationFactory.OpenBaseTableDescription
public class EOSchemaTableDescription
- extends EOSchemaPropertyDescription
A wrapper object for relational database table information used for schema synchronization. This encapsulates column, index, relationship and foreign key constraint information.
- Since:
- 5.4
- See Also:
EOSchemaColumnDescription
,
EOSchemaForeignKeyConstraintDescription
,
EOSchemaIndexDescription
,
EOSchemaSynchronizationFactory
EmptyDescription
public static final EOSchemaTableDescription EmptyDescription
EOSchemaTableDescription
protected EOSchemaTableDescription()
isEmpty
public boolean isEmpty()
- Description copied from class:
EOSchemaPropertyDescription
- Returns true is the property description is empty
- Specified by:
isEmpty
in class EOSchemaPropertyDescription
- Returns:
- true if empty
newColumnDescription
public EOSchemaColumnDescription newColumnDescription()
- Returns a newly initialized column description object. This object is not inserted in the description list. This is to facilitate subclassing.
- Returns:
- a new description object
columns
public NSArray columns()
getColumnByName
public EOSchemaColumnDescription getColumnByName(String value)
addToColumns
protected void addToColumns(EOSchemaColumnDescription value)
removeFromColumns
protected void removeFromColumns(EOSchemaColumnDescription value)
columnIterator
public Iterator columnIterator()
newIndexDescription
public EOSchemaIndexDescription newIndexDescription()
- Returns a newly initialized index description object. This object is not inserted in the description list. This is to facilitate subclassing.
- Returns:
- a new description object
indexes
public NSArray indexes()
getIndexByName
public EOSchemaIndexDescription getIndexByName(String value)
addToIndexes
protected void addToIndexes(EOSchemaIndexDescription value)
removeFromIndexes
protected void removeFromIndexes(EOSchemaIndexDescription value)
indexIterator
public Iterator indexIterator()
newForeignKeyConstraintDescription
public EOSchemaForeignKeyConstraintDescription newForeignKeyConstraintDescription()
- Returns a newly initialized foreign key constraint description object. This object is not inserted in the description list. This is to facilitate subclassing.
- Returns:
- a new description object
foreignKeyConstraints
public NSArray foreignKeyConstraints()
getForeignKeyConstraintByName
public EOSchemaForeignKeyConstraintDescription getForeignKeyConstraintByName(String value)
addToForeignKeyConstraints
protected void addToForeignKeyConstraints(EOSchemaForeignKeyConstraintDescription value)
removeFromForeignKeyConstraints
protected void removeFromForeignKeyConstraints(EOSchemaForeignKeyConstraintDescription value)
foreignKeyConstraintIterator
public Iterator foreignKeyConstraintIterator()
fieldsToString
protected void fieldsToString(StringBuilder aLog)
- Description copied from class:
EOSchemaPropertyDescription
- Adds the fields for each subclass. Subclasses must override this method and call super first if they have specific fields to display.
- Overrides:
fieldsToString
in class EOSchemaPropertyDescription
- Parameters:
aLog
- log statement being built
Copyright © 2000-2008 Apple Inc.