PATH |
Inherits from: com.webobjects.eocontrol.EOClassDescription
Package: com.webobjects.eoaccess
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.
public EOEntityClassDescription(EOEntity entity)
See Also: entity
public NSArray allAttributeKeys()
public NSArray allPropertyKeys()
public NSArray allToManyRelationshipKeys()
public NSArray allToOneRelationshipKeys()
public NSArray attributeKeys()
public void awakeObjectFromInsertion( com.webobjects.eocontrol.EOEnterpriseObject anEOEnterpriseObject, com.webobjects.eocontrol.EOEditingContext anEOEditingContext)
public com.webobjects.eocontrol.EOClassDescription classDescriptionForDestinationKey(String aString)
public NSArray clientAttributeKeys()
public NSArray clientToManyRelationshipKeys()
public NSArray clientToOneRelationshipKeys()
public com.webobjects.eocontrol.EOEnterpriseObject createInstanceWithEditingContext( com.webobjects.eocontrol.EOEditingContext anEOEditingContext, com.webobjects.eocontrol.EOGlobalID anEOGlobalID)
public java.text.Format defaultFormatterForKey(String aString)
public int deleteRuleForRelationshipKey(String aString)
public EOEntity entity()
See Also: EOEntityClassDescription
public NSArray allAttributeKeys()
public NSArray allPropertyKeys()
public NSArray allToManyRelationshipKeys()
public NSArray allToOneRelationshipKeys()
public NSArray attributeKeys()
public void awakeObjectFromInsertion( com.webobjects.eocontrol.EOEnterpriseObject anEOEnterpriseObject, com.webobjects.eocontrol.EOEditingContext anEOEditingContext)
public com.webobjects.eocontrol.EOClassDescription classDescriptionForDestinationKey(String aString)
public NSArray clientAttributeKeys()
public NSArray clientToManyRelationshipKeys()
public NSArray clientToOneRelationshipKeys()
public com.webobjects.eocontrol.EOEnterpriseObject createInstanceWithEditingContext( com.webobjects.eocontrol.EOEditingContext anEOEditingContext, com.webobjects.eocontrol.EOGlobalID anEOGlobalID)
public java.text.Format defaultFormatterForKey(String aString)
public int deleteRuleForRelationshipKey(String aString)
public EOEntity entity()
public String entityName()
public com.webobjects.eocontrol.EOFetchSpecification fetchSpecificationNamed(String aString)
public String inverseForRelationshipKey(String aString)
public boolean ownsDestinationObjectsForRelationshipKey(String aString)
protected Object readResolve()
public com.webobjects.eocontrol.EOClassDescription superClassDescription()
public NSArray toManyRelationshipKeys()
public NSArray toOneRelationshipKeys()
public void validateObjectForDelete(com.webobjects.eocontrol.EOEnterpriseObject anEOEnterpriseObject)
public Exception validateObjectForSave(Object anObject)
public Object validateValueForKey( Object anObject, String aString)
© 2001 Apple Computer, Inc. (Last Published April 13, 2001)