com.webobjects.eointerface
Class EOMasterAssociation
java.lang.Object
|
+--com.webobjects.eocontrol.EODelayedObserver
|
+--com.webobjects.eointerface.EOAssociation
|
+--com.webobjects.eointerface.EOMasterAssociation
- All Implemented Interfaces:
- EOObserving, NSDisposable
- Direct Known Subclasses:
- EOMasterCopyAssociation, EOMasterDetailAssociation
- public abstract class EOMasterAssociation
- extends EOAssociation
EOMasterAssociation is the abstract superclass of associations
that link a master display group with a second, "child" display
group. Use one of the concrete subclasses:
EOMasterDetailAssociation, EOMasterPeerAssociation, or
EOMasterCopyAssociation.
- See Also:
EOMasterDetailAssociation
,
EOMasterPeerAssociation
,
EOMasterCopyAssociation
Fields inherited from class com.webobjects.eointerface.EOAssociation |
ActionAspect, ArgumentAspect, AttributeAspectSignature, AttributeToManyAspectSignature, AttributeToOneAspectSignature, AttributeToOneToManyAspectSignature, BackgroundColorAspect, BoldAspect, ChildrenAspect, DestinationAspect, EnabledAspect, ExpandedIconAspect, IconAspect, IgnoreValue, IsLeafAspect, ItalicAspect, MatchKey1Aspect, MatchKey2Aspect, MatchKey3Aspect, NullAspectSignature, ParentAspect, RootAspect, SelectedIndexAspect, SelectedObjectAspect, SelectedTitleAspect, SetValue, SourceAspect, TextColorAspect, TitlesAspect, ToManyAspectSignature, ToOneAspectSignature, ToOneToManyAspectSignature, UnsetValue, URLAspect, ValueAspect |
Constructor Summary |
EOMasterAssociation(Object object)
Used by subclasses of EOMasterAssociation to initialize data
structures and set object as the display group
that the association manages. |
Method Summary |
boolean |
isUsableWithObject(Object object)
Returns true if object is an instance of EODisplayGroup. |
String |
primaryAspect()
Overridden by subclasses to return the default aspect. |
int |
priority()
Returns the receiver's change notification priority. |
Methods inherited from class com.webobjects.eointerface.EOAssociation |
aspects, aspectSignatures, associationClassesForObject, bindAspect, breakConnection, copyMatchingBindingsFromAssociation, displayGroupForAspect, displayGroupKeyForAspect, dispose, endEditing, establishConnection, isConnected, isEnabled, isEnabledAtIndex, isExplicitlyDisabled, object, objectKeysTaken, registerAssociationClass, setExplicitlyDisabled, setObject, setValueForAspect, setValueForAspectAtIndex, shouldEndEditing, shouldEndEditingAtIndex, subjectChanged, valueForAspect, valueForAspectAtIndex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOMasterAssociation
public EOMasterAssociation(Object object)
- Used by subclasses of EOMasterAssociation to initialize data
structures and set
object
as the display group
that the association manages.
- Parameters:
object
- display object for this association
to manage; subclasses should call super
and pass in a display group as the object
parameter
isUsableWithObject
public boolean isUsableWithObject(Object object)
- Returns
true
if object
is an instance of EODisplayGroup.
- Overrides:
isUsableWithObject
in class EOAssociation
- Parameters:
object
- this method should verify that object
is usable
with the association- Returns:
true
if object
is an instance of EODisplayGroup- See Also:
EOAssociation.isUsableWithObject(java.lang.Object)
primaryAspect
public String primaryAspect()
- Overridden by subclasses to return the default aspect.
- Overrides:
primaryAspect
in class EOAssociation
- Returns:
- EOMasterAssociation's implementation returns
EOAssociation.ParentAspect
- See Also:
EOAssociation.primaryAspect()
priority
public int priority()
- Returns the receiver's change notification priority. For more
information, see the EODelayedObserver class specification (EOControl).
- Overrides:
priority
in class EOAssociation
- Returns:
- EOAssociation's implementation returns
ObserverPrioritySecond
- See Also:
EODelayedObserver
Copyright © 2003 Apple Computer, Inc.