***  This interface is subject to change.  ***

com.sas.iquery.metadata.business
Interface BusinessModelResourceReferencer

All Superinterfaces:
Base, java.util.EventListener, PropertyChangeListenee, java.beans.PropertyChangeListener, UsabilityInterface
All Known Subinterfaces:
BusinessGroup, BusinessItem, BusinessModel, BusinessModelObject, BusinessRule, CompoundFilter, DataItem, DataItemContainerExpression, DataItemReference, DataSelection, DrillThroughToDetail, ExpressionInterface, FilterCascadeRule, FilterItem, Governing, InformationMap, Prompt, StepFilterInterface, StepInterface
All Known Implementing Classes:
com.sas.iquery.metadata.impl.AbstractExpression, AbstractRelativeTimeValueExpression, AbstractTimeValueExpression, BaseFilter, BaseFilterExpression, BusinessGroupMemberFilterExpression, BusinessQueryDataBasedFilter, BusinessQueryRankFilter, BusinessQueryTupleFilter, CompoundConditionalExpression, CompoundStep, ConditionalExpression, ConstantExpression, DataBasedFilterExpression, DataBasedFilterExpression_Between, DataItemMemberFilter, DataItemMemberPropertiesFilter, DataItemNavigationFilter, DataItemRankFilter, DataItemRankFilter, DataItemTimeFilter, DataItemTimeFirstLastPeriodsFilter, DataItemTimeNParallelPeriodsFilter, DataItemTimeNPeriodsFilter, DataItemTimeRangeFilter, DateValueExpression, FractionOfTotalExpression, FunctionCall, MemberFilterExpression, MultipleConditionalExpression, PromptedTimeRangeFilter, RelationalConditionalExpression, RelativeDateValueExpression, RelativeTimestampValueExpression, ResourceAwareStringExpression, SimpleConditionalExpression_Between, SimpleConditionalExpression_Comparison, SimpleConditionalExpression_Contains, SimpleConditionalExpression_In, SimpleConditionalExpression_Like, SimpleConditionalExpression_TestForNull, StringExpression, TimeExpressionMeasure, TimeFilterExpression, TimeFilterFirstLastPeriodsExpression, TimeFilterNParallelPeriodsExpression, TimeFilterNPeriodsExpression, TimeRangeFilterExpression, TimestampValueExpression, TimeValueExpression, TupleFilterMemberQualifier

public interface BusinessModelResourceReferencer
extends Base, UsabilityInterface

Specifies an object that can reference one or more BusinessModelResource objects. Every object that can reference a BusinessModelResource must be able to be asked if can be used in a business query because the resource might not be set or might be unresolved.


Field Summary
 
Fields inherited from interface com.sas.iquery.metadata.business.Base
EVENT_OBJECT_DEFINITION_CHANGED
 
Method Summary
 java.util.List getResources(java.lang.Class c, int flags)
          Returns a list of resources this expression references.
 
Methods inherited from interface com.sas.iquery.metadata.PropertyChangeListenee
addListener, getListeners, removeListener
 
Methods inherited from interface com.sas.iquery.metadata.business.UsabilityInterface
getReasonsUnusable, isUsableInQuery
 

Method Detail

***  This method is subject to change.  ***

getResources

java.util.List getResources(java.lang.Class c,
                            int flags)
Returns a list of resources this expression references.

Parameters:
c - class of resources being looked for.
The class specified should be an interface or class that extends BusinessModelResource.
flags - search definition flags
These are defined in BusinessModel that define:
BusinessModel.SEARCH_NONRECURSIVELY - non-recursive search
BusinessModel.SEARCH_THRU_SUBDATAITEMS - search recursively through DataItems
BusinessModel.SEARCH_THRU_SUBFILTERS - search recursively through FilterItems
BusinessModel.SEARCH_THRU_PROMPTS - search recursively through Prompts
BusinessModel.SEARCH_THRU_ALL - recursive search through all
Returns:
List of Objects that pass the search criteria
See Also:
BusinessModelResource, BusinessModel, BusinessModel.SEARCH_NONRECURSIVELY, BusinessModel.SEARCH_THRU_ALL, BusinessModel.SEARCH_THRU_SUBFILTERS, BusinessModel.SEARCH_THRU_SUBDATAITEMS, BusinessModel.SEARCH_THRU_PROMPTS

***  This interface is subject to change.  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.