Inherits from: NSObject
Implements: EOPropertyListEncoding
Package: com.apple.yellow.eoaccess
An EOStoredProcedure represents a stored procedure defined in a database, and associates a name internal to the Framework with an external name by which the stored procedure is known to the database. If a stored procedure has arguments, its EOStoredProcedure object also maintains a group of EOAttributes which represent the stored procedure's arguments. See the EOAttribute class specification for more information
You usually define stored procedures in your EOModel with the EOModeler application, which is documented in the Enterprise Objects Framework Developer's Guide. EOStoredProcedures are primarily used by the Enterprise Objects Framework to map operations for an EOEntity to stored procedures (see the description for EOEntity's setStoredProcedure method). You can assign stored procedures to an entity for any of the following scenarios:
Your code probably won't use EOStoredProcedures unless you're working at the adaptor level.
Like the other major modeling classes, EOStoredProcedure provides a user dictionary for your application to store any application-specific information related to the stored procedure.
EOPropertyListEncodingawakeWithPropertyList encodeIntoPropertyList
- Constructors
- EOStoredProcedure
- Accessing the model
- model
- Accessing the name
- setName
- beautifyName
- name
- Accessing the external name
- setExternalName
- externalName
- Accessing the arguments
- setArguments
- arguments
- Accessing the user dictionary
- setUserInfo
- userInfo
public EOEOStoredProcedure(String name)
public EOStoredProcedure(
NSDictionary propertyList,
Object owner)
See Also: encodeIntoPropertyList ( EOPropertyListEncoding) setName, name
public NSArray arguments()
public void beautifyName()
See Also: setArguments, beautifyNames (EOModel)
public String externalName()
See Also: setExternalName
public EOModel model()
See Also: addStoredProcedure (EOModel)
public String name()
See Also: setName, EOStoredProcedure constructor
public void setArguments(NSArray arguments)
See Also: arguments
public void setExternalName(String name)
See Also: externalName
public void setName(String name)
See Also: name, EOStoredProcedure constructor
public void setUserInfo(NSDictionary dictionary)
See Also: userInfo
public NSDictionary userInfo()
See Also: setUserInfo