<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataSource.common
Class ValidationObject

java.lang.Object
  |
  +--oracle.dss.dataSource.common.ValidationObject
All Implemented Interfaces:
java.io.Serializable

public class ValidationObject
extends java.lang.Object
implements java.io.Serializable

Object that contains information about a completed validation API call.

See Also:
Serialized Form

Field Summary
static int VALIDATE_ERROR
          Determines what caused an OLAP API error.
static int VALIDATE_MEMBERS
          Validates the number of members selected.
static int VALIDATE_NULL_STATUS
          Determines what caused null status.
static int VALIDATION_SCOPE_EDGE
          Validation scope was an edge.
static int VALIDATION_SCOPE_QUERY
          Validation scope was Query.
static int VALIDATION_SCOPE_SELECTION
          Validation scope was a Selection.
static int VALIDATION_SCOPE_STEP
          Validation scope was a Step.

 

Method Summary
 boolean errorsChecked()
          Indicates whether errors were checked.
 boolean errorsFound()
          Indicates whether the object that is being validated has errors.
 boolean errorsFound(java.lang.Object obj)
          Indicates whether the specified object had error checks.
 com.sun.java.util.collections.List getErrorList()
          Retrieves the list of objects that have errors, if any.
 com.sun.java.util.collections.List getInconsistentMembers()
          Retrieves the list of objects that have inconsistent members, if any.
 com.sun.java.util.collections.List getNullStatusList()
          Retrieves the list of objects that have null status, if any.
 java.lang.Object getValidatedObject()
          Retrieves the object that was validated.
 int getValidationScope()
          Determines the type of object that is being validated.
 boolean hadNullStatus()
          Indicates whether the object that is being validated had a null status.
 boolean hadNullStatus(java.lang.Object obj)
          Indicates whether the specified object was found to have null status.
 boolean membersChecked()
          Indicates whether member step sizes were counted.
 boolean membersInconsistent()
          Indicates whether the object that is being validated has inconsistent member checks.
 boolean membersInconsistent(java.lang.Object obj)
          Indicates whether the specified object has inconsistent members.
 boolean nullStatusChecked()
          Indicates whether null status validation was performed.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

VALIDATE_MEMBERS

public static final int VALIDATE_MEMBERS
Validates the number of members selected.

VALIDATE_NULL_STATUS

public static final int VALIDATE_NULL_STATUS
Determines what caused null status.

VALIDATE_ERROR

public static final int VALIDATE_ERROR
Determines what caused an OLAP API error.

VALIDATION_SCOPE_QUERY

public static final int VALIDATION_SCOPE_QUERY
Validation scope was Query.

VALIDATION_SCOPE_EDGE

public static final int VALIDATION_SCOPE_EDGE
Validation scope was an edge.

VALIDATION_SCOPE_SELECTION

public static final int VALIDATION_SCOPE_SELECTION
Validation scope was a Selection.

VALIDATION_SCOPE_STEP

public static final int VALIDATION_SCOPE_STEP
Validation scope was a Step.
Method Detail

hadNullStatus

public boolean hadNullStatus()
Indicates whether the object that is being validated had a null status.
Returns:
true if the object being validated had any null status; false if the object did not have null status.

hadNullStatus

public boolean hadNullStatus(java.lang.Object obj)
Indicates whether the specified object was found to have null status.
Parameters:
obj - The object to check for null status.
Returns:
true if the specified object had null status; false if the specified object did not have null status.

getNullStatusList

public com.sun.java.util.collections.List getNullStatusList()
Retrieves the list of objects that have null status, if any.
Returns:
The list of objects that have null status, if any.

getInconsistentMembers

public com.sun.java.util.collections.List getInconsistentMembers()
Retrieves the list of objects that have inconsistent members, if any.
Returns:
The list of objects that have inconsistent members, if any.

getErrorList

public com.sun.java.util.collections.List getErrorList()
Retrieves the list of objects that have errors, if any.
Returns:
The list of objects that have errors, if any.

membersInconsistent

public boolean membersInconsistent()
Indicates whether the object that is being validated has inconsistent member checks.
Returns:
true if the object being validated has one or more inconsistent member checks; <codee>false if the object has no inconsistent member checks.

membersInconsistent

public boolean membersInconsistent(java.lang.Object obj)
Indicates whether the specified object has inconsistent members.
Parameters:
obj - The object to check for inconsistent members.
Returns:
true if the specified object has inconsistent members; false if the specified object does not have inconsistent members.

errorsFound

public boolean errorsFound()
Indicates whether the object that is being validated has errors.
Returns:
true if the object that is being validated has errors; false if the object that is being validated did not have errors.

errorsFound

public boolean errorsFound(java.lang.Object obj)
Indicates whether the specified object had error checks.
Parameters:
obj - The object to test for error checks.
Returns:
true if the specified object had errors; false if the specified object did not have errors.

nullStatusChecked

public boolean nullStatusChecked()
Indicates whether null status validation was performed.
Returns:
true if null status validation was performed; false if null status validation was not perforfmed.

errorsChecked

public boolean errorsChecked()
Indicates whether errors were checked.
Returns:
true if errors were checked; false if errors were not checked.

membersChecked

public boolean membersChecked()
Indicates whether member step sizes were counted.
Returns:
true if member step sizes were counted; false if member step sizes were not counted.

getValidatedObject

public java.lang.Object getValidatedObject()
Retrieves the object that was validated.
Returns:
The object that was validated. This object can be any of the following: QueryClient, edge number, Selection, or Step.

getValidationScope

public int getValidationScope()
Determines the type of object that is being validated. The object types are: Query, edge, Selection, or Step.
Returns:
An enumerated type that indicates the type of validated object. Valid values are the constants in this class that begin with the prefix VALIDATION_SCOPE.
See Also:
VALIDATION_SCOPE_QUERY, VALIDATION_SCOPE_EDGE, VALIDATION_SCOPE_SELECTION, VALIDATION_SCOPE_STEP

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.