|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.audit.analyzer.Profileable
oracle.jdeveloper.audit.analyzer.Attribute
oracle.jdeveloper.audit.analyzer.Column
An attribute computed from the constructs of the Audit object model. It differs from a metric in that the latter requires a traversal of the construct hierarchy. The configurable state of a column is exposed through JavaBeans properties. Every column has category, name, value class, and threshold properties inherited from Attribute. A column can expose additional properties which the Audit framework will discover by introspection and add to the appropriate Audit preferences panel. Columns are registered with the AuditManager at startup by IDE extensions.
Column subclasses must provide one or more value
which accept a single parameter--either a Location, a Violation or
a construct--and return a value of the value class. For a construct, if no
value(Location)
method is present, the value method invoked
(if any) for a construct will be the one whose parameter is the most-specific
type which is the same as or a supertype of the actual type of the construct.
If a value(Location)
method is present, that will be the method
invoked regardless of other value
methods present. For an
object which is not a construct (in particular, a Violation), the
value(Location)
method is ignored.
Localized label, tool tip, and description strings are returned by this
class using the Localizer
supplied to the constructor and the following
keys:
"column." + getName() + ".label"
"column." + getName() + ".tip"
"column." + getName() + ".description"
Localizer
Field Summary |
Fields inherited from class oracle.jdeveloper.audit.analyzer.Attribute |
comparator, threshold, type |
Constructor Summary | |
protected |
Column(java.lang.String name,
java.lang.Class type,
Category category,
Localizer localizer)
Creates a column with no threshold. |
protected |
Column(java.lang.String name,
java.lang.Class type,
Category category,
java.lang.Object threshold,
Localizer localizer)
Creates a column. |
Method Summary | |
java.lang.String |
description()
Gets the localized description text for this column from its localizer using the key "column." + getName() + ".description" . |
java.lang.String |
label()
Gets the localized label text for this column from its localizer using the key "column." + getName() + ".label" . |
java.lang.String |
tip()
Gets the localized tool tip text for this column from its localizer using the key "column." + getName() + ".tip" . |
Methods inherited from class oracle.jdeveloper.audit.analyzer.Attribute |
comparator, getCategory, getEvaluator, getThreshold, getType, isEnabled, setEnabled, setThreshold |
Methods inherited from class oracle.jdeveloper.audit.analyzer.Profileable |
addPropertyChangeListener, addPropertyChangeListener, context, context, equals, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, hashCode, name, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Column(java.lang.String name, java.lang.Class type, Category category, java.lang.Object threshold, Localizer localizer)
name
- The name of this column.type
- The type of this column.category
- The category of this column.threshold
- The error threshold of this column.localizer
- The localizer which supplies localized strings for this
column.protected Column(java.lang.String name, java.lang.Class type, Category category, Localizer localizer)
name
- The name of this column.type
- The type of this column.category
- The category of this column.localizer
- The localizer which supplies localized strings for this
column.Method Detail |
public java.lang.String label()
"column." + getName() + ".label"
.
label
in class Profileable
Localizer
public java.lang.String tip()
"column." + getName() + ".tip"
.
tip
in class Profileable
Localizer
public java.lang.String description()
"column." + getName() + ".description"
.
description
in class Profileable
Localizer
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.