Documentation Archive Developer
Search
PATH Documentation > WebObjects

Up

D2WQueryToManyField

Package: com.webobjects.directtoweb

Inherits from:QueryComponent

See Also:
D2WCustomQueryComponent

Class Description

This property-level component builds a query based on the value for a particular key of a destination object of a to-many relationship. Since this component does not traverse the relationship (unlike D2WQueryToManyRelationship), it is appropriate when the relationship has many objects.

Property-level components are not accessed programmatically. Instead, you use the Web Assistant to choose the property-level component that Direct to Web uses to display a property on a particular entity and task page. See the "Direct to Web" chapter of WebObjects Tools and Techniques for more information.

If you want to create property-level component to query based on a property, use D2WCustomQueryComponent.

Method Types


Constructors

Private Methods


Constructors


D2WQueryToManyField

public D2WQueryToManyField()

This method is intentionally undocumented. You should never have to invoke or customize it.
Methods


replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)

This method is intentionally undocumented. You should never have to invoke or customize it.



reset

public void reset()

This method is intentionally undocumented. You should never have to invoke or customize it.



setValue

public void setValue(Object anObject)

This method is intentionally undocumented. You should never have to invoke or customize it.



value

public Object value()

This method is intentionally undocumented. You should never have to invoke or customize it.



© 2001 Apple Computer, Inc.