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:
com.webobjects.appserver.WOActionResults, com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, com.webobjects.foundation.NSValidation, java.io.Serializable, java.lang.Cloneable

public class WOToOneRelationship
extends com.webobjects.appserver.WOComponent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
 
Field Summary
protected  com.webobjects.eoaccess.EODatabaseDataSource _dataSource
           
protected  java.lang.String _destinationDisplayKey
           
protected  boolean _isMandatory
           
static java.lang.String _noneString
           
protected  com.webobjects.foundation.NSArray _privateList
           
protected  java.lang.Object _privateSelection
           
protected  java.lang.String _relationshipKey
           
protected  java.lang.String _sourceEntityName
           
protected  java.lang.Object _sourceObject
           
protected  java.lang.String _uiStyle
           
protected  java.lang.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(com.webobjects.appserver.WOContext aContext)
           
 
Method Summary
protected  void _invalidateCaches()
           
protected  com.webobjects.eocontrol.EODataSource _localDataSource()
           
protected  java.lang.String _localDestinationDisplayKey()
           
protected  boolean _localIsMandatory()
           
protected  java.lang.String _localRelationshipKey()
           
protected  java.lang.String _localSourceEntityName()
           
protected  java.lang.Object _localSourceObject()
           
protected  java.lang.Object _localUiStyle()
           
protected  com.webobjects.foundation.NSArray _privateList()
           
 java.lang.Object _privateSelection()
           
 com.webobjects.eoaccess.EODatabaseDataSource dataSource()
           
 java.lang.String destinationDisplayKey()
           
 com.webobjects.eoaccess.EOEntity entityWithEntityAndKeyPath(com.webobjects.eoaccess.EOEntity entity, java.lang.String keyPath)
           
 boolean isBrowser()
           
protected  boolean isMandatory()
           
 boolean isPopup()
           
 boolean isRadio()
           
 boolean isStateless()
           
 java.lang.String relationshipKey()
           
 void reset()
           
 java.lang.Object selection()
           
 void set_privateList(com.webobjects.foundation.NSArray aValue)
           
 void set_privateSelection(java.lang.Object aValue)
           
 void setDataSource(com.webobjects.eoaccess.EODatabaseDataSource aValue)
           
 void setDestinationDisplayKey(java.lang.String aValue)
           
 void setIsMandatory(java.lang.Object aValue)
           
 void setRelationshipKey(java.lang.String aValue)
           
 void setSelection(java.lang.Object anEO)
           
 void setSourceEntityName(java.lang.String aValue)
           
 void setSourceObject(java.lang.Object aValue)
           
 void setTheCurrentItem(java.lang.Object aValue)
           
 void setTheList(com.webobjects.foundation.NSArray aValue)
           
 void setUiStyle(java.lang.String aValue)
           
 java.lang.String sourceEntityName()
           
 java.lang.Object sourceObject()
           
 java.lang.Object theCurrentItem()
           
 java.lang.Object theCurrentValue()
           
 com.webobjects.foundation.NSArray theList()
           
 java.lang.String uiStyle()
           
 void updateSourceObject(java.lang.Object anEO)
           
 
Methods inherited from class com.webobjects.appserver.WOComponent
_associationWithName, _awakeInContext, _childTemplate, _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, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_sourceEntityName

protected java.lang.String _sourceEntityName

_relationshipKey

protected java.lang.String _relationshipKey

_sourceObject

protected java.lang.Object _sourceObject

_destinationDisplayKey

protected java.lang.String _destinationDisplayKey

_dataSource

protected com.webobjects.eoaccess.EODatabaseDataSource _dataSource

_uiStyle

protected java.lang.String _uiStyle

_isMandatory

protected boolean _isMandatory

theCurrentItem

protected java.lang.Object theCurrentItem

_privateList

protected com.webobjects.foundation.NSArray _privateList

_privateSelection

protected java.lang.Object _privateSelection

_noneString

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

WOToOneRelationship

public WOToOneRelationship(com.webobjects.appserver.WOContext aContext)
Method Detail

isStateless

public boolean isStateless()
Overrides:
isStateless in class com.webobjects.appserver.WOComponent

sourceEntityName

public java.lang.String sourceEntityName()

setSourceEntityName

public void setSourceEntityName(java.lang.String aValue)

relationshipKey

public java.lang.String relationshipKey()

setRelationshipKey

public void setRelationshipKey(java.lang.String aValue)

sourceObject

public java.lang.Object sourceObject()

setSourceObject

public void setSourceObject(java.lang.Object aValue)

destinationDisplayKey

public java.lang.String destinationDisplayKey()

setDestinationDisplayKey

public void setDestinationDisplayKey(java.lang.String aValue)

dataSource

public com.webobjects.eoaccess.EODatabaseDataSource dataSource()

setDataSource

public void setDataSource(com.webobjects.eoaccess.EODatabaseDataSource aValue)

uiStyle

public java.lang.String uiStyle()

setUiStyle

public void setUiStyle(java.lang.String aValue)

isMandatory

protected boolean isMandatory()

setIsMandatory

public void setIsMandatory(java.lang.Object aValue)

theCurrentItem

public java.lang.Object theCurrentItem()

setTheCurrentItem

public void setTheCurrentItem(java.lang.Object aValue)

_privateList

protected com.webobjects.foundation.NSArray _privateList()

set_privateList

public void set_privateList(com.webobjects.foundation.NSArray aValue)

_privateSelection

public java.lang.Object _privateSelection()

set_privateSelection

public void set_privateSelection(java.lang.Object aValue)

_invalidateCaches

protected void _invalidateCaches()

reset

public void reset()
Overrides:
reset in class com.webobjects.appserver.WOComponent

_localSourceObject

protected java.lang.Object _localSourceObject()

_localIsMandatory

protected boolean _localIsMandatory()

_localSourceEntityName

protected java.lang.String _localSourceEntityName()

_localRelationshipKey

protected java.lang.String _localRelationshipKey()

_localDestinationDisplayKey

protected java.lang.String _localDestinationDisplayKey()

entityWithEntityAndKeyPath

public com.webobjects.eoaccess.EOEntity entityWithEntityAndKeyPath(com.webobjects.eoaccess.EOEntity entity,
                                                                   java.lang.String keyPath)

_localDataSource

protected com.webobjects.eocontrol.EODataSource _localDataSource()

_localUiStyle

protected java.lang.Object _localUiStyle()

updateSourceObject

public void updateSourceObject(java.lang.Object anEO)

setSelection

public void setSelection(java.lang.Object anEO)

selection

public java.lang.Object selection()

theList

public com.webobjects.foundation.NSArray theList()

setTheList

public void setTheList(com.webobjects.foundation.NSArray aValue)

theCurrentValue

public java.lang.Object theCurrentValue()

isRadio

public boolean isRadio()

isPopup

public boolean isPopup()

isBrowser

public boolean isBrowser()

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

Copyright © 2002 – 2007 Project Wonder.