PATH
WebObjects 4.5 Documentation >
EODistribution Reference
EOEntity Additions
Category
of: EOEntity
Declared in: EODistribution/EOAccessAdditions.h
Category Description
This Objective-C category adds a number of methods to EOEntity
(which is part of the EOAccess framework). These methods are used
by the template generation code to obtain information about the client-side
class corresponding to the receiving EOEntity object.
The information returned by these methods is stored in your
model file. To change it use the EOJavaClientExtensions bundle for
EOModeler.
Instance Methods
- (NSString *)clientClassName
Returns the name of the client-side enterprise
object class associated with the receiver. If no client-side class
name has yet been registered for the receiver, this method returns
the name of the receiving class (either EOEntity or a subclass of
EOEntity).See Also: - clientClassNameWithoutPackage, - clientClassPackage, - referenceClientClassName,
- className (EOEntity class)
- (NSString *)clientClassNameWithoutPackage
Returns the name of the client-side enterprise
object class associated with the receiver, with the package name
removed. If no client-side class name has yet been registered for
the receiver, this method returns the name of the receiving class
(either EOEntity or a subclass of EOEntity).See
Also: - clientClassName, - clientClassPackage, - referenceClientClassName,
- className (EOEntity class)
- (NSArray *)clientClassPackage
If the string returned from clientClassName includes
a package name, this method returns an array of one item, the package
name. Otherwise, this method returns an empty array.See
Also: - clientClassName, - clientClassNameWithoutPackage
- (NSArray *)clientClassProperties
Returns an array containing the properties that
are bound to the client-side class corresponding to the receiver.
If no information about the client-side class's properties is
available, this method returns the receiver's class properties.
The properties returned by this method are the attributes and relationships that
are used by the client. Only these attributes and relationships
will be shipped to the client.See Also: - classProperties (EOEntity
class), - clientClassPropertyNames
- (NSArray *)clientClassPropertyAttributeNames
Returns the names of those properties obtained
using clientClassProperties that are attributes.See
Also: - clientClassPropertyNames, - clientClassPropertyToManyRelationshipNames, - clientClassPropertyToOneRelationshipNames
- (NSArray *)clientClassPropertyNames
Returns an array containing the names of the
properties that are bound to the client-side class corresponding
to the receiver. If no information about the client-side class's
properties is available, this method returns the names of the receiver's
class properties. The property names returned by this method are
the attributes and relationships that are used by the client. Only
these attributes and relationships will be shipped to the client.See
Also: - clientClassProperties
- (NSArray *)clientClassPropertyToManyRelationshipNames
Returns the names of those properties obtained
using clientClassProperties that are to-many relationships.See
Also: - clientClassPropertyAttributeNames, - clientClassPropertyNames, - clientClassPropertyToOneRelationshipNames
- (NSArray *)clientClassPropertyToOneRelationshipNames
Returns the names of those properties obtained
using clientClassProperties that are to-one relationships.See
Also: - clientClassPropertyAttributeNames, - clientClassPropertyNames, - clientClassPropertyToManyRelationshipNames
- (NSString *)referenceClientClassName
Returns the name of the client-side class that
corresponds to the receiver. If the receiver doesn't have an associated
client-side class, referenceClientClassName returns
"EOEnterpriseObject".See Also: - clientClassName