Up

EOModel Class

Authors

Mirko Viviani (mirko.viviani@rccr.cremona.it)

Version: 22681

Date: 2006-03-19 19:03:50 +0100 (Son, 19 Mär 2006)

Copyright: (C) 2000-2002,2003,2004,2005 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the EOModel class
  2. Software documentation for the EOModel(EOModelBeautifier) category
  3. Software documentation for the EOModel(EOModelEditing) category
  4. Software documentation for the EOModel(EOModelFileAccess) category
  5. Software documentation for the EOModel(EOModelHidden) category
  6. Software documentation for the EOModel(EOModelPropertyList) category

Software documentation for the EOModel class

EOModel : GCObject

Declared in:
EOAccess/EOModel.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary

model 

+ (EOModel*) model;
Availability: OpenStep

Description forthcoming.

adaptorClassName 

- (NSString*) adaptorClassName;
Availability: OpenStep

Description forthcoming.

adaptorName 

- (NSString*) adaptorName;
Availability: OpenStep

Description forthcoming.

connectionDictionary 

- (NSDictionary*) connectionDictionary;
Availability: OpenStep

Accessing the connection dictionary

docComment 

- (NSString*) docComment;
Availability: OpenStep

Accessing documentation comments

entities 

- (NSArray*) entities;
Availability: OpenStep

Description forthcoming.

entityForObject: 

- (EOEntity*) entityForObject: (id)object;
Availability: OpenStep

Getting an object's entity

entityNamed: 

- (EOEntity*) entityNamed: (NSString*)name;
Availability: OpenStep

Using entities

entityNames 

- (NSArray*) entityNames;
Availability: OpenStep

Description forthcoming.

modelGroup 

- (EOModelGroup*) modelGroup;
Availability: OpenStep

Description forthcoming.

name 

- (NSString*) name;
Availability: OpenStep

Getting the name

path 

- (NSString*) path;
Availability: OpenStep

Getting the filename

prototypeAttributeNamed: 

- (EOAttribute*) prototypeAttributeNamed: (NSString*)attributeName;
Availability: OpenStep

Description forthcoming.

storedProcedureNamed: 

- (EOStoredProcedure*) storedProcedureNamed: (NSString*)name;
Availability: OpenStep

Description forthcoming.

storedProcedureNames 

- (NSArray*) storedProcedureNames;
Availability: OpenStep

Description forthcoming.

storedProcedures 

- (NSArray*) storedProcedures;
Availability: OpenStep

Description forthcoming.

userInfo 

- (NSDictionary*) userInfo;
Availability: OpenStep

Accessing the user dictionary



Instance Variables for EOModel Class

_adaptorClassName

@protected NSString* _adaptorClassName;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_adaptorName

@protected NSString* _adaptorName;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_connectionDictionary

@protected NSDictionary* _connectionDictionary;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_docComment

@protected NSString* _docComment;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_entities

@protected GCArray* _entities;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_entitiesByClass

@protected void* _entitiesByClass;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_entitiesByName

@protected GCMutableDictionary* _entitiesByName;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_flags

@protected struct ... _flags;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_group

@protected EOModelGroup* _group;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_internalInfo

@protected NSDictionary* _internalInfo;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_name

@protected NSString* _name;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_path

@protected NSString* _path;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_storedProcedures

@protected GCMutableArray* _storedProcedures;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_subEntitiesCache

@protected GCMutableDictionary* _subEntitiesCache;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_userInfo

@protected NSDictionary* _userInfo;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_version

@protected float _version;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the EOModel(EOModelBeautifier) category

EOModel(EOModelBeautifier)

Declared in:
EOAccess/EOModel.h
Availability: OpenStep

Description forthcoming.
Method summary

beautifyNames 

- (void) beautifyNames;
Availability: OpenStep

Description forthcoming.

Software documentation for the EOModel(EOModelEditing) category

EOModel(EOModelEditing)

Declared in:
EOAccess/EOModel.h
Availability: OpenStep

Description forthcoming.
Method summary

addEntity: 

- (void) addEntity: (EOEntity*)entity;
Availability: OpenStep

Description forthcoming.

addStoredProcedure: 

- (void) addStoredProcedure: (EOStoredProcedure*)storedProcedure;
Availability: OpenStep

Description forthcoming.

externalModelsReferenced 

- (NSArray*) externalModelsReferenced;
Availability: OpenStep

Description forthcoming.

loadAllModelObjects 

- (void) loadAllModelObjects;
Availability: OpenStep

Description forthcoming.

referencesToProperty: 

- (NSArray*) referencesToProperty: (id)property;
Availability: OpenStep

Returns an array of flattened attributes and relationships in the receiver's entities that reference property, or nil if nothing references it.

removeEntity: 

- (void) removeEntity: (EOEntity*)entity;
Availability: OpenStep

Description forthcoming.

removeEntityAndReferences: 

- (void) removeEntityAndReferences: (EOEntity*)entity;
Availability: OpenStep

Description forthcoming.

removeStoredProcedure: 

- (void) removeStoredProcedure: (EOStoredProcedure*)storedProcedure;
Availability: OpenStep

Description forthcoming.

setAdaptorName: 

- (void) setAdaptorName: (NSString*)adaptorName;
Availability: OpenStep

Description forthcoming.

setConnectionDictionary: 

- (void) setConnectionDictionary: (NSDictionary*)connectionDictionary;
Availability: OpenStep

Description forthcoming.

setModelGroup: 

- (void) setModelGroup: (EOModelGroup*)group;
Availability: OpenStep

Description forthcoming.

setName: 

- (void) setName: (NSString*)name;
Availability: OpenStep

Description forthcoming.

setUserInfo: 

- (void) setUserInfo: (NSDictionary*)userInfo;
Availability: OpenStep

Description forthcoming.

Software documentation for the EOModel(EOModelFileAccess) category

EOModel(EOModelFileAccess)

Declared in:
EOAccess/EOModel.h
Availability: OpenStep

Description forthcoming.
Method summary

modelWithContentsOfFile: 

+ (EOModel*) modelWithContentsOfFile: (NSString*)path;
Availability: OpenStep

Description forthcoming.

initWithContentsOfFile: 

- (id) initWithContentsOfFile: (NSString*)path;
Availability: OpenStep

Description forthcoming.

writeToFile: 

- (void) writeToFile: (NSString*)path;
Availability: OpenStep

Writes the receivers plist representation into an .eomodeld file wrapper located at path.

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 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.

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.


Software documentation for the EOModel(EOModelHidden) category

EOModel(EOModelHidden)

Declared in:
EOAccess/EOModel.h
Availability: OpenStep

Description forthcoming.
Method summary

_addEntity: 

- (id) _addEntity: (EOEntity*)entity;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_addEntityWithPropertyList: 

- (EOEntity*) _addEntityWithPropertyList: (NSDictionary*)propertyList;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_addFakeEntityWithPropertyList: 

- (void) _addFakeEntityWithPropertyList: (NSDictionary*)propertyList;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_childrenForEntityNamed: 

- (id) _childrenForEntityNamed: (id)param0;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_classDescriptionNeeded: 

- (void) _classDescriptionNeeded: (NSNotification*)notification;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_entityForClass: 

- (EOEntity*) _entityForClass: (Class)aClass;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_instantiatedEntities 

- (id) _instantiatedEntities;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_registerChild: forParent: 

- (void) _registerChild: (id)param0 forParent: (id)param1;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_removeEntity: 

- (void) _removeEntity: (id)entity;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_resetPrototypeCache 

- (void) _resetPrototypeCache;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_setEntity: forEntityName: className: 

- (void) _setEntity: (id)entity forEntityName: (NSString*)entityName className: (NSString*)className;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_setInheritanceLinks: 

- (void) _setInheritanceLinks: (id)param0;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

_setPath: 

- (void) _setPath: (NSString*)path;
Availability: OpenStep

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

isPrototypesEntity: 

- (BOOL) isPrototypesEntity: (id)param0;
Availability: OpenStep

Description forthcoming.

Software documentation for the EOModel(EOModelPropertyList) category

EOModel(EOModelPropertyList)

Declared in:
EOAccess/EOModel.h
Conforms to:
EOPropertyListEncoding
Availability: OpenStep

Description forthcoming.
Method summary

awakeWithPropertyList: 

- (void) awakeWithPropertyList: (NSDictionary*)propertyList;
Availability: OpenStep

Description forthcoming.

encodeIntoPropertyList: 

- (void) encodeIntoPropertyList: (NSMutableDictionary*)propertyList;
Availability: OpenStep

Description forthcoming.

encodeTableOfContentsIntoPropertyList: 

- (void) encodeTableOfContentsIntoPropertyList: (NSMutableDictionary*)propertyList;
Availability: OpenStep

Description forthcoming.

initWithPropertyList: owner: 

- (id) initWithPropertyList: (NSDictionary*)propertyList owner: (id)owner;
Availability: OpenStep

Description forthcoming.

initWithTableOfContentsPropertyList: path: 

- (id) initWithTableOfContentsPropertyList: (NSDictionary*)tableOfContents path: (NSString*)path;
Availability: OpenStep

Description forthcoming.


Up