PATH  WebObjects 4.5 Documentation > EODistribution Reference

Table of Contents

EOAccessAdditions


Inherits from: NSObject
Package: com.apple.yellow.eodistribution


Class Description


This class consists of a number of static methods to augment EOEntity and EOEntityClassDescription (both declared in EOAccess). These methods return various properties bound to the client-side class that corresponds to the supplied EOEntity or EOEntityClassDescription object. The information returned by these methods is stored in your model file. To change it, use the EOJavaClientExtensions bundle for EOModeler.

You never create or use an instance of EOAccessAdditions. Rather, send messages directly to the class.




Static Methods



clientAttributeKeysForClassDescription

public static NSArray clientAttributeKeysForClassDescription( com.apple.yellow.eocontrol.EOClassDescription aClassDescription)

Returns an array containing the names of those attributes that are bound to the client-side class that corresponds to the aClassDescription's EOEntity.

See Also: clientClassPropertiesForEntity



clientClassNameForEntity

public static String clientClassNameForEntity( com.apple.yellow.eoaccess.EOEntity anEntity)

Returns the name of the client-side enterprise object class associated with anEntity. If no client-side class name has yet been registered for anEntity, this method returns the name of the receiving class (either EOEntity or a subclass of EOEntity).

See Also: className (EOEntity class)



clientClassPropertiesForEntity

public static NSArray clientClassPropertiesForEntity( com.apple.yellow.eoaccess.EOEntity anEntity)

Returns an array containing the properties that are bound to the client-side class corresponding to anEntity. If no information about the client-side class's properties is available, this method returns anEntity'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), clientClassPropertyNamesForEntity



clientClassPropertyAttributeNamesForEntity

public static NSArray clientClassPropertyAttributeNamesForEntity( com.apple.yellow.eoaccess.EOEntity anEntity)

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

See Also: clientClassPropertyNamesForEntity, clientClassPropertyToManyRelationshipNamesForEntity, clientClassPropertyToOneRelationshipNamesForEntity



clientClassPropertyNamesForEntity

public static NSArray clientClassPropertyNamesForEntity( com.apple.yellow.eoaccess.EOEntity anEntity)

Returns an array containing the names of the properties that are bound to the client-side class corresponding to anEntity. If no information about the client-side class's properties is available, this method returns the names of anEntity'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: clientClassPropertiesForEntity



clientClassPropertyToManyRelationshipNamesForEntity

public static NSArray clientClassPropertyToManyRelationshipNamesForEntity( com.apple.yellow.eoaccess.EOEntity anEntity)

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

See Also: clientClassPropertyAttributeNamesForEntity, clientClassPropertyNamesForEntity, clientClassPropertyToOneRelationshipNamesForEntity



clientClassPropertyToOneRelationshipNamesForEntity

public static NSArray clientClassPropertyToOneRelationshipNamesForEntity( com.apple.yellow.eoaccess.EOEntity anEntity)

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

See Also: clientClassPropertyAttributeNamesForEntity, clientClassPropertyNamesForEntity, clientClassPropertyToManyRelationshipNamesForEntity



clientToManyRelationshipKeysForClassDescription

public static NSArray clientToManyRelationshipKeysForClassDescription( com.apple.yellow.eocontrol.EOClassDescription aClassDescription)

Returns an array containing the names of those to-many relationships that are bound to the client-side class that corresponds to aClassDescription's EOEntity.

See Also: clientClassPropertyToManyRelationshipNamesForEntity



clientToOneRelationshipKeysForClassDescription

public static NSArray clientToOneRelationshipKeysForClassDescription( com.apple.yellow.eocontrol.EOClassDescription aClassDescription)

Returns an array containing the names of those to-one relationships that are bound to the client-side class that corresponds to aClassDescription's EOEntity.

See Also: clientClassPropertyToOneRelationshipNamesForEntity




Table of Contents