|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.business.Reason
@Immutable public class Reason
Models information that gives a "reason" for some fact within the business model.
Field Summary | |
---|---|
static int |
REASON_FILTER_ASSIGNMENT_NOT_VALID
Indicates that an OLAP Filter assignment in a BusinessQuery is not valid |
static int |
REASON_INVALID_MODELING
Indicates that the reason was because of invalid modeling. |
static int |
REASON_JOIN_MODEL_NOT_VALID
Indicates that an "MFT" query (advanced Join Model) is not valid |
static int |
REASON_JOIN_TRAP_DETECTED
Indicates that a join trap is detected in the business model. |
static int |
REASON_METADATA_NOT_DELETABLE
Indicates that a request to delete metadata failed. |
static int |
REASON_NON_UNIQUE_IMID
Proc Infomaps: a non-unique intra model id is specified |
static int |
REASON_NOT_PERSISTABLE
Indicates that the object is not persistable (writable) because of the given subreason. |
static int |
REASON_NOT_READABLE
Indicates that the object is not readable because of the given subreason. |
static int |
REASON_NOT_USABLE_IN_QUERY
Indicates that the object is not usable in a query because of the given subreason. |
static int |
REASON_PHYSICAL_QUERY_FAILED
Indicates that a getter method returning physical metadata failed. |
static int |
REASON_ROLE_ASSIGNMENT_NOT_VALID
Indicates that a Role assignment in a BusinessQuery is not valid |
static int |
REASON_VALIDATE_RULE_FAILED
Indicates that the object failed to pass a validation rule |
static int |
SUBREASON_ACCESS_PATH_HAS_NO_SCHEMA_SPECIFIED
No schema was set in the access path |
static int |
SUBREASON_ACCESS_PATH_HAS_NO_SERVER_SPECIFIED
No server was set in the access path |
static int |
SUBREASON_ACCESS_PATH_HAS_UNSUPPORTED_SCHEMA_TYPE
An unsupported schema was used in the access path |
static int |
SUBREASON_ACCESS_PATH_HAS_UNSUPPORTED_SERVER_TYPE
An unsupported server type was used in the access path |
static int |
SUBREASON_AGGREGATION_FUNCTION_MODIFIED_WITH_ILLEGAL_VALUE
A DataItemReference has a modified aggregation function that is not allowed by its parent data item. |
static int |
SUBREASON_ATTRIBUTE_DESCRIPTOR_NOT_SET
Deprecated. This subreason is replaced with SUBREASON_ATTRIBUTE_DESCRIPTOR_NOT_SET |
static int |
SUBREASON_BUSINESS_MODEL_OBJECT_REFERENCES_UNUSABLE_OBJECTS
A BusinessModelObject references objects that are not usable. |
static int |
SUBREASON_BUSINESS_QUERY_DATA_BASED_FILTER_HAS_EMPTY_LEFT_EXPRESSION
A BusinessQueryDataBasedFilter object has an empty left expression set |
static int |
SUBREASON_BUSINESS_QUERY_DATA_BASED_FILTER_HAS_EMPTY_RIGHT_EXPRESSION
A BusinessQueryDataBasedFilter object has an empty right expression set |
static int |
SUBREASON_CALCULATED_TIME_MEASURE_NAME_IS_NULL
Calculated Time Measure Name is Null |
static int |
SUBREASON_CANNOT_USE_FRACTIONOFTOTAL_IN_FILTER
FractionOfTotalExpression cannot be used in a filter |
static int |
SUBREASON_COMBINED_MEASURES_AND_NON_MEASURES
Illegal combine measures and non-measures. |
static int |
SUBREASON_COMPARISON_EXPRESSION_HAS_NULL_COMPARISON_OPERATOR
A SimpleConditionalExpression_Comparison object has a null comparison operator set. |
static int |
SUBREASON_COMPOUND_CONDITIONAL_EXPRESSION_HAS_NULL_LEFT_AND_RIGHT_EXPRESSIONS
A compound conditional expression has null left and right subexpressions. |
static int |
SUBREASON_COMPOUND_CONDITIONAL_EXPRESSION_HAS_NULL_RELATION_TYPE
A compound conditional expression has no relation-type set when both a left and right expression are set. |
static int |
SUBREASON_CONSTANT_EXPRESSION_HAS_INVALID_VALUE
A constant expression has a invalid numeric value set. |
static int |
SUBREASON_CONSTANT_EXPRESSION_HAS_NO_EXPRESSION_TYPE_SET
A constant expression has no expression type set. |
static int |
SUBREASON_CONSTANT_EXPRESSION_HAS_NULL_VALUE
A constant expression has a null value set. |
static int |
SUBREASON_DATA_BASED_FILTER_EXPRESSION_HAS_EMPTY_LEFT_EXPRESSION_LIST
A DataBasedFilterExpression has an empty left expression list. |
static int |
SUBREASON_DATA_BASED_FILTER_EXPRESSION_HAS_EMPTY_RIGHT_EXPRESSION_LIST
A DataBasedFilterExpression has an empty right expression list. |
static int |
SUBREASON_DATA_BASED_FILTER_EXPRESSION_HAS_NULL_COMPARISON_OPERATOR
A DataBasedFilterExpression does not have a comparison operator set. |
static int |
SUBREASON_DATA_ITEM_DATA_BASED_FILTER_HAS_EMPTY_LEFT_EXPRESSION
A DataItemDataBasedFilter object has an empty left expression set |
static int |
SUBREASON_DATA_ITEM_DATA_BASED_FILTER_HAS_EMPTY_RIGHT_EXPRESSION
A DataItemDataBasedFilter object has an empty right expression set |
static int |
SUBREASON_DATA_ITEM_MEMBER_FILTER_HAS_EMPTY_MEMBER_NAMES_LIST
A DataItemMemberFilter object has an empty member names list |
static int |
SUBREASON_DATA_ITEM_MEMBER_PROPERTIES_FILTER_HAS_EMPTY_LEFT_EXPRESSION
A DataItemMemberPropertiesFilter object has an empty left expression set |
static int |
SUBREASON_DATA_ITEM_MEMBER_PROPERTIES_FILTER_HAS_EMPTY_MEMBER_NAMES_LIST
A DataItemMemberPropertiesFilter object has an empty member names list |
static int |
SUBREASON_DATA_ITEM_MEMBER_PROPERTIES_FILTER_HAS_EMPTY_RIGHT_EXPRESSION
A DataItemMemberPropertiesFilter object has an empty right expression set |
static int |
SUBREASON_DATA_ITEM_NAVIGATION_FILTER_HAS_INVALID_FILTER_TYPE
A DataItemNavigationFilter object has an invalid filter type set. |
static int |
SUBREASON_DATA_ITEM_NAVIGATION_FILTER_HAS_NULL_LEVEL_NAME
A DataItemNavigationFilter object has a Level Name that is not set. |
static int |
SUBREASON_DATA_ITEM_NAVIGATION_FILTER_HAS_NULL_NAVIGATION_NAME
A DataItemNavigationFilter object has a Navigation Name that is not set. |
static int |
SUBREASON_DATAITEM_NOT_IN_AXIS_FOR_TUPLE_FILTER
Business Query Filter Tuple is no longer valid because data item have change the axis. |
static int |
SUBREASON_DENOMINATOR_IS_NOT_CATEGORY
The denominator is a non-category data item -- it must be a category data item. |
static int |
SUBREASON_DENOMINATOR_IS_NULL
The denominator is null and must be non-null when the denominator type indicates to use a category data item. |
static int |
SUBREASON_DUPLICATE_BUSINESS_MODEL_ID_USE
Indicates that the same business model ID has been used by multiple business models within the same lineage of business models. |
static int |
SUBREASON_DUPLICATE_PHYSICAL_METADATA_ITEM_FOUND
A duplicate physical metadata item was found. |
static int |
SUBREASON_EXPRESSION_NOT_SET
The expression was not set on the object |
static int |
SUBREASON_EXPRESSION_NOT_SUPPORTED_IN_THIS_JOIN_MODEL
Indicates that this type of Expression is not supported in an MFT Query |
static int |
SUBREASON_EXPRESSION_REFERENCES_EXPRESSION_WITH_INVALID_TYPE
An expression references a subexpression with an invalid type for the context the subexpression is used in. |
static int |
SUBREASON_EXPRESSION_REFERENCES_NULL_SUBEXPRESSION
An expression references a null subexpression. |
static int |
SUBREASON_FILTERTUPLE_HAS_NONAME
The MemberFilterExpression has memberNames and filterTupleElements. |
static int |
SUBREASON_FOLDER_NOT_EMPTY
A folder within an information map is not empty. |
static int |
SUBREASON_FORMAT_MODIFIED_BUT_NOT_ALLOWED
Indicates that the format has been modified on the specified object but is not allowed to be overridden. |
static int |
SUBREASON_FUNCTION_CALL_HAS_NO_FUNCTION_SIGNATURE_FOR_ARGUMENTS_GIVEN
A FunctionCall object has no valid function signature for the specified arguments. |
static int |
SUBREASON_FUNCTION_CALL_HAS_NULL_FUNCTION
A FunctionCall object has no function specified. |
static int |
SUBREASON_GROUP_FORMATTING_MODIFIED_BUT_NOT_ALLOWED
|
static int |
SUBREASON_GROUPED_MEASURES_CAN_ONLY_HAVE_MEASURES
Grouped measures can contain only items with structure measure. |
static int |
SUBREASON_GROUPED_MEASURES_CANNOT_BE_IN_MULTIPLE_GROUPS
Grouped measures cannot have the same measures in more than one applied group in a query. |
static int |
SUBREASON_GROUPED_MEASURES_CANNOT_BE_NESTED
Grouped measures cannot be nested in one another. |
static int |
SUBREASON_ID_NOT_SET
Indicates that the ID is not set. |
static int |
SUBREASON_ILLEGAL_USAGE_OF_PRIVATE_QUERY
The query cannot be used as a private query because it is in the business model chain of the query the query is being added to. |
static int |
SUBREASON_IN_EXPRESSION_HAS_EMPTY_COMPARISON_LIST
A SimpleConditionalExpression_In object has an empty comparison list set. |
static int |
SUBREASON_INVALID_EXPRESSION_TYPE
The expression type specified is invalid. |
static int |
SUBREASON_INVALID_FORMAT
Indicates that the format on a data item is not valid with either expression, usage, or aggregation function of the data item. |
static int |
SUBREASON_INVALID_LABEL_LENGTH
The length of a business item label is invalid. |
static int |
SUBREASON_INVALID_OBJECT_TYPE
Indicates that the object is not a valid object type to use in a query. |
static int |
SUBREASON_INVALID_PROMPT
The Expression does not support the prompt specified. |
static int |
SUBREASON_INVALID_RESULT_ITEM
The result item added to an data selection was invalid |
static int |
SUBREASON_INVALID_RESULTSETID
The data item was set with a result set id that is no longer valid for the current expression's structure of data |
static int |
SUBREASON_INVALID_STARTING_LEVEL
The data item was set with expression that is not a hierarchy. |
static int |
SUBREASON_INVALID_USAGE
The data item's usage is not valid of supported. |
static int |
SUBREASON_JOIN_CARDINALITY_NOT_SET
The Join relationship cardinality field is not set for a Join. |
static int |
SUBREASON_JOIN_CONDITION_TYPE_NOT_SET
The Join condition is not set for a Join. |
static int |
SUBREASON_JOIN_EXPRESSION_HAS_TOO_FEW_TABLES
A join conditional expression must reference to at least two tables. |
static int |
SUBREASON_JOIN_EXPRESSION_TYPE_IS_NOT_BOOLEAN
A join conditional expression must be boolean. |
static int |
SUBREASON_JOIN_PATH_INVALID
There is no valid join path for the query |
static int |
SUBREASON_JOIN_RELATIONSHIP_TYPE_NOT_SET
The Join relationship type field is not set for a Join. |
static int |
SUBREASON_JOIN_TYPE_NOT_SET
The Join type field is not set for a Join. |
static int |
SUBREASON_KEPT_COLUMN_IS_UNRESOLVED
A kept column is unresolved in the data source. |
static int |
SUBREASON_LIKE_CONDITION_SAME_MATCHMANY_AND_ESCAPE_CHAR
The Like condition match character for Many characters is the same as the Escape character |
static int |
SUBREASON_LIKE_CONDITION_SAME_MATCHMANY_AND_MATCHONE_CHAR
The Like condition has duplicate Match characters |
static int |
SUBREASON_LIKE_CONDITION_SAME_MATCHONE_AND_ESCAPE_CHAR
The Like condition match character for One character is the same as the Escape character |
static int |
SUBREASON_LIKE_CONDITION_SAME_MATCHONE_MATCHMANY_AND_ESCAPE_CHAR
The Like condition match character for One character is the same as the Escape character |
static int |
SUBREASON_LOOP_DETECTED
A loop is detected. |
static int |
SUBREASON_MEMBER_FILTER_EXPRESSION_HAS_EMPTY_MEMBER_NAME_LIST
A MemberFilterExpression object has an empty list of member names |
static int |
SUBREASON_MULTI_VALUE_PROMPT_NOT_SUPPORTED
The Expression does not support Multi-Value prompts |
static int |
SUBREASON_MULTIPLE_DATAITEM_USE
Indicates that the object is referenced multiple times as a result item in the same business query. |
static int |
SUBREASON_MULTIPLE_MEASURE_TABLES_IN_SAME_UQUERY
Indicates that more than one Measure table was specified in the same UQuery |
static int |
SUBREASON_MULTIPLE_OBJECTS_EXIST
Mulitple objects exist with this name. |
static int |
SUBREASON_NESTED_CALCULATED_MEASURES_NOT_CURRENTLY_IMPLEMENTED
Nested Calculated Measures not currently supported |
static int |
SUBREASON_NEWER_MODEL_THAN_CODE_CAN_READ
Tried to read a model that cannot be read by this software because the model takes advantage of newer functionality or is written with a newer format than this code can read. |
static int |
SUBREASON_NO_COLUMN_DEFINED_FOR_COLUMN
A QualifiedColumn object has no Column object set to define which column should be accessed. |
static int |
SUBREASON_NO_CUBE_DEFINED_FOR_DATA_SOURCE
No cube was defined for the data source |
static int |
SUBREASON_NO_DATA_SOURCES_IN_QUERY
The data selection has no items that refer to data sources. |
static int |
SUBREASON_NO_FILTERSETRULES_DEFINED_FOR_FILTERSET
A FilterSet must reference a FilterSetRule |
static int |
SUBREASON_NO_HIERARCHY_DEFINED_FOR_QUALIFIED_LEVEL
A QualifiedLevel object has no Hierarchy object set to define how the level is to be accessed. |
static int |
SUBREASON_NO_KEPT_COLUMNS_IN_IMLE_DATA_SOURCE
An IMLE DataSourceTable has no columns kept in its column manager. |
static int |
SUBREASON_NO_LEFT_DATA_SOURCE_DEFINED_FOR_JOIN
No left data source is defined for a Join. |
static int |
SUBREASON_NO_LEVEL_DEFINED_FOR_QUALIFIED_LEVEL
A QualifiedLevel object has no Level object set to define which level should be accessed. |
static int |
SUBREASON_NO_NON_HIDDEN_RESULT_ITEMS_IN_QUERY
The business query has no returned(non-hidden) result items |
static int |
SUBREASON_NO_READ_PERMISSION
The user doesn't have permission to read a resource. |
static int |
SUBREASON_NO_RIGHT_DATA_SOURCE_DEFINED_FOR_JOIN
No right data source is defined for a Join. |
static int |
SUBREASON_NO_ROLAP_MEASURE
ROLAP Rule: We must have a measure defined |
static int |
SUBREASON_NO_SCHEMA_DEFINED_FOR_DATA_SOURCE
No schema was defined for the data source |
static int |
SUBREASON_NO_SERVER_DEFINED_FOR_DATA_SOURCE
No server was defined for the data source |
static int |
SUBREASON_NO_TABLE_DATA_SOURCE_DEFINED_FOR_QUALIFIED_COLUMN
A QualifiedColumn object has no DataSourceTable object set to define how the column is to be accessed. |
static int |
SUBREASON_NO_TABLE_DEFINED_FOR_DATA_SOURCE
No table was defined for the data source |
static int |
SUBREASON_NO_TIME_DIM_FOR_TIME_MEASURE
TimeMeasureExpression must have a Time Dimension. |
static int |
SUBREASON_NOT_SPECIFIED
The subreason was not specified |
static int |
SUBREASON_NUMERATOR_IS_NOT_NUMERIC
The numerator is a non-numeric data item -- it must be a numeric data item. |
static int |
SUBREASON_NUMERATOR_IS_NULL
The numerator is null and must be non-null. |
static int |
SUBREASON_OBJECT_HAS_CYCLE_IN_ITS_DEFINITION
The object has a cycle in its definition -- an infinitely recursive definition. |
static int |
SUBREASON_OBJECT_HAS_INVALID_ID
Indicates that the object has an invalid (or null if disallowed) ID |
static int |
SUBREASON_OBJECT_HAS_INVALID_REFERENCES
Indicates that the object has references to other objects which cannot be persisted. |
static int |
SUBREASON_OBJECT_HAS_UNRESOLVED_REFERENCES
Indicates that the object has either direct or indirect unresolved references |
static int |
SUBREASON_OBJECT_IS_INCOMPLETELY_DEFINED
Indicates that the unusable object is not fully defined -- that some attribute or setting is not set on the object. |
static int |
SUBREASON_OBJECT_IS_NOT_CONTAINED_IN_BUSINESS_MODEL
Indicates that the unusable object is not contained within the business model it was created by. |
static int |
SUBREASON_OBJECT_IS_NOT_PERSISTABLY_REACHABLE
An object is referenced within the model being written but is not persistably reachable. |
static int |
SUBREASON_OBJECT_IS_ORPHANED
Indicates that the object has been orphaned (permanently disconnected and unusable) from the business model that created it. |
static int |
SUBREASON_OBJECT_IS_UNRESOLVED
Indicates that the object is unresolved |
static int |
SUBREASON_OBJECT_NOT_FOUND
The object is not found. |
static int |
SUBREASON_OLAP_DDL_FILTER_RULE
The data item can only have one DDL filter applied in the DataSelection for the same DataItem MemberFilterExpression and TimeRangeExpression. |
static int |
SUBREASON_OLAP_ROLE_RULE_1
DataItems coming from same Dimension can't be assigned different Roles |
static int |
SUBREASON_OLAP_ROLE_RULE_2
Except for Measures only one DataItem per Dimension is allowed - this could go away in the future |
static int |
SUBREASON_OLAP_ROLE_RULE_3
DataItems with more than one Member must be modified if placed on the BACKGROUND Role |
static int |
SUBREASON_OLAP_ROLE_RULE_4
Follow-up to (3) only 1 Measure can live on the BACKGROUND since Measures is an exception case where multiple DataItems may be included |
static int |
SUBREASON_OLAP_ROLE_RULE_5
Null Roles are OK as long as they won't cause a conflict with Rules (2) and (4) |
static int |
SUBREASON_OLAP_ROLE_RULE_6
Row can't be assigned without Column; Page can't be assigned without Row and Column |
static int |
SUBREASON_ONLY_COLUMN_AND_NULL_ROLE_ALLOWED
Only Column and null Role values are allowed for relational DataItems |
static int |
SUBREASON_OUTER_JOINS_NOT_IMPLEMENTED_IN_THIS_JOIN_MODEL
Outer Joins are not yet implemented in this Join Model |
static int |
SUBREASON_PAGE_ROLE_IN_OLAP_IS_NOT_PERMITTED
Page Role are not permitted in OLAP. |
static int |
SUBREASON_PARENT_AGGREGATE_TRAP_DETECTED
A Parent aggregate join trap is detected. |
static int |
SUBREASON_PROMPT_DEFINITION_NOT_SET
A Prompt object is not associated to a PromptDefinition |
static int |
SUBREASON_PROMPT_DEFINITION_VALIDATION_ERROR
The PromptDefinition contained within a Prompt object has a validation error. |
static int |
SUBREASON_QUERY_COMPARISON_EXPRESSION_HAS_NO_COMPARISON_OPERATOR_SET
No comparison operator is set on the CompareWithQueryResultsExpression |
static int |
SUBREASON_QUERY_COMPARISON_EXPRESSION_HAS_NO_COMPARISON_TYPE_SET
The comparison type value supplied is null. |
static int |
SUBREASON_QUERY_COMPARISON_EXPRESSION_HAS_NO_QUERY_SET
No query is set on an AbstractComparisonWithQueryResultsExpression |
static int |
SUBREASON_QUERY_HAS_NON_RELATIONAL_OUTPUT
The query specified, when executed, will produce a non-relational-based resultset. |
static int |
SUBREASON_QUERY_NOT_DEFINED_TO_RETURN_SINGLE_AGGREGATED_COLUMN_OF_DATA
The query specified is not defined to return one row of data (ignoring governing). |
static int |
SUBREASON_READ_ONLY_OBJECT
The object is read only. |
static int |
SUBREASON_RELATIONAL_GT_31CATEGORIES_NOT_SUPPORTED
Relational queries containing more than 31 categories are not supported with totaling or Fractions of Totals. |
static int |
SUBREASON_RESULT_ITEMS_ARE_CONSTANTS_ONLY
The set of result items specified in the BusinessQuery are made up of constants only. |
static int |
SUBREASON_RESULTSET_ID_CONFLICT
Indicates that the resultset ID for the given data item used as a result item conflicts with the resultset ID of another data item used as a result item. |
static int |
SUBREASON_ROLAP_AGGREGATION_NOT_SUPPORTED
|
static int |
SUBREASON_ROLAP_COUNT_DISTINCT_NOT_ALLOWED
ROLAP Rule: We must have a measure defined |
static int |
SUBREASON_ROLAP_GT_31CATEGORIES_NOT_SUPPORTED
ROLAP queries containing more than 31 categories are not supported. |
static int |
SUBREASON_ROLAP_USAGE_NO_ALLOWED
ROLAP Rule: We must have a measure defined |
static int |
SUBREASON_SAME_LABEL_FOR_MEASURES
Indicates that there is a OLAP dataItem has a duplicate label. |
static int |
SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_MAJOR_VERSION
The information map cannot be saved because it would increase the major portion of the UsageVersion number and doing so is only permitted when the save option InformationMap.SAVEOPTION_ALLOW_MAJOR_VERSION_INCREASE
is provided when saving the information map. |
static int |
SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_MINOR_VERSION
The information map cannot be saved because it would increase the minor portion of the UsageVersion number and doing so is only permitted when the save option InformationMap.SAVEOPTION_ALLOW_MINOR_VERSION_INCREASE
is provided when saving the information map. |
static int |
SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_VERSION
Deprecated. use SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_MAJOR_VERSION or SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_MINOR_VERSION |
static int |
SUBREASON_SERVER_IN_PATH_NOT_FOUND
The server specified in a PathUrl was not found, so the path could not be looked up by a server. |
static int |
SUBREASON_SET_OPERATION_FORMATS_DO_NOT_MATCH
Set operations requires all selections to be formatted or unformatted. |
static int |
SUBREASON_SET_OPERATION_NONHIDDEN_ITEM_TYPES_MUST_MATCH
Set operations requires data selections to be set operation compatible, that is, all item types must match. |
static int |
SUBREASON_SET_OPERATION_ONLY_RELATIONAL_QUERIES_SUPPORTED
Set operations all selections must be relational structure. |
static int |
SUBREASON_SET_OPERATION_REQUIRES_SAME_NUMBER_OF_NONHIDDEN_ITEMS
Set operations requires count of non-hidden items to match. |
static int |
SUBREASON_SET_OPERATION_REQUIRES_TWO_SELECTIONS
Set operations require at least 2 queries. |
static int |
SUBREASON_SIBLING_AGGREGATE_TRAP_DETECTED
A Siblings aggregate join trap is detected. |
static int |
SUBREASON_SORT_BY_UNRELATED_MEASURE
The server requires any measure used in the order by clause to also be in the select clause. |
static int |
SUBREASON_SORT_CRITERIA_MODIFIED_BUT_NOT_ALLOWED
A DataItemReference object has a modified sort criteria but sort criteria modification is not allowed by its parent data item. |
static int |
SUBREASON_SORT_DIRECTION_MODIFIED_BUT_NOT_ALLOWED
A DataItemReference has a modified sort direction that is not allowed by its parent data item. |
static int |
SUBREASON_SORT_FORMATTING_MODIFIED_BUT_NOT_ALLOWED
|
static int |
SUBREASON_TIME_DATE_MEMBER_IS_NULL
Time Data Member is null |
static int |
SUBREASON_TIME_FUNCTION_NAME_IS_NULL
Calculated Time Function is Null |
static int |
SUBREASON_TIME_LEVEL_NAME_IS_NULL
Time Level Name is null |
static int |
SUBREASON_TIME_NUMERIC_EXPRESSION_IS_NOT_A_MEASURE
Numeric Expression in TimeMeasureExpression must be a Measure. |
static int |
SUBREASON_TIME_NUMERIC_EXPRESSION_IS_NULL
Calculated Time Numeric Expression is Null |
static int |
SUBREASON_TIME_PERIOD_IS_NULL
Calculated Time Period is Null |
static int |
SUBREASON_TIME_SEARCH_DIRECTION_IS_INVALID
Time Search direction is invalid |
static int |
SUBREASON_TIME_STARTING_PERIOD_IS_NULL
Starting period must have a value when using a cumulative function in TimeMeasureExpression. |
static int |
SUBREASON_UNABLE_TO_GET_STARTING_LEVEL
The call to getStartingLevelName threw a MetadataException. |
static int |
SUBREASON_USAGE_MODIFIED_BUT_NOT_ALLOWED
A DataItemReference has a modified usage value that is not allowed by its parent data item. |
Constructor Summary | |
---|---|
Reason(java.lang.Object obj,
int reason,
int subReason,
java.lang.Exception e)
Method Reason. |
|
Reason(java.lang.Object obj,
int reason,
int subReason,
java.lang.String msgKey,
java.lang.Object[] msgArgs)
Method Reason. |
Method Summary | |
---|---|
NamedObjectInterface |
getNamedObject()
Returns the NamedObjectInterface associated with this reason if any. |
java.lang.Object |
getObject()
Returns the object associated with this reason if any. |
int |
getReason()
Returns an integer code giving a programmatic reason |
java.lang.String |
getReasonString()
Returns a visual message for the reason |
java.lang.String |
getReasonString(java.util.Locale locale)
Returns a visual message for the reason |
int |
getSubReason()
Returns an integer code giving a programmatic sub-reason |
Field Detail |
---|
public static final int REASON_NOT_PERSISTABLE
public static final int REASON_NOT_USABLE_IN_QUERY
public static final int REASON_ROLE_ASSIGNMENT_NOT_VALID
public static final int REASON_FILTER_ASSIGNMENT_NOT_VALID
public static final int REASON_VALIDATE_RULE_FAILED
public static final int REASON_PHYSICAL_QUERY_FAILED
public static final int REASON_METADATA_NOT_DELETABLE
public static final int REASON_INVALID_MODELING
public static final int REASON_NOT_READABLE
public static final int REASON_JOIN_TRAP_DETECTED
public static final int REASON_JOIN_MODEL_NOT_VALID
public static final int SUBREASON_NOT_SPECIFIED
public static final int SUBREASON_OBJECT_HAS_INVALID_ID
public static final int SUBREASON_OBJECT_HAS_INVALID_REFERENCES
public static final int SUBREASON_ID_NOT_SET
public static final int SUBREASON_OBJECT_IS_INCOMPLETELY_DEFINED
public static final int SUBREASON_OBJECT_HAS_UNRESOLVED_REFERENCES
public static final int SUBREASON_OBJECT_IS_NOT_CONTAINED_IN_BUSINESS_MODEL
public static final int SUBREASON_ONLY_COLUMN_AND_NULL_ROLE_ALLOWED
public static final int SUBREASON_OLAP_ROLE_RULE_1
public static final int SUBREASON_OLAP_ROLE_RULE_2
public static final int SUBREASON_OLAP_ROLE_RULE_3
public static final int SUBREASON_OLAP_ROLE_RULE_4
public static final int SUBREASON_OLAP_ROLE_RULE_5
public static final int SUBREASON_EXPRESSION_NOT_SET
public static final int SUBREASON_OLAP_ROLE_RULE_6
public static final int SUBREASON_INVALID_OBJECT_TYPE
public static final int SUBREASON_OBJECT_IS_ORPHANED
public static final int SUBREASON_OBJECT_IS_UNRESOLVED
public static final int SUBREASON_RESULTSET_ID_CONFLICT
public static final int SUBREASON_MULTIPLE_DATAITEM_USE
public static final int SUBREASON_DUPLICATE_BUSINESS_MODEL_ID_USE
public static final int SUBREASON_RESULT_ITEMS_ARE_CONSTANTS_ONLY
public static final int SUBREASON_INVALID_FORMAT
public static final int SUBREASON_FORMAT_MODIFIED_BUT_NOT_ALLOWED
public static final int SUBREASON_COMPOUND_CONDITIONAL_EXPRESSION_HAS_NULL_RELATION_TYPE
public static final int SUBREASON_COMPOUND_CONDITIONAL_EXPRESSION_HAS_NULL_LEFT_AND_RIGHT_EXPRESSIONS
public static final int SUBREASON_EXPRESSION_REFERENCES_EXPRESSION_WITH_INVALID_TYPE
public static final int SUBREASON_EXPRESSION_REFERENCES_NULL_SUBEXPRESSION
public static final int SUBREASON_CONSTANT_EXPRESSION_HAS_NULL_VALUE
public static final int SUBREASON_CONSTANT_EXPRESSION_HAS_NO_EXPRESSION_TYPE_SET
public static final int SUBREASON_DATA_BASED_FILTER_EXPRESSION_HAS_EMPTY_LEFT_EXPRESSION_LIST
public static final int SUBREASON_DATA_BASED_FILTER_EXPRESSION_HAS_EMPTY_RIGHT_EXPRESSION_LIST
public static final int SUBREASON_DATA_BASED_FILTER_EXPRESSION_HAS_NULL_COMPARISON_OPERATOR
public static final int SUBREASON_NO_SCHEMA_DEFINED_FOR_DATA_SOURCE
public static final int SUBREASON_NO_CUBE_DEFINED_FOR_DATA_SOURCE
public static final int SUBREASON_NO_SERVER_DEFINED_FOR_DATA_SOURCE
public static final int SUBREASON_NO_TABLE_DEFINED_FOR_DATA_SOURCE
public static final int SUBREASON_FUNCTION_CALL_HAS_NULL_FUNCTION
public static final int SUBREASON_FUNCTION_CALL_HAS_NO_FUNCTION_SIGNATURE_FOR_ARGUMENTS_GIVEN
public static final int SUBREASON_NO_LEFT_DATA_SOURCE_DEFINED_FOR_JOIN
public static final int SUBREASON_NO_RIGHT_DATA_SOURCE_DEFINED_FOR_JOIN
public static final int SUBREASON_JOIN_RELATIONSHIP_TYPE_NOT_SET
public static final int SUBREASON_JOIN_CARDINALITY_NOT_SET
public static final int SUBREASON_JOIN_TYPE_NOT_SET
public static final int SUBREASON_JOIN_CONDITION_TYPE_NOT_SET
public static final int SUBREASON_NO_TABLE_DATA_SOURCE_DEFINED_FOR_QUALIFIED_COLUMN
public static final int SUBREASON_NO_COLUMN_DEFINED_FOR_COLUMN
public static final int SUBREASON_NO_HIERARCHY_DEFINED_FOR_QUALIFIED_LEVEL
public static final int SUBREASON_NO_LEVEL_DEFINED_FOR_QUALIFIED_LEVEL
public static final int SUBREASON_COMPARISON_EXPRESSION_HAS_NULL_COMPARISON_OPERATOR
public static final int SUBREASON_IN_EXPRESSION_HAS_EMPTY_COMPARISON_LIST
public static final int SUBREASON_MEMBER_FILTER_EXPRESSION_HAS_EMPTY_MEMBER_NAME_LIST
public static final int SUBREASON_AGGREGATION_FUNCTION_MODIFIED_WITH_ILLEGAL_VALUE
public static final int SUBREASON_USAGE_MODIFIED_BUT_NOT_ALLOWED
public static final int SUBREASON_SORT_DIRECTION_MODIFIED_BUT_NOT_ALLOWED
public static final int SUBREASON_SORT_CRITERIA_MODIFIED_BUT_NOT_ALLOWED
public static final int SUBREASON_DATA_ITEM_DATA_BASED_FILTER_HAS_EMPTY_LEFT_EXPRESSION
public static final int SUBREASON_DATA_ITEM_DATA_BASED_FILTER_HAS_EMPTY_RIGHT_EXPRESSION
public static final int SUBREASON_DATA_ITEM_MEMBER_FILTER_HAS_EMPTY_MEMBER_NAMES_LIST
public static final int SUBREASON_DATA_ITEM_NAVIGATION_FILTER_HAS_NULL_LEVEL_NAME
public static final int SUBREASON_DATA_ITEM_NAVIGATION_FILTER_HAS_NULL_NAVIGATION_NAME
public static final int SUBREASON_DATA_ITEM_NAVIGATION_FILTER_HAS_INVALID_FILTER_TYPE
public static final int SUBREASON_BUSINESS_MODEL_OBJECT_REFERENCES_UNUSABLE_OBJECTS
public static final int SUBREASON_ATTRIBUTE_DESCRIPTOR_NOT_SET
SUBREASON_ATTRIBUTE_DESCRIPTOR_NOT_SET
public static final int SUBREASON_SORT_BY_UNRELATED_MEASURE
public static final int SUBREASON_INVALID_USAGE
public static final int SUBREASON_NO_DATA_SOURCES_IN_QUERY
public static final int SUBREASON_NO_NON_HIDDEN_RESULT_ITEMS_IN_QUERY
public static final int SUBREASON_CONSTANT_EXPRESSION_HAS_INVALID_VALUE
public static final int SUBREASON_BUSINESS_QUERY_DATA_BASED_FILTER_HAS_EMPTY_LEFT_EXPRESSION
public static final int SUBREASON_BUSINESS_QUERY_DATA_BASED_FILTER_HAS_EMPTY_RIGHT_EXPRESSION
public static final int SUBREASON_ACCESS_PATH_HAS_NO_SCHEMA_SPECIFIED
public static final int SUBREASON_ACCESS_PATH_HAS_UNSUPPORTED_SCHEMA_TYPE
public static final int SUBREASON_ACCESS_PATH_HAS_NO_SERVER_SPECIFIED
public static final int SUBREASON_ACCESS_PATH_HAS_UNSUPPORTED_SERVER_TYPE
public static final int SUBREASON_DUPLICATE_PHYSICAL_METADATA_ITEM_FOUND
public static final int SUBREASON_FOLDER_NOT_EMPTY
public static final int SUBREASON_SET_OPERATION_REQUIRES_TWO_SELECTIONS
public static final int SUBREASON_SET_OPERATION_REQUIRES_SAME_NUMBER_OF_NONHIDDEN_ITEMS
public static final int SUBREASON_SET_OPERATION_NONHIDDEN_ITEM_TYPES_MUST_MATCH
public static final int SUBREASON_SET_OPERATION_ONLY_RELATIONAL_QUERIES_SUPPORTED
public static final int SUBREASON_SET_OPERATION_FORMATS_DO_NOT_MATCH
public static final int SUBREASON_NEWER_MODEL_THAN_CODE_CAN_READ
public static final int SUBREASON_MULTI_VALUE_PROMPT_NOT_SUPPORTED
public static final int SUBREASON_NUMERATOR_IS_NULL
public static final int SUBREASON_NUMERATOR_IS_NOT_NUMERIC
public static final int SUBREASON_DENOMINATOR_IS_NOT_CATEGORY
public static final int SUBREASON_DENOMINATOR_IS_NULL
public static final int SUBREASON_JOIN_PATH_INVALID
public static final int SUBREASON_DATA_ITEM_MEMBER_PROPERTIES_FILTER_HAS_EMPTY_LEFT_EXPRESSION
public static final int SUBREASON_DATA_ITEM_MEMBER_PROPERTIES_FILTER_HAS_EMPTY_RIGHT_EXPRESSION
public static final int SUBREASON_DATA_ITEM_MEMBER_PROPERTIES_FILTER_HAS_EMPTY_MEMBER_NAMES_LIST
public static final int SUBREASON_PAGE_ROLE_IN_OLAP_IS_NOT_PERMITTED
public static final int SUBREASON_CALCULATED_TIME_MEASURE_NAME_IS_NULL
public static final int SUBREASON_TIME_NUMERIC_EXPRESSION_IS_NULL
public static final int SUBREASON_TIME_FUNCTION_NAME_IS_NULL
public static final int SUBREASON_TIME_PERIOD_IS_NULL
public static final int SUBREASON_TIME_SEARCH_DIRECTION_IS_INVALID
public static final int SUBREASON_TIME_LEVEL_NAME_IS_NULL
public static final int SUBREASON_TIME_DATE_MEMBER_IS_NULL
public static final int SUBREASON_COMBINED_MEASURES_AND_NON_MEASURES
public static final int SUBREASON_JOIN_EXPRESSION_TYPE_IS_NOT_BOOLEAN
public static final int SUBREASON_JOIN_EXPRESSION_HAS_TOO_FEW_TABLES
public static final int SUBREASON_NO_FILTERSETRULES_DEFINED_FOR_FILTERSET
public static final int SUBREASON_READ_ONLY_OBJECT
public static final int SUBREASON_INVALID_LABEL_LENGTH
public static final int SUBREASON_INVALID_RESULT_ITEM
public static final int SUBREASON_CANNOT_USE_FRACTIONOFTOTAL_IN_FILTER
public static final int SUBREASON_PROMPT_DEFINITION_NOT_SET
PromptDefinition
public static final int SUBREASON_PROMPT_DEFINITION_VALIDATION_ERROR
PromptDefinition
contained within a Prompt object has a validation error.
public static final int SUBREASON_OBJECT_HAS_CYCLE_IN_ITS_DEFINITION
public static final int SUBREASON_TIME_STARTING_PERIOD_IS_NULL
public static final int SUBREASON_TIME_NUMERIC_EXPRESSION_IS_NOT_A_MEASURE
public static final int SUBREASON_NO_TIME_DIM_FOR_TIME_MEASURE
public static final int SUBREASON_NO_ROLAP_MEASURE
public static final int SUBREASON_ROLAP_USAGE_NO_ALLOWED
public static final int SUBREASON_ROLAP_COUNT_DISTINCT_NOT_ALLOWED
public static final int SUBREASON_ROLAP_AGGREGATION_NOT_SUPPORTED
public static final int REASON_NON_UNIQUE_IMID
public static final int SUBREASON_OBJECT_IS_NOT_PERSISTABLY_REACHABLE
public static final int SUBREASON_QUERY_HAS_NON_RELATIONAL_OUTPUT
public static final int SUBREASON_QUERY_NOT_DEFINED_TO_RETURN_SINGLE_AGGREGATED_COLUMN_OF_DATA
public static final int SUBREASON_QUERY_COMPARISON_EXPRESSION_HAS_NO_COMPARISON_TYPE_SET
public static final int SUBREASON_QUERY_COMPARISON_EXPRESSION_HAS_NO_COMPARISON_OPERATOR_SET
public static final int SUBREASON_QUERY_COMPARISON_EXPRESSION_HAS_NO_QUERY_SET
public static final int SUBREASON_ILLEGAL_USAGE_OF_PRIVATE_QUERY
public static final int SUBREASON_NO_READ_PERMISSION
public static final int SUBREASON_OBJECT_NOT_FOUND
public static final int SUBREASON_MULTIPLE_OBJECTS_EXIST
public static final int SUBREASON_PARENT_AGGREGATE_TRAP_DETECTED
public static final int SUBREASON_SIBLING_AGGREGATE_TRAP_DETECTED
public static final int SUBREASON_LOOP_DETECTED
public static final int SUBREASON_LIKE_CONDITION_SAME_MATCHMANY_AND_MATCHONE_CHAR
public static final int SUBREASON_LIKE_CONDITION_SAME_MATCHMANY_AND_ESCAPE_CHAR
public static final int SUBREASON_LIKE_CONDITION_SAME_MATCHONE_AND_ESCAPE_CHAR
public static final int SUBREASON_LIKE_CONDITION_SAME_MATCHONE_MATCHMANY_AND_ESCAPE_CHAR
public static final int SUBREASON_INVALID_PROMPT
public static final int SUBREASON_INVALID_EXPRESSION_TYPE
public static final int SUBREASON_UNABLE_TO_GET_STARTING_LEVEL
public static final int SUBREASON_INVALID_STARTING_LEVEL
public static final int SUBREASON_INVALID_RESULTSETID
public static final int SUBREASON_SERVER_IN_PATH_NOT_FOUND
public static final int SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_VERSION
public static final int SUBREASON_OLAP_DDL_FILTER_RULE
public static final int SUBREASON_FILTERTUPLE_HAS_NONAME
public static final int SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_MAJOR_VERSION
InformationMap.SAVEOPTION_ALLOW_MAJOR_VERSION_INCREASE
is provided when saving the information map.
public static final int SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_MINOR_VERSION
InformationMap.SAVEOPTION_ALLOW_MINOR_VERSION_INCREASE
is provided when saving the information map.
public static final int SUBREASON_NO_KEPT_COLUMNS_IN_IMLE_DATA_SOURCE
public static final int SUBREASON_KEPT_COLUMN_IS_UNRESOLVED
public static final int SUBREASON_ROLAP_GT_31CATEGORIES_NOT_SUPPORTED
public static final int SUBREASON_RELATIONAL_GT_31CATEGORIES_NOT_SUPPORTED
public static final int SUBREASON_SAME_LABEL_FOR_MEASURES
public static final int SUBREASON_DATAITEM_NOT_IN_AXIS_FOR_TUPLE_FILTER
public static final int SUBREASON_GROUP_FORMATTING_MODIFIED_BUT_NOT_ALLOWED
public static final int SUBREASON_SORT_FORMATTING_MODIFIED_BUT_NOT_ALLOWED
public static final int SUBREASON_MULTIPLE_MEASURE_TABLES_IN_SAME_UQUERY
public static final int SUBREASON_EXPRESSION_NOT_SUPPORTED_IN_THIS_JOIN_MODEL
public static final int SUBREASON_OUTER_JOINS_NOT_IMPLEMENTED_IN_THIS_JOIN_MODEL
public static final int SUBREASON_NESTED_CALCULATED_MEASURES_NOT_CURRENTLY_IMPLEMENTED
public static final int SUBREASON_GROUPED_MEASURES_CANNOT_BE_IN_MULTIPLE_GROUPS
public static final int SUBREASON_GROUPED_MEASURES_CANNOT_BE_NESTED
public static final int SUBREASON_GROUPED_MEASURES_CAN_ONLY_HAVE_MEASURES
Constructor Detail |
---|
public Reason(java.lang.Object obj, int reason, int subReason, java.lang.String msgKey, java.lang.Object[] msgArgs)
obj
- the object this reason is created forreason
- an integer code giving a general reasonsubReason
- an integer code giving a specific explanation for this objectmsgKey
- the resource key of the MessageFormat in IQueryMetadataResourceBundlemsgArgs
- MessageFormat Args
This constructor delays evaluation of the string resources until the getReasonString() or toString() methods are called
and the resources are looked for in the default RBBase of IQueryMetadataResourceBundlepublic Reason(java.lang.Object obj, int reason, int subReason, java.lang.Exception e)
obj
- the object this reason is created forreason
- an integer code giving a general reasonsubReason
- an integer code giving a specific explanation for this object
This constructor uses a getLocalizedMessage on the exception when the getReasonString() or toString() methods are calledMethod Detail |
---|
public int getReason()
public int getSubReason()
public java.lang.String getReasonString()
public java.lang.Object getObject()
public NamedObjectInterface getNamedObject()
public java.lang.String getReasonString(java.util.Locale locale)
locale
- Locale used to retrieve the message
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |