PATH  Documentation > WebObjects 4.5 > Direct to Web

D2WQueryToOneField

Package:

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-one relationship. It does not traverse the relationship.

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


D2WQueryToOneField

public D2WQueryToOneField()

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.