* EOAccess/EOModel.m (writeToFile:): Clairfy documentation

about setting receivers name and path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20708 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2005-02-14 12:11:49 +00:00
parent 8f9ee35c5c
commit 75f86142d0
2 changed files with 16 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2005-02-10 David Ayers <d.ayers@inode.at>
* EOAccess/EOModel.m (writeToFile:): Clairfy documentation about
setting receivers name and path.
2005-02-13 Manuel Guesdon <mguesdon@orange-concept.com>
* EOControl/EOClassDescription.m:
o use IMPs

View file

@ -581,18 +581,21 @@ NSString *EOEntityLoadedNotification = @"EOEntityLoadedNotification";
}
/**
* Writes the receivers plist representation into an
* .eomodeld file wrapper located at path.
* Depending on the the path extension .eomodeld or .eomodel
* <p>Writes the receivers plist representation into an
* .eomodeld file wrapper located at path. </p>
* <p>Depending on the the path extension .eomodeld or .eomodel
* the corresponding format will be used.
* If the path has neither .eomodeld nor .eomodel path
* extension, .eomodeld will be used.
* If the file located at path already exists, a back is created
* extension, .eomodeld will be used.</p>
* <p>If the file located at path already exists, a back is created
* by appending a '~' character to file name.
* If a backup file already exists, when trying to create a backup,
* the old backup will be deleted.
* If any of the file operations fail, an NSInvalidArgumentException
* will be raised.
* the old backup will be deleted.</p>
* <p>If any of the file operations fail, an NSInvalidArgumentException
* will be raised.</p>
* <p>This method as the side effeect of setting the receivers path and
* name. The this change can happen even if the write operation fails
* with an exception.</p>
*/
- (void)writeToFile: (NSString *)path
{