org.nakedobjects.metamodel.facets.properties.searchable
Interface SearchableFacet

All Superinterfaces:
Facet, MultipleValueFacet
All Known Implementing Classes:
SearchableFacetAbstract

public interface SearchableFacet
extends MultipleValueFacet

Indicates that this property should be used as part of a generic searching capability (for example, query by example).

In the standard Naked Objects Programming Model, corresponds to annotating the property with the @Searchable annotation.

TODO: not yet implemented by the framework or any viewer. Originally introduced for the nakedrcp.sourceforge.net viewer as an extension point plug-in for the Search menu ( org.eclipse.search.searchPages).


Method Summary
 boolean queryByExample()
          Whether this is a query by example search.
 java.lang.Class<?> repository()
          The (class of the) repository to delegate to.
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Method Detail

repository

java.lang.Class<?> repository()
The (class of the) repository to delegate to.


queryByExample

boolean queryByExample()
Whether this is a query by example search.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.