|
WebObjects 5.4.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webobjects.eoaccess.synchronization.EOSchemaSynchronizationChanges
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationModelChanges
public class EOSchemaSynchronizationModelChanges
Encapsulates the changes between the previous eomodel.
EOSchemaSynchronizationFactory,
EOSchemaSynchronization| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
|---|
NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| Field Summary |
|---|
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
KeyPathSeparator |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
|---|
NullValue |
| Constructor Summary | |
|---|---|
EOSchemaSynchronizationModelChanges()
|
|
| Method Summary | |
|---|---|
void |
addToDeletedTableNames(String value)
Adds a table name to the list of table to be deleted. |
void |
addToInsertedTableNames(String value)
Adds a table name to the list of table to be inserted. |
void |
addToUpdatedTableNames(String value,
EOSchemaSynchronizationTableChanges change)
Adds a table name to the list of table to be updated. |
EOSchemaSynchronizationTableChanges |
changesForTableNamed(String value)
Rerturns the changes for the named table. |
Set |
deletedTableNames()
Returns the list of table to be deleted. |
Iterator |
deletedTableNamesIterator()
Returns an iterator on the list of table names to be deleted. |
void |
fieldsToString(StringBuilder aLog)
|
Set |
insertedTableNames()
Returns the list of table to be inserted. |
Iterator |
insertedTableNamesIterator()
Returns an iterator on the list of table names to be inserted. |
boolean |
isEmpty()
Checks if there is any changes defined by this structrure |
boolean |
isTableNamedDeleted(String value)
Checks if a table is to be deleted. |
boolean |
isTableNamedInserted(String value)
Checks if a table is to be inserted. |
boolean |
isTableNamedUpdated(String value)
Checks if a table is to be updated. |
EOSchemaSynchronizationTableChanges |
newChangesForTable(String value)
Returns enewly initialized change object. |
void |
removeFromDeletedTableNames(String value)
Removes a table name from the list of table to be deleted. |
void |
removeFromInsertedTableNames(String value)
Removes a table name from the list of table to be inserted. |
void |
removeFromUpdatedTableNames(String value)
Removes a table name from the list of table to be updated. |
void |
setDeletedTableNames(Collection value)
Set the deleted table names. |
void |
setInsertedTableNames(Collection value)
Set the inserted table names. |
void |
setUpdatedTableNames(Map value)
Set the updated table names and updates descriptions. |
Set |
updatedTableNames()
Returns the list of tables to be updated. |
Iterator |
updatedTableNamesIterator()
Returns an iterator on the list of table names to be updated. |
| Methods inherited from class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationChanges |
|---|
takeValueForKey, takeValueForKeyPath, toString, valueForKey, valueForKeyPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EOSchemaSynchronizationModelChanges()
| Method Detail |
|---|
public boolean isEmpty()
isEmpty in class EOSchemaSynchronizationChangespublic EOSchemaSynchronizationTableChanges newChangesForTable(String value)
value - table name
public Set updatedTableNames()
public void setUpdatedTableNames(Map value)
value - table name dictionary
public void addToUpdatedTableNames(String value,
EOSchemaSynchronizationTableChanges change)
value - table namechange - change descriptionpublic void removeFromUpdatedTableNames(String value)
value - table namepublic EOSchemaSynchronizationTableChanges changesForTableNamed(String value)
value - table name
public Iterator updatedTableNamesIterator()
public boolean isTableNamedUpdated(String value)
value - table name
public Set deletedTableNames()
public void setDeletedTableNames(Collection value)
value - table name listpublic void addToDeletedTableNames(String value)
value - table namepublic void removeFromDeletedTableNames(String value)
value - table namepublic Iterator deletedTableNamesIterator()
public boolean isTableNamedDeleted(String value)
value - table name
public Set insertedTableNames()
public void setInsertedTableNames(Collection value)
value - table name listpublic void addToInsertedTableNames(String value)
value - table namepublic void removeFromInsertedTableNames(String value)
value - table namepublic Iterator insertedTableNamesIterator()
public boolean isTableNamedInserted(String value)
value - table name
public void fieldsToString(StringBuilder aLog)
fieldsToString in class EOSchemaSynchronizationChanges
|
Last updated June 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||