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

com.sas.iquery.metadata.business
Interface UsabilityInterface

All Known Subinterfaces:
BusinessGroup, BusinessItem, BusinessModel, BusinessModelObject, BusinessModelResource, BusinessModelResourceReferencer, BusinessRule, CompoundFilter, DataItem, DataItemContainerExpression, DataItemReference, DataSelection, DrillThroughToDetail, ExpressionInterface, FilterCascadeRule, FilterItem, Governing, InformationMap, ModelItem, ModelItemWithIdentity, Prompt, StepFilterInterface, StepInterface
All Known Implementing Classes:
com.sas.iquery.metadata.impl.AbstractExpression, com.sas.iquery.metadata.business.impl.AbstractFilterCascade, com.sas.iquery.metadata.business.impl.AbstractModelItem, AbstractRelativeTimeValueExpression, AbstractTimeValueExpression, BaseFilter, BaseFilterExpression, BusinessGroupMemberFilterExpression, BusinessQueryDataBasedFilter, BusinessQueryRankFilter, BusinessQueryTupleFilter, ChangeHistoryItem, CompoundConditionalExpression, CompoundStep, ConditionalExpression, ConstantExpression, DataBasedFilterExpression, DataBasedFilterExpression_Between, DataItemMemberFilter, DataItemMemberPropertiesFilter, DataItemNavigationFilter, DataItemRankFilter, DataItemRankFilter, DataItemTimeFilter, DataItemTimeFirstLastPeriodsFilter, DataItemTimeNParallelPeriodsFilter, DataItemTimeNPeriodsFilter, DataItemTimeRangeFilter, DateValueExpression, Drill, FilterCascade, FractionOfTotalExpression, FunctionCall, Lookup, LookupByDataItem, LookupList, LookupNotAllowed, LookupValue, MemberFilterExpression, MultipleConditionalExpression, PromptedTimeRangeFilter, RelationalConditionalExpression, RelativeDateValueExpression, RelativeTimestampValueExpression, ResourceAwareStringExpression, SelectedItem, SimpleConditionalExpression_Between, SimpleConditionalExpression_Comparison, SimpleConditionalExpression_Contains, SimpleConditionalExpression_In, SimpleConditionalExpression_Like, SimpleConditionalExpression_TestForNull, StringExpression, TimeExpressionMeasure, TimeFilterExpression, TimeFilterFirstLastPeriodsExpression, TimeFilterNParallelPeriodsExpression, TimeFilterNPeriodsExpression, TimeRangeFilterExpression, TimestampValueExpression, TimeValueExpression, TupleFilterMemberQualifier

public interface UsabilityInterface

Specifies objects that can be asked if they are usable in a business query and what the reasons are if they are not usable.


Method Summary
 java.util.List<Reason> getReasonsUnusable()
          Return a list of reasons why this object (and by association, any object that is used in this object's definition) is not usable in a business query.
 boolean isUsableInQuery()
          Returns true if this object is usable in a business query.
 

Method Detail

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

isUsableInQuery

boolean isUsableInQuery()
Returns true if this object is usable in a business query.

If this object is not usable, one can call getReasonsUnusable() to find why the object is not usable in a business query.

Returns:
true if this object is usable in a business query

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

getReasonsUnusable

java.util.List<Reason> getReasonsUnusable()
Return a list of reasons why this object (and by association, any object that is used in this object's definition) is not usable in a business query.

An empty list is returned if the object is usable in a business query.

Returns:
a List of Reason objects indicating why this object is unusable in a business query. The list may be empty, but never null.

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.