Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.audit.analyzer
Class Category

java.lang.Object
  extended by oracle.jdeveloper.audit.extension.ExtensionBean
      extended by oracle.jdeveloper.audit.analyzer.Category
Direct Known Subclasses:
InternalCategory

public class Category
extends ExtensionBean

A category of rules or metrics. Categories primarily serve to group rules or metrics, but they can also expose properties. Typically, these would be properties shared by more than one of the rules or metrics in the category.

Category names are scoped by analyzer class. Typically, a single analyzer creates a category and all the rules or metrics in the category. However, an analyzer can associate a rule or metric it creates with a category created by another analyzer by supplying the class of the other analyzer as the context.

Localized label, tool tip, and description strings are returned by this class using the Localizer supplied to the constructor and the following keys:

   "category." + name() + ".label"
   "category." + name() + ".tip"
   "category." + name() + ".description"
See ExtensionBean.labelOrId() and ExtensionBean.description().

See Also:
'

Field Summary
 
Fields inherited from class oracle.jdeveloper.audit.extension.ExtensionBean
DESCRIPTION_KEY, LABEL_KEY, SHORT_LABEL_KEY, TIP_KEY
 
Constructor Summary
Category()
          Creates a category.
Category(java.lang.String name, Category category, Localizer localizer)
          Creates a category.
Category(java.lang.String name, Localizer localizer)
          Creates a category.
Category(java.lang.String id, java.lang.String extensionId, Category category)
          Creates a category.
 
Method Summary
protected  void copyInternalState(ExtensionBean copy, java.util.IdentityHashMap<java.lang.Object,java.lang.Object> context)
          Copies internal subclass state as part of creating a copy of this bean.
 Category getCategory()
           
 java.lang.String toString()
           
 
Methods inherited from class oracle.jdeveloper.audit.extension.ExtensionBean
addPropertyChangeListener, addPropertyChangeListener, createCopy, description, equals, extensionId, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, formattedString, formattedString, hashCode, id, label, labelOrId, logError, logWarning, propertyDescription, propertyLabel, propertyString, propertyTip, removePropertyChangeListener, removePropertyChangeListener, setCompatibilityBundle, setStrings, setters, shortLabel, string, strings, tip
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Category

public Category()
Creates a category.

The Audit framework uses this constructor for categories declared in an extension manifest, and then injects values for the ExtensionBean.id, ExtensionBean.extensionId, and category fields.


Category

public Category(java.lang.String name,
                Localizer localizer)
Creates a category.

Parameters:
name - The non-localized name of this category.
localizer - The localizer which supplies localized strings for this category.

Category

public Category(java.lang.String name,
                Category category,
                Localizer localizer)
Creates a category.

Parameters:
name - The non-localized name of this category.
localizer - The localizer which supplies localized strings for this category.

Category

public Category(java.lang.String id,
                java.lang.String extensionId,
                Category category)
Creates a category.

Th Audit framework uses this constructor used for categories declared in an extension manifest.

Parameters:
id - The id of this category.
Method Detail

copyInternalState

protected void copyInternalState(ExtensionBean copy,
                                 java.util.IdentityHashMap<java.lang.Object,java.lang.Object> context)
                          throws java.lang.reflect.InvocationTargetException
Description copied from class: ExtensionBean
Copies internal subclass state as part of creating a copy of this bean.

Overrides:
copyInternalState in class ExtensionBean
Parameters:
copy - The partially initialized copy.
context - A map which allows subclasses to preserve object identity when copying a graph of extension beans.
Throws:
java.lang.reflect.InvocationTargetException
See Also:
ExtensionBean.createCopy(java.util.IdentityHashMap)

getCategory

public Category getCategory()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.