Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Direct to Web

D2WQueryToOneRelationship

Package:

Inherits from:D2WQueryRelationship

See Also:
D2WQueryToOneField
D2WCustomQueryComponent

Class Description

This property-level component builds a query based on the value for a particular key of a destionation object of a to-one relationship. Since the component fetches all of the objects that can appear in the relationship, it is slower than the D2WQueryToOneField component.

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


D2WQueryToOneRelationship

public D2WQueryToOneRelationship()

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