Uses of Class
com.sas.iquery.metadata.business.Reason

Packages that use Reason
com.sas.iquery Provides an API that enables an application to present information in business terms rather than database schema terms and to create queries to retrieve the underlying physical data. 
com.sas.iquery.dataretrieval Provides entry points that are used to retrieve result data by executing queries (data selections). 
com.sas.iquery.dataservices Provides utility classes and methods that are used to read information maps and retrieve filter values. 
com.sas.iquery.generation2 Provides interfaces and exceptions that are related to SAS Query Services query generation. 
com.sas.iquery.metadata Top-level package for SAS Query Services's three models, the business model, physical model, and expression model, which are all used in defining information maps and data selections. 
com.sas.iquery.metadata.business The main package that provides modeling for SAS Query Services's two business models (information maps and data selections), which provide a logical layer of metadata modeling above the physical layer model. 
com.sas.iquery.metadata.business.step Provides a set of modeled "step" operations that can be applied, in a particular order, to data items and business queries to modify the results of a query. 
com.sas.iquery.metadata.business.step.olap Provides a set of modeled "step" operations that can be applied, in a particular order, to OLAP data items and business queries in order to filter the data that gets returned when business queries are executed. 
com.sas.iquery.metadata.expr Provides classes that are used to model expressions, which are used to compose data items and filters. 
com.sas.iquery.metadata.expr.olap Provides classes used to define OLAP expressions usable within a business model for defining portions of an OLAP business query. 
com.sas.iquery.metadata.expr.relational Provides classes that are used to model relational database expressions which are typically used when defining the expression portion of filters. 
com.sas.iquery.metadata.serverprop Provides specific information (via a ServerProperties object) about the capabilities of the server, such as operators and recognized functions. 
com.sas.iquery.util Utility classes that SAS Query Services makes available for use with its models. 
 

Uses of Reason in com.sas.iquery
 

Fields in com.sas.iquery with type parameters of type Reason
protected  java.util.List<Reason> IQueryServicesException._reasons
          Unmodifiable list of reasons for this exception.
 

Methods in com.sas.iquery that return Reason
 Reason IQueryServicesException.getFirstReason()
          Deprecated. deprecated in 9.3, to be removed in 9.4. Providing a getFirstReason() method is inappropriate to this API. If the caller desires to get the first reason, this should be done in the caller code, as in:
 IQueryServericsException e = x ; // some IQ exception
 Reason reason = null;
 if ( !e.getReasons().isEmpty()) {
    reason = e.getReason(1); // get first reason
 } 
 if (reason != null) {
    // do something with reason
 }
 
This can be shortened as follows:
 IQueryServericsException e = x ; // some IQ exception
 Reason reason = (!e.getReasons().empty ? e.getReasons.get(0) : null);
 
 

Methods in com.sas.iquery that return types with arguments of type Reason
 java.util.List<Reason> IQueryServicesException.getReasons()
          Returns the List of Reason objects associated with this exception.
 

Constructor parameters in com.sas.iquery with type arguments of type Reason
IQueryServicesException(com.sas.iquery.util.impl.MessageFormatter message, java.util.List<Reason> reasons)
          Create an IQueryServicesException with a localized message and a list of Reason objects.
IQueryServicesException(java.lang.String message, java.util.List<Reason> reasons)
          Create an IQueryServicesException with a (non localized) message and a list of Reason objects.
 

Uses of Reason in com.sas.iquery.dataretrieval
 

Constructor parameters in com.sas.iquery.dataretrieval with type arguments of type Reason
DataRetrievalException(com.sas.iquery.util.impl.MessageFormatter message, java.util.List<Reason> reasons)
           
 

Uses of Reason in com.sas.iquery.dataservices
 

Constructor parameters in com.sas.iquery.dataservices with type arguments of type Reason
DataServicesException(com.sas.iquery.util.impl.MessageFormatter message, java.util.List<Reason> reasons)
          Constructs an Exception with a specified detail MessageFormatter and a list of Reason objects
 

Uses of Reason in com.sas.iquery.generation2
 

Constructor parameters in com.sas.iquery.generation2 with type arguments of type Reason
GenerationException(com.sas.iquery.util.impl.MessageFormatter messageFormatter, java.util.List<Reason> reasons)
          Constructs a generation exception with the specified message formatter and list of reasons.
 

Uses of Reason in com.sas.iquery.metadata
 

Constructor parameters in com.sas.iquery.metadata with type arguments of type Reason
IQueryException(com.sas.iquery.util.impl.MessageFormatter message, java.util.List<Reason> reasons)
          Create a IQueryException instance with a default message using the delayed localization provided by MessageFormatter and a list of Reason objects.
MetadataException(com.sas.iquery.util.impl.MessageFormatter message, java.util.List<Reason> reasons)
          Create a IQueryException instance with a default message using the delayed localization provided by MessageFormatter and a list of Reason objects.
 

Uses of Reason in com.sas.iquery.metadata.business
 

Methods in com.sas.iquery.metadata.business that return types with arguments of type Reason
 java.util.List<Reason> DataItem.getReasonsLabelNotValid(java.lang.String label)
          Determines if the specified label is usable.
 java.util.List<Reason> BusinessQuery.getReasonsNotPersistable()
          Returns a list of reasons why this object is not persistable.
 java.util.List<Reason> BusinessModelObject.getReasonsNotPersistable()
          Deprecated. this method is no longer supported and will be removed from this interface in a coming release
 java.util.List<Reason> BusinessModel.getReasonsNotPersistable()
          Does basic checks to see if this model is persistable.
 java.util.List<Reason> BusinessQuery.getReasonsNotValid()
          Returns a list of reasons why this object is not a valid business query.
 java.util.List<Reason> UsabilityInterface.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.
 

Uses of Reason in com.sas.iquery.metadata.business.step
 

Method parameters in com.sas.iquery.metadata.business.step with type arguments of type Reason
protected  void CompoundStep.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
 

Uses of Reason in com.sas.iquery.metadata.business.step.olap
 

Method parameters in com.sas.iquery.metadata.business.step.olap with type arguments of type Reason
protected  void PromptedTimeRangeFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeRangeFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeNPeriodsFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeNParallelPeriodsFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeFirstLastPeriodsFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemNavigationFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemMemberPropertiesFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemMemberFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void BusinessQueryTupleFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void BusinessQueryRankFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void BusinessQueryDataBasedFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void BaseFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeRangeFilter.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeNPeriodsFilter.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeNParallelPeriodsFilter.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeFirstLastPeriodsFilter.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void DataItemTimeFilter.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void BaseFilter.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
          This method should validate prompt usage.
 

Uses of Reason in com.sas.iquery.metadata.expr
 

Methods in com.sas.iquery.metadata.expr that return types with arguments of type Reason
protected  java.util.List<Reason> ConditionalExpression.getReasonsExprIsUnusableAsExpressionArg(ExpressionInterface expr, java.lang.String msgidIfNull)
           
protected  java.util.List<Reason> ConditionalExpression.getReasonsUseOfExpressionWithTypeUnusable(int exprType)
           
 

Method parameters in com.sas.iquery.metadata.expr with type arguments of type Reason
protected  void StringExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void ResourceAwareStringExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void MultipleConditionalExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void FunctionCall.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void FractionOfTotalExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void ConstantExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void CompoundConditionalExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void AbstractTimeValueExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
 

Uses of Reason in com.sas.iquery.metadata.expr.olap
 

Method parameters in com.sas.iquery.metadata.expr.olap with type arguments of type Reason
protected  void TimeRangeFilterExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void TimeFilterNPeriodsExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void TimeFilterNParallelPeriodsExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void TimeFilterFirstLastPeriodsExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void TimeFilterExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
          Returns entry if what is being compared is empty
protected  void TimeExpressionMeasure.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void MemberFilterExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataBasedFilterExpression_Between.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void DataBasedFilterExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void BaseFilterExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void TimeRangeFilterExpression.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void TimeFilterNPeriodsExpression.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void TimeFilterNParallelPeriodsExpression.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void TimeFilterFirstLastPeriodsExpression.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void TimeFilterExpression.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void MemberFilterExpression.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
           
protected  void BaseFilterExpression.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
          This method should validate prompt usage.
 

Uses of Reason in com.sas.iquery.metadata.expr.relational
 

Method parameters in com.sas.iquery.metadata.expr.relational with type arguments of type Reason
protected  void SimpleConditionalExpression_Like.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void SimpleConditionalExpression_In.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void SimpleConditionalExpression_Contains.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void SimpleConditionalExpression_Comparison.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void SimpleConditionalExpression_Between.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void RelationalConditionalExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void AbstractRelativeTimeValueExpression.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void SimpleConditionalExpression_Like.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
          This expression only supports single selection character prompts for whatToCompare and patternExpression.
protected  void SimpleConditionalExpression_In.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
          This expression supports single selection prompts for whatToCompare and multiple selection prompts for the comparisonList.
protected  void SimpleConditionalExpression_Contains.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
          This expression only supports single selection character prompts for whatToCompare and whatToContain.
protected  void SimpleConditionalExpression_Comparison.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
          This expression only supports single selection prompts.
protected  void SimpleConditionalExpression_Between.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
          This expression only supports single selection prompts for whatToCompare, leftExpr, and rightExpr.
protected abstract  void RelationalConditionalExpression.accumulateReasonsPromptsAreUnusable(java.util.List<Reason> reasons)
          This method should validate prompt usage.
 

Uses of Reason in com.sas.iquery.metadata.serverprop
 

Methods in com.sas.iquery.metadata.serverprop that return Reason
 Reason ServerProperties.validateByRules(java.lang.String value, java.util.List<java.lang.String> rules)
          Validates that the string obeys a list of rules (Strings)
 Reason ServerProperties.validateByRules(java.lang.String value, java.lang.String rules)
          Validates that the string obeys a rule or comma delimited list of rules
 

Uses of Reason in com.sas.iquery.util
 

Methods in com.sas.iquery.util that return types with arguments of type Reason
static java.util.List<Reason> BusinessQueryOLAPUtil.getInvalidLabels(DataSelection ds)
          Get a list of invalid Labels for a data selection.
 

Method parameters in com.sas.iquery.util with type arguments of type Reason
static void BusinessQueryOLAPUtil.determineUnresolvedStateInDimensionString(java.lang.String inString, java.util.List<Reason> reasons, com.sas.iquery.metadata.physical.Dimension dim, com.sas.iquery.metadata.business.impl.AbstractModelItem caller)
          IQ internal use only Determine if a string that is used in a calculated expression or parent filter is not resolved based on the string value defined in what is being compared (which is either a dataItem or hierarchy)
 




Copyright © 2009 SAS Institute Inc. All Rights Reserved.