net.wotonomy.access
Class EOEntityClassDescription

java.lang.Object
  extended by net.wotonomy.control.EOClassDescription
      extended by net.wotonomy.access.EOEntityClassDescription

public class EOEntityClassDescription
extends EOClassDescription

Version:
$Revision: 894 $
Author:
ezamudio@nasoft.com, $Author: cgruber $

Field Summary
protected  EOEntity _entity
           
 
Fields inherited from class net.wotonomy.control.EOClassDescription
ClassDescriptionNeededForClassNotification, ClassDescriptionNeededForEntityNameNotification, DeleteRuleCascade, DeleteRuleDeny, DeleteRuleNoAction, DeleteRuleNullify, theClass
 
Constructor Summary
EOEntityClassDescription()
           
EOEntityClassDescription(EOEntity entity)
           
 
Method Summary
 net.wotonomy.foundation.NSArray allAttributeKeys()
           
 net.wotonomy.foundation.NSArray allPropertyKeys()
           
 net.wotonomy.foundation.NSArray allToManyRelationshipKeys()
           
 net.wotonomy.foundation.NSArray allToOneRelationshipKeys()
           
 net.wotonomy.foundation.NSArray attributeKeys()
          Returns all attributes that correspond to columns in a database table.
 EOClassDescription classDescriptionForDestinationKey(java.lang.String key)
          Returns the class decription for the object referenced by the specified relationship key, or null if the class description cannot be determined for that key.
 net.wotonomy.foundation.NSArray clientAttributeKeys()
           
 net.wotonomy.foundation.NSArray clientToManyRelationshipKeys()
           
 net.wotonomy.foundation.NSArray clientToOneRelationshipKeys()
           
 java.lang.Object createInstanceWithEditingContext(EOEditingContext ec, EOGlobalID gid)
          Creates a new instance of the class represented by this class description, registering it with the specified editing context and global id.
 EOEntity entity()
           
 java.lang.String entityName()
          Returns a human-readable title for the class of objects that this class description represents.
 EOFetchSpecification fetchSpecificationNamed(java.lang.String name)
          Returns the fetch specification associated with this class description that corresponds to the specified name, or null if not found.
 net.wotonomy.foundation.NSArray toManyRelationshipKeys()
          Returns a List of the "to many" relationships for this class.
 net.wotonomy.foundation.NSArray toOneRelationshipKeys()
          Returns a List of the "to one" relationships for this class.
 
Methods inherited from class net.wotonomy.control.EOClassDescription
awakeObjectFromFetch, awakeObjectFromInsertion, classDescriptionForClass, classDescriptionForEntityName, deleteRuleForRelationshipKey, displayNameForKey, getDescribedClass, invalidateClassDescriptionCache, inverseForRelationshipKey, ownsDestinationObjectsForRelationshipKey, propagateDeleteForObject, registerClassDescription, userPresentableDescriptionForObject, validateObjectForDelete, validateObjectForSave, validateValueForKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_entity

protected EOEntity _entity
Constructor Detail

EOEntityClassDescription

public EOEntityClassDescription()

EOEntityClassDescription

public EOEntityClassDescription(EOEntity entity)
Method Detail

allAttributeKeys

public net.wotonomy.foundation.NSArray allAttributeKeys()

allPropertyKeys

public net.wotonomy.foundation.NSArray allPropertyKeys()

allToManyRelationshipKeys

public net.wotonomy.foundation.NSArray allToManyRelationshipKeys()

allToOneRelationshipKeys

public net.wotonomy.foundation.NSArray allToOneRelationshipKeys()

attributeKeys

public net.wotonomy.foundation.NSArray attributeKeys()
Returns all attributes that correspond to columns in a database table.

Overrides:
attributeKeys in class EOClassDescription

classDescriptionForDestinationKey

public EOClassDescription classDescriptionForDestinationKey(java.lang.String key)
Description copied from class: EOClassDescription
Returns the class decription for the object referenced by the specified relationship key, or null if the class description cannot be determined for that key. This implementation returns null.

Overrides:
classDescriptionForDestinationKey in class EOClassDescription

clientAttributeKeys

public net.wotonomy.foundation.NSArray clientAttributeKeys()

clientToManyRelationshipKeys

public net.wotonomy.foundation.NSArray clientToManyRelationshipKeys()

clientToOneRelationshipKeys

public net.wotonomy.foundation.NSArray clientToOneRelationshipKeys()

entity

public EOEntity entity()

entityName

public java.lang.String entityName()
Description copied from class: EOClassDescription
Returns a human-readable title for the class of objects that this class description represents. For example, class CustomerObject might return "Customer". This implementation returns the class name.

Overrides:
entityName in class EOClassDescription

fetchSpecificationNamed

public EOFetchSpecification fetchSpecificationNamed(java.lang.String name)
Description copied from class: EOClassDescription
Returns the fetch specification associated with this class description that corresponds to the specified name, or null if not found. This implementation returns null.

Overrides:
fetchSpecificationNamed in class EOClassDescription

toManyRelationshipKeys

public net.wotonomy.foundation.NSArray toManyRelationshipKeys()
Description copied from class: EOClassDescription
Returns a List of the "to many" relationships for this class. This implementation returns an empty list.

Overrides:
toManyRelationshipKeys in class EOClassDescription

toOneRelationshipKeys

public net.wotonomy.foundation.NSArray toOneRelationshipKeys()
Description copied from class: EOClassDescription
Returns a List of the "to one" relationships for this class. This implementation returns an empty list.

Overrides:
toOneRelationshipKeys in class EOClassDescription

createInstanceWithEditingContext

public java.lang.Object createInstanceWithEditingContext(EOEditingContext ec,
                                                         EOGlobalID gid)
Description copied from class: EOClassDescription
Creates a new instance of the class represented by this class description, registering it with the specified editing context and global id. The class description may not keep references to the newly created object. The editing context and/or the id may be null. This implementation constructs a new instance of the class and registers it with the specified editing context. If the global id is specified, the object will be populated with the appropriate data, otherwise the object will be treated as a newly inserted object. If no editing context is specified, the global id is ignored and the new instance of the class is returned.

Overrides:
createInstanceWithEditingContext in class EOClassDescription


Copyright © 2006 null. All Rights Reserved.