com.webobjects.appserver
Class WOKeyValueAssociationFactory
java.lang.Object
com.webobjects.appserver.WOKeyValueAssociationFactory
- All Implemented Interfaces:
- WOAssociationFactory
public class WOKeyValueAssociationFactory
- extends Object
- implements WOAssociationFactory
Abstract implementation of WOAssociationFactory that implements
creating constant and keyvalue associations.
It does not handle Schemed associations. This class is meant to
be subclassed to provide schemed associations in another way.
- Since:
- 5.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WOKeyValueAssociationFactory
public WOKeyValueAssociationFactory()
createAssociation
public WOAssociation createAssociation(String scheme,
Object value)
- Calls WOAssociation.associationWithKeyPath(). The value parameter
should be a string representing a Key-Value Coding expression.
- Specified by:
createAssociation
in interface WOAssociationFactory
- Parameters:
scheme
- Scheme namevalue
- Key-Value Coding expression
- Returns:
- WOAssociation
Copyright © 2000-2008 Apple Inc.