Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.report
Class ReportManager.ReportType

java.lang.Object
  extended by oracle.apps.fnd.applseed.report.ReportManager.ReportType
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
ReportManager

public static class ReportManager.ReportType
extends java.lang.Object
implements java.lang.Comparable

ReportType allows for classification of error/report items during reporting. Currently three report types are supported as members of the enclosing class ReportManager. If the report type is not declared for an error item, it is assumed to be of ValidationReport type.


Constructor Summary
ReportManager.ReportType(java.lang.String name, int porder)
          Constructor for report type that has the given name.
 
Method Summary
 int compareTo(java.lang.Object obj)
          Method provides natural sort order for objects of type ReportType.
 boolean equals(java.lang.Object obj)
          Method tests for equality.
 java.lang.String getTypeId()
          Method returns the type.
 int hashCode()
          Method returns hashcode base on type.
 java.lang.String toString()
          Method returns meaningful string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportManager.ReportType

public ReportManager.ReportType(java.lang.String name,
                                int porder)
Constructor for report type that has the given name. The report is displayed based on the order.

Parameters:
name - name of the report type
porder - display order of the report type
Method Detail

compareTo

public int compareTo(java.lang.Object obj)
Method provides natural sort order for objects of type ReportType.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
obj - object to be compared with
Returns:
returns less than, equal to, or more than zero based on if this object is less than, equal to, or greater than the passed object.

equals

public boolean equals(java.lang.Object obj)
Method tests for equality.

Overrides:
equals in class java.lang.Object
Parameters:
obj - object to be tested for equality
Returns:
returns true if this object is equal to the passed object.

hashCode

public int hashCode()
Method returns hashcode base on type.

Overrides:
hashCode in class java.lang.Object
Returns:
returns hashcode

getTypeId

public java.lang.String getTypeId()
Method returns the type.

Returns:
returns type

toString

public java.lang.String toString()
Method returns meaningful string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
returns string representation

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.