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

E13403-04

oracle.jdeveloper.audit.service
Interface Violation

All Known Implementing Classes:
JavaTransformContext, ProjectTransformContext, TextTransformContext, TransformContext

public interface Violation

A violation of an Audit rule.


Method Summary
 Transform getDefaultTransform()
          Gets the default transform of this violation, or null if none.
 Location getFocusLocation()
          Gets the focus location of the violation, or null if none.
 Location getLocation()
          Gets the location of the violating construct.
 int getParameterCount()
          Gets the number of parameters of this violation.
 java.lang.String getParameterName(int index)
          Gets the name of a parameter of this violation.
 java.lang.Object getParameterValue(int index)
          Gets the value of a parameter of this violation.
 java.lang.Object getParameterValue(java.lang.String name)
          Gets the value of a parameter of this violation by name.
 Rule getRule()
          Gets the rule violated by this violation.
 int getSerialNumber()
          Gets the serial number of this violation.
 Transform getTransform(int index)
          Gets a transform of this violation.
 int getTransformCount()
          Gets the number of transforms of this violation.
 Location getTransformFocusLocation(int index)
          Gets the applicable location of a transform of this violation, or null if none.
 java.lang.String getVariation()
          Gets the variation in the rule violated, or null if the default.
 

Method Detail

getRule

Rule getRule()
Gets the rule violated by this violation.


getVariation

java.lang.String getVariation()
Gets the variation in the rule violated, or null if the default.


getLocation

Location getLocation()
Gets the location of the violating construct.


getFocusLocation

Location getFocusLocation()
Gets the focus location of the violation, or null if none.


getParameterCount

int getParameterCount()
Gets the number of parameters of this violation.


getParameterName

java.lang.String getParameterName(int index)
Gets the name of a parameter of this violation.

Parameters:
index - The index of the parameter.

getParameterValue

java.lang.Object getParameterValue(int index)
Gets the value of a parameter of this violation.

Parameters:
index - The index of the parameter.

getParameterValue

java.lang.Object getParameterValue(java.lang.String name)
Gets the value of a parameter of this violation by name.


getTransformCount

int getTransformCount()
Gets the number of transforms of this violation.


getTransform

Transform getTransform(int index)
Gets a transform of this violation.

Parameters:
index - The index of the transform.

getTransformFocusLocation

Location getTransformFocusLocation(int index)
Gets the applicable location of a transform of this violation, or null if none.

Parameters:
index - The index of the transform.

getDefaultTransform

Transform getDefaultTransform()
Gets the default transform of this violation, or null if none.


getSerialNumber

int getSerialNumber()
Gets the serial number of this violation.


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

E13403-04

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