Project Wonder 5.0

com.webobjects.woextensions
Class WOToOneRelationship

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by com.webobjects.woextensions.WOToOneRelationship
All Implemented Interfaces:
WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable

public class WOToOneRelationship
extends WOComponent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
protected  EODatabaseDataSource _dataSource
           
protected  String _destinationDisplayKey
           
protected  boolean _isMandatory
           
static String _noneString
           
protected  NSArray _privateList
           
protected  Object _privateSelection
           
protected  String _relationshipKey
           
protected  String _sourceEntityName
           
protected  Object _sourceObject
           
protected  String _uiStyle
           
protected  Object theCurrentItem
           
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
WOToOneRelationship(WOContext aContext)
           
 
Method Summary
protected  void _invalidateCaches()
           
protected  EODataSource _localDataSource()
           
protected  String _localDestinationDisplayKey()
           
protected  boolean _localIsMandatory()
           
protected  String _localRelationshipKey()
           
protected  String _localSourceEntityName()
           
protected  Object _localSourceObject()
           
protected  Object _localUiStyle()
           
protected  NSArray _privateList()
           
 Object _privateSelection()
           
 EODatabaseDataSource dataSource()
           
 String destinationDisplayKey()
           
 EOEntity entityWithEntityAndKeyPath(EOEntity entity, String keyPath)
           
 boolean isBrowser()
           
protected  boolean isMandatory()
           
 boolean isPopup()
           
 boolean isRadio()
           
 boolean isStateless()
           
 String relationshipKey()
           
 void reset()
           
 Object selection()
           
 void set_privateList(NSArray aValue)
           
 void set_privateSelection(Object aValue)
           
 void setDataSource(EODatabaseDataSource aValue)
           
 void setDestinationDisplayKey(String aValue)
           
 void setIsMandatory(Object aValue)
           
 void setRelationshipKey(String aValue)
           
 void setSelection(Object anEO)
           
 void setSourceEntityName(String aValue)
           
 void setSourceObject(Object aValue)
           
 void setTheCurrentItem(Object aValue)
           
 void setTheList(NSArray aValue)
           
 void setUiStyle(String aValue)
           
 String sourceEntityName()
           
 Object sourceObject()
           
 Object theCurrentItem()
           
 Object theCurrentValue()
           
 NSArray theList()
           
 String uiStyle()
           
 void updateSourceObject(Object anEO)
           
 
Methods inherited from class com.webobjects.appserver.WOComponent
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_sourceEntityName

protected String _sourceEntityName

_relationshipKey

protected String _relationshipKey

_sourceObject

protected Object _sourceObject

_destinationDisplayKey

protected String _destinationDisplayKey

_dataSource

protected EODatabaseDataSource _dataSource

_uiStyle

protected String _uiStyle

_isMandatory

protected boolean _isMandatory

theCurrentItem

protected Object theCurrentItem

_privateList

protected NSArray _privateList

_privateSelection

protected Object _privateSelection

_noneString

public static final String _noneString
See Also:
Constant Field Values
Constructor Detail

WOToOneRelationship

public WOToOneRelationship(WOContext aContext)
Method Detail

isStateless

public boolean isStateless()
Overrides:
isStateless in class WOComponent

sourceEntityName

public String sourceEntityName()

setSourceEntityName

public void setSourceEntityName(String aValue)

relationshipKey

public String relationshipKey()

setRelationshipKey

public void setRelationshipKey(String aValue)

sourceObject

public Object sourceObject()

setSourceObject

public void setSourceObject(Object aValue)

destinationDisplayKey

public String destinationDisplayKey()

setDestinationDisplayKey

public void setDestinationDisplayKey(String aValue)

dataSource

public EODatabaseDataSource dataSource()

setDataSource

public void setDataSource(EODatabaseDataSource aValue)

uiStyle

public String uiStyle()

setUiStyle

public void setUiStyle(String aValue)

isMandatory

protected boolean isMandatory()

setIsMandatory

public void setIsMandatory(Object aValue)

theCurrentItem

public Object theCurrentItem()

setTheCurrentItem

public void setTheCurrentItem(Object aValue)

_privateList

protected NSArray _privateList()

set_privateList

public void set_privateList(NSArray aValue)

_privateSelection

public Object _privateSelection()

set_privateSelection

public void set_privateSelection(Object aValue)

_invalidateCaches

protected void _invalidateCaches()

reset

public void reset()
Overrides:
reset in class WOComponent

_localSourceObject

protected Object _localSourceObject()

_localIsMandatory

protected boolean _localIsMandatory()

_localSourceEntityName

protected String _localSourceEntityName()

_localRelationshipKey

protected String _localRelationshipKey()

_localDestinationDisplayKey

protected String _localDestinationDisplayKey()

entityWithEntityAndKeyPath

public EOEntity entityWithEntityAndKeyPath(EOEntity entity,
                                           String keyPath)

_localDataSource

protected EODataSource _localDataSource()

_localUiStyle

protected Object _localUiStyle()

updateSourceObject

public void updateSourceObject(Object anEO)

setSelection

public void setSelection(Object anEO)

selection

public Object selection()

theList

public NSArray theList()

setTheList

public void setTheList(NSArray aValue)

theCurrentValue

public Object theCurrentValue()

isRadio

public boolean isRadio()

isPopup

public boolean isPopup()

isBrowser

public boolean isBrowser()

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.