Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.audit.service
Interface Violation

All Known Implementing Classes:
NullTransformContext, 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
11g Release 2 (11.1.2.0.0)

E17493-01

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