com.sas.dataselectors.filters
Class SimpleFilterDefinitionModelFactory

com.sas.dataselectors.filters.SimpleFilterDefinitionModelFactory

Deprecated.

public class SimpleFilterDefinitionModelFactory

This is the factory class for SimpleFilterDefinitionModelInterface instances. Right now, the only implementation it returns is the InformationMapToSimpleFilterDefinitionModelAdapter, but this can be expanded in the future.


Method Summary
static SimpleFilterDefinitionModelInterface getAdapter(java.lang.Object model)
          Deprecated. Returns a new adapter for the given model.
 

Method Detail

getAdapter

public static SimpleFilterDefinitionModelInterface getAdapter(java.lang.Object model)
Deprecated. 
Returns a new adapter for the given model. If the model is not an OLAPQueryInterface or DataSelection, an IllegalArgumentException is thrown. The initial selection is left empty.

Parameters:
model - the primary model.
Returns:
a new adapter or null if the model is null
Throws:
java.lang.IllegalArgumentException - if the model is anything other than an OLAPQueryInterface or a DataSelection.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.