PATH Documentation > WebObjects

Table of Contents

EOEntityClassDescription


Inherits from:
com.webobjects.eocontrol.EOClassDescription
Package:
com.webobjects.eoaccess


Class Description


EOEntityClassDescription is the subclass of the control layer's EOClassDescription. The EOClassDescription class provides a mechanism for extending classes by giving them access to metadata not available in the run-time system. EOEntityClassDescription extends the behavior of enterprise objects by deriving information about them (such as NULL constraints and referential integrity rules) from an associated EOModel. For detailed information on the methods, see the EOClassDescription class specification.

In the typical scenario in which an enterprise object has a corresponding model file, the first time a particular operation is performed on a class (such as validating a value), an ClassDescriptionNeeded... notification (either an ClassDescriptionNeededForClassNotification or an ClassDescriptionNeededForEntityNameNotification) is broadcast. When an EOModel object receives this notification it registers the metadata (class description) for the EOEntity on which the enterprise object is based. This class description is used from that point on.




Constructors



EOEntityClassDescription

public EOEntityClassDescription(EOEntity entity)

Creates a new EOEntityClassDescription and assigns entity to it.

See Also: entity




Instance Methods



allAttributeKeys

public NSArray allAttributeKeys()

Description forthcoming.

allPropertyKeys

public NSArray allPropertyKeys()

Description forthcoming.

allToManyRelationshipKeys

public NSArray allToManyRelationshipKeys()

Description forthcoming.

allToOneRelationshipKeys

public NSArray allToOneRelationshipKeys()

Description forthcoming.

attributeKeys

public NSArray attributeKeys()

Description forthcoming.

awakeObjectFromInsertion

public void awakeObjectFromInsertion( com.webobjects.eocontrol.EOEnterpriseObject anEOEnterpriseObject, com.webobjects.eocontrol.EOEditingContext anEOEditingContext)

Description forthcoming.

classDescriptionForDestinationKey

public com.webobjects.eocontrol.EOClassDescription classDescriptionForDestinationKey(String aString)

Description forthcoming.

clientAttributeKeys

public NSArray clientAttributeKeys()

Description forthcoming.

clientToManyRelationshipKeys

public NSArray clientToManyRelationshipKeys()

Description forthcoming.

clientToOneRelationshipKeys

public NSArray clientToOneRelationshipKeys()

Description forthcoming.

createInstanceWithEditingContext

public com.webobjects.eocontrol.EOEnterpriseObject createInstanceWithEditingContext( com.webobjects.eocontrol.EOEditingContext anEOEditingContext, com.webobjects.eocontrol.EOGlobalID anEOGlobalID)

Description forthcoming.

defaultFormatterForKey

public java.text.Format defaultFormatterForKey(String aString)

Description forthcoming.

deleteRuleForRelationshipKey

public int deleteRuleForRelationshipKey(String aString)

Description forthcoming.

entity

public EOEntity entity()

Returns the entity associated with the receiver.

See Also: EOEntityClassDescription




Instance Methods



allAttributeKeys

public NSArray allAttributeKeys()

Description forthcoming.

allPropertyKeys

public NSArray allPropertyKeys()

Description forthcoming.

allToManyRelationshipKeys

public NSArray allToManyRelationshipKeys()

Description forthcoming.

allToOneRelationshipKeys

public NSArray allToOneRelationshipKeys()

Description forthcoming.

attributeKeys

public NSArray attributeKeys()

Description forthcoming.

awakeObjectFromInsertion

public void awakeObjectFromInsertion( com.webobjects.eocontrol.EOEnterpriseObject anEOEnterpriseObject, com.webobjects.eocontrol.EOEditingContext anEOEditingContext)

Description forthcoming.

classDescriptionForDestinationKey

public com.webobjects.eocontrol.EOClassDescription classDescriptionForDestinationKey(String aString)

Description forthcoming.

clientAttributeKeys

public NSArray clientAttributeKeys()

Description forthcoming.

clientToManyRelationshipKeys

public NSArray clientToManyRelationshipKeys()

Description forthcoming.

clientToOneRelationshipKeys

public NSArray clientToOneRelationshipKeys()

Description forthcoming.

createInstanceWithEditingContext

public com.webobjects.eocontrol.EOEnterpriseObject createInstanceWithEditingContext( com.webobjects.eocontrol.EOEditingContext anEOEditingContext, com.webobjects.eocontrol.EOGlobalID anEOGlobalID)

Description forthcoming.

defaultFormatterForKey

public java.text.Format defaultFormatterForKey(String aString)

Description forthcoming.

deleteRuleForRelationshipKey

public int deleteRuleForRelationshipKey(String aString)

Description forthcoming.

entity

public EOEntity entity()

Description forthcoming.

entityName

public String entityName()

Description forthcoming.

fetchSpecificationNamed

public com.webobjects.eocontrol.EOFetchSpecification fetchSpecificationNamed(String aString)

Description forthcoming.

inverseForRelationshipKey

public String inverseForRelationshipKey(String aString)

Description forthcoming.

ownsDestinationObjectsForRelationshipKey

public boolean ownsDestinationObjectsForRelationshipKey(String aString)

Description forthcoming.

readResolve

protected Object readResolve()

Description forthcoming.

superClassDescription

public com.webobjects.eocontrol.EOClassDescription superClassDescription()

Description forthcoming.

toManyRelationshipKeys

public NSArray toManyRelationshipKeys()

Description forthcoming.

toOneRelationshipKeys

public NSArray toOneRelationshipKeys()

Description forthcoming.

validateObjectForDelete

public void validateObjectForDelete(com.webobjects.eocontrol.EOEnterpriseObject anEOEnterpriseObject)

Description forthcoming.

validateObjectForSave

public Exception validateObjectForSave(Object anObject)

Description forthcoming.

validateValueForKey

public Object validateValueForKey( Object anObject, String aString)

Description forthcoming.

© 2001 Apple Computer, Inc. (Last Published April 13, 2001)


Table of Contents