Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.domain.validation
Class ValidationRecord

java.lang.Object
  extended by oracle.odi.domain.validation.ValidationRecord

All Implemented Interfaces:
java.lang.Comparable<ValidationRecord>

public class ValidationRecord
extends java.lang.Object
implements java.lang.Comparable<ValidationRecord>

Record, which holds information about any issue with domain object. Note: this class has a natural ordering that is inconsistent with equals. Record with type ERROR > Record with type WARNING > Record with type NOTIFICATION

Since:
11.1.1.6.0
Version:
$Header: ValidationRecord.java 04-jul-2011.16:00:55 aputseye Exp $
See Also:
ValidationMessageHandle

Nested Class Summary
static class ValidationRecord.Type
           

 

Constructor Summary
ValidationRecord(ValidationMessageHandle messageHandle, java.lang.Object... args)
          Create new record.

 

Method Summary
 int compareTo(ValidationRecord o)
          Record with type ERROR > Record with type WARNING > Record with type NOTIFICATION.
 java.lang.String getLocalizedMessage(java.util.Locale locale)
          Return issue message in preferred locale, if possible.
 oracle.odi.internal.util.MessageHandle getMessageHandle()
          Retrieve underlying MessageHandle.
 ValidationRecord.Type getValidationRecordType()
          Return validation severity from (NOTIFICATION, WARNING or ERROR).

 

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

 

Constructor Detail

ValidationRecord

public ValidationRecord(ValidationMessageHandle messageHandle,
                        java.lang.Object... args)
Create new record.
Parameters:
messageHandle - cannot be null
args - arguments for message handle. Can be omitted if there are no arguments

Method Detail

getValidationRecordType

public ValidationRecord.Type getValidationRecordType()
Return validation severity from (NOTIFICATION, WARNING or ERROR).
Returns:
validation severity
See Also:
ValidationRecord.Type

getLocalizedMessage

public java.lang.String getLocalizedMessage(java.util.Locale locale)
Return issue message in preferred locale, if possible.
Parameters:
locale - preferred locale
Returns:
localized issue message

getMessageHandle

public oracle.odi.internal.util.MessageHandle getMessageHandle()
Retrieve underlying MessageHandle. For advanced usage.
Returns:
underlying MessageHandle
See Also:
MessageHandle

compareTo

public int compareTo(ValidationRecord o)
Record with type ERROR > Record with type WARNING > Record with type NOTIFICATION.
Specified by:
compareTo in interface java.lang.Comparable<ValidationRecord>

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.