public class ERDDefaultIDAssignment extends ERDAssignment
idForProperty
idForSection
idForPageConfiguration
idForEmbeddedPageConfiguration
idForEmbeddedProperty
idForForm
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support
Modifier and Type | Field and Description |
---|---|
protected static NSDictionary |
keys
holds the array of keys this assignment depends upon
|
D2WContextClassArray, log
_CLASS
Constructor and Description |
---|
ERDDefaultIDAssignment(EOKeyValueUnarchiver u)
Public constructor
|
ERDDefaultIDAssignment(String key,
Object value)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
Static constructor required by the EOKeyValueUnarchiver
interface.
|
NSArray |
dependentKeys(String keyPath)
Implementation of the
ERDComputingAssignmentInterface . |
Object |
idForEmbeddedPageConfiguration(com.webobjects.directtoweb.D2WContext c)
A DOM id based on the pageConfig + primaryKey
|
Object |
idForEmbeddedProperty(com.webobjects.directtoweb.D2WContext c)
a DOM id based on the triple <task, entity, propertyKey, pk>
|
Object |
idForForm(com.webobjects.directtoweb.D2WContext c)
A DOM id based on the pageConfig
|
Object |
idForPageConfiguration(com.webobjects.directtoweb.D2WContext c)
A DOM id based on the pageConfig
|
Object |
idForProperty(com.webobjects.directtoweb.D2WContext c)
a DOM id based on the triple <task, entity, propertyKey>
|
Object |
idForSection(com.webobjects.directtoweb.D2WContext c)
A DOM id based on the pageConfig and sectionKey
|
booleanContextValueForKey, fire, keyForMethodLookup, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, localizerForContext, logDeprecatedMessage
protected static final NSDictionary keys
public ERDDefaultIDAssignment(EOKeyValueUnarchiver u)
u
- key-value unarchiver used when unarchiving
from rule files.public NSArray dependentKeys(String keyPath)
ERDComputingAssignmentInterface
. This array
of keys is used when constructing the
significant keys for the passed in keyPath.keyPath
- to compute significant keys for.public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
eokeyvalueunarchiver
- to be unarchivedpublic Object idForProperty(com.webobjects.directtoweb.D2WContext c)
c
- d2w contextpublic Object idForEmbeddedProperty(com.webobjects.directtoweb.D2WContext c)
c
- d2w contextpublic Object idForPageConfiguration(com.webobjects.directtoweb.D2WContext c)
c
- d2w contextpublic Object idForEmbeddedPageConfiguration(com.webobjects.directtoweb.D2WContext c)
c
- d2w contextpublic Object idForSection(com.webobjects.directtoweb.D2WContext c)
c
- d2w contextpublic Object idForForm(com.webobjects.directtoweb.D2WContext c)
c
- d2w contextCopyright © 2002 – 2024 Project Wonder.