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.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.serverprop Provides specific information (via a ServerProperties object) about the capabilities of the server, such as operators and recognized functions. 
 

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 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.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> BusinessQuery.getReasonsNotPersistable()
          Returns a list of reasons why this object is not persistable.
 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.
 

Method parameters in com.sas.iquery.metadata.business with type arguments of type Reason
static com.sas.iquery.util.impl.MessageFormatter Reason.getMessageFormatter(java.lang.Object message, int messageToListStyle, java.util.List<Reason> reasons, int reasonsListstyle, boolean messageIsHeader)
          Creates a dynamic MessageFormatter with a list of reasons and adds a header/footer message (if not null) using the given ArrayMessageFormatter.LISTSTYLE_* values to format items of the list and to separate it from the header/footer
static com.sas.iquery.util.impl.MessageFormatter Reason.getMessageFormatter(java.lang.Object message, java.util.List<Reason> reasons, boolean messageIsHeader)
          Creates a dynamic MessageFormatter with a list of reasons and adds a header/footer message (if not null) using the given ArrayMessageFormatter.LISTSTYLE_LISTSTYLE_ONEPERLINE value to format items of the list and to separate it from the header/footer
 

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 DataItemNavigationFilter.accumulateReasonsItemItselfIsUnusable(java.util.List<Reason> reasons)
           
protected  void BaseFilter.accumulateReasonsItemItselfIsUnusable(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.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
 




Copyright © 2009 SAS Institute Inc. All Rights Reserved.