PATH  Documentation > WebObjects 4.5 > Direct to Web

D2WQueryAnyField

Package:

Inherits from:QueryComponent


Class Description

This property-level component builds a query based on the destination objects of a relationship. The user can specify the key for an attribute of the destination object and a value the attribute must have. This object does not traverse the relationship making it appropriate for relationships that contain 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



Constructors


D2WQueryAnyField

public D2WQueryAnyField()

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


componentsForDisplayKeyList

public String componentsForDisplayKeyList()

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



componentsForKeyList

public String componentsForKeyList()

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



relationshipContext

public D2WContext relationshipContext()

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



relationshipContextDisplayAttributesKeys

public NSArray relationshipContextDisplayAttributesKeys()

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



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.



selectedKey

public String selectedKey()

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



setSelectedKey

public void setSelectedKey(String)

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



variableNameForKeyList

public String variableNameForKeyList()

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