Developer Documentation
PATH  WebObjects 4.5 Documentation > EODistribution Reference

Table of Contents

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



clientClassName

- (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)



clientClassNameWithoutPackage

- (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)



clientClassPackage

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



clientClassProperties

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



clientClassPropertyAttributeNames

- (NSArray *)clientClassPropertyAttributeNames

Returns the names of those properties obtained using clientClassProperties that are attributes.

See Also: - clientClassPropertyNames, - clientClassPropertyToManyRelationshipNames, - clientClassPropertyToOneRelationshipNames



clientClassPropertyNames

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



clientClassPropertyToManyRelationshipNames

- (NSArray *)clientClassPropertyToManyRelationshipNames

Returns the names of those properties obtained using clientClassProperties that are to-many relationships.

See Also: - clientClassPropertyAttributeNames, - clientClassPropertyNames, - clientClassPropertyToOneRelationshipNames



clientClassPropertyToOneRelationshipNames

- (NSArray *)clientClassPropertyToOneRelationshipNames

Returns the names of those properties obtained using clientClassProperties that are to-one relationships.

See Also: - clientClassPropertyAttributeNames, - clientClassPropertyNames, - clientClassPropertyToManyRelationshipNames



referenceClientClassName

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




Table of Contents