Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

oracle.owb.compile
Interface ValidationResult

All Known Subinterfaces:
CompilationResult

public interface ValidationResult

ValidationResult interface represents a ValidationResult.


Field Summary
static int ERROR
          For WARNING state.
static int SUCCESS
          For SUCCESS state.
static int WARNING
          For WARNING state.

 

Method Summary
 Messages[] getAllMessages()
          This method fetches all the messages that were generated by the validation process.
 java.util.Date getLastModifiedTime()
          This method returns the date (includes time) when the object was last modified.
 java.util.Date getLastValidationTime()
          This method returns the date (includes time) of the last validation.
 java.lang.String getModuleName()
          This method returns the name of the module to which the object may belong to.
 java.lang.String getProjectName()
          This method returns project name.
 java.lang.String getSelectedObject()
          This method returns the fully qualified name, from the project to the object.
 java.lang.String getSelectedObjectType()
          This method returns the type of the object.
 int getStatus()
          This method returns the status of the validation process.

 

Field Detail

SUCCESS

public static final int SUCCESS
For SUCCESS state.
See Also:
Constant Field Values

ERROR

public static final int ERROR
For WARNING state.
See Also:
Constant Field Values

WARNING

public static final int WARNING
For WARNING state.
See Also:
Constant Field Values
Method Detail

getStatus

public int getStatus()
This method returns the status of the validation process. If the validation performed successfully the method returns SUCCESS (0) and in case of failure it returns ERROR (1).
Returns:
a String.

getSelectedObjectType

public java.lang.String getSelectedObjectType()
This method returns the type of the object. For example, it could be a relational (TABLE, VIEW, SEQUENCE), dimensional (DIMENSION and CUBE)
Returns:
a String.

getSelectedObject

public java.lang.String getSelectedObject()
This method returns the fully qualified name, from the project to the object. For example, project_name.schema_name.selected_object_name
Returns:
a String.

getLastValidationTime

public java.util.Date getLastValidationTime()
This method returns the date (includes time) of the last validation.
Returns:
a java.util.Date.

getLastModifiedTime

public java.util.Date getLastModifiedTime()
This method returns the date (includes time) when the object was last modified.
Returns:
a java.util.Date.

getProjectName

public java.lang.String getProjectName()
This method returns project name.
Returns:
the project name (String)

getModuleName

public java.lang.String getModuleName()
This method returns the name of the module to which the object may belong to.
Returns:
a module name (String)

getAllMessages

public Messages[] getAllMessages()
This method fetches all the messages that were generated by the validation process.
Returns:
a schema name (String)

Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.