org.nakedobjects.metamodel.facets.properties.searchable
Class SearchableFacetAbstract

java.lang.Object
  extended by org.nakedobjects.metamodel.facets.FacetAbstract
      extended by org.nakedobjects.metamodel.facets.MultipleValueFacetAbstract
          extended by org.nakedobjects.metamodel.facets.properties.searchable.SearchableFacetAbstract
All Implemented Interfaces:
Facet, MultipleValueFacet, SearchableFacet

public abstract class SearchableFacetAbstract
extends MultipleValueFacetAbstract
implements SearchableFacet


Constructor Summary
SearchableFacetAbstract(java.lang.Class<?> repository, boolean queryByExample, FacetHolder holder)
           
 
Method Summary
 boolean queryByExample()
          Whether this is a query by example search.
 java.lang.Class<?> repository()
          The (class of the) repository to delegate to.
static java.lang.Class<? extends Facet> type()
           
 
Methods inherited from class org.nakedobjects.metamodel.facets.FacetAbstract
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, toStringValues, unwrapObject, unwrapString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Constructor Detail

SearchableFacetAbstract

public SearchableFacetAbstract(java.lang.Class<?> repository,
                               boolean queryByExample,
                               FacetHolder holder)
Method Detail

type

public static java.lang.Class<? extends Facet> type()

repository

public java.lang.Class<?> repository()
Description copied from interface: SearchableFacet
The (class of the) repository to delegate to.

Specified by:
repository in interface SearchableFacet

queryByExample

public boolean queryByExample()
Description copied from interface: SearchableFacet
Whether this is a query by example search.

Specified by:
queryByExample in interface SearchableFacet


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