Project Wonder 5.0

er.rest
Class MapClassDescription

java.lang.Object
  extended by com.webobjects.eocontrol.EOClassDescription
      extended by er.rest.MapClassDescription
All Implemented Interfaces:
java.io.Serializable

public class MapClassDescription
extends com.webobjects.eocontrol.EOClassDescription

MapClassDescription is an EOClassDescription that is made on the fly based on a Map (NSDictionary, etc) so that ERRest can render a dictionary as a node where the keys of the node are the keys of the dictionary.

See Also:
Serialized Form
Author:
mschrag

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eocontrol.EOClassDescription
com.webobjects.eocontrol.EOClassDescription.ClassDelegate
 
Field Summary
 
Fields inherited from class com.webobjects.eocontrol.EOClassDescription
_CLASS, ClassDescriptionNeededForClassNotification, ClassDescriptionNeededForEntityNameNotification, DeleteRuleCascade, DeleteRuleDeny, DeleteRuleNoAction, DeleteRuleNullify
 
Constructor Summary
MapClassDescription(java.util.Map<java.lang.String,?> map)
           
 
Method Summary
 com.webobjects.foundation.NSArray attributeKeys()
           
 com.webobjects.eocontrol.EOClassDescription classDescriptionForDestinationKey(java.lang.String detailKey)
           
 java.lang.Object createInstance()
           
 java.lang.String entityName()
           
protected  boolean isAttribute(java.lang.Class type)
           
protected  boolean isToMany(java.lang.Class type)
           
 com.webobjects.foundation.NSArray toManyRelationshipKeys()
           
 com.webobjects.foundation.NSArray toOneRelationshipKeys()
           
 
Methods inherited from class com.webobjects.eocontrol.EOClassDescription
_awakeFromRegistration, _concreteSubClassDescriptionForDeferredFault, _decimalFormatter, _enforcedKVCNumberClassForKey, _globalIDWithEntityName, _integerFormatter, _newDictionaryForProperties, _timestampFormatter, awakeObjectFromFetch, awakeObjectFromInsertion, classDelegate, classDescriptionForClass, classDescriptionForEntityName, classDescriptionForKeyPath, classForAttributeKey, clientAttributeKeys, clientToManyRelationshipKeys, clientToOneRelationshipKeys, createInstanceWithEditingContext, defaultFormatterForKey, defaultFormatterForKeyPath, deleteRuleForRelationshipKey, displayNameForKey, fetchSpecificationNamed, finalize, invalidateClassDescriptionCache, inverseForRelationshipKey, ownsDestinationObjectsForRelationshipKey, propagateDeleteForObject, registerClassDescription, setClassDelegate, superClassDescription, toString, userPresentableDescriptionForObject, validateObjectForDelete, validateObjectForSave, validateValueForKey
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapClassDescription

public MapClassDescription(java.util.Map<java.lang.String,?> map)
Method Detail

entityName

public java.lang.String entityName()
Overrides:
entityName in class com.webobjects.eocontrol.EOClassDescription

isAttribute

protected boolean isAttribute(java.lang.Class type)

isToMany

protected boolean isToMany(java.lang.Class type)

attributeKeys

public com.webobjects.foundation.NSArray attributeKeys()
Overrides:
attributeKeys in class com.webobjects.eocontrol.EOClassDescription

toOneRelationshipKeys

public com.webobjects.foundation.NSArray toOneRelationshipKeys()
Overrides:
toOneRelationshipKeys in class com.webobjects.eocontrol.EOClassDescription

toManyRelationshipKeys

public com.webobjects.foundation.NSArray toManyRelationshipKeys()
Overrides:
toManyRelationshipKeys in class com.webobjects.eocontrol.EOClassDescription

classDescriptionForDestinationKey

public com.webobjects.eocontrol.EOClassDescription classDescriptionForDestinationKey(java.lang.String detailKey)
Overrides:
classDescriptionForDestinationKey in class com.webobjects.eocontrol.EOClassDescription

createInstance

public java.lang.Object createInstance()

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.