org.adfemg.audits.adfbc.adfeo
Class EntityObjectAnalyzer

java.lang.Object
  extended by oracle.jdeveloper.audit.analyzer.Analyzer
      extended by org.adfemg.audits.base.XmlAnalyzer
          extended by org.adfemg.audits.adfbc.adfeo.EntityObjectAnalyzer

public class EntityObjectAnalyzer
extends XmlAnalyzer

Analyzer class for EntityObjects.


Constructor Summary
EntityObjectAnalyzer()
           
 
Method Summary
 void enter(AuditContext context, org.w3c.dom.Document document)
          Check if we're in a EntityObject file.
 void enter(AuditContext context, SourceFile sourceClass)
          Check if we're in EntityImpl java file.
 void enter(AuditContext context, Workspaces workspaces)
           
 void exit(AuditContext context, org.w3c.dom.Attr attr)
           
 void exit(AuditContext context, org.w3c.dom.Element element)
          Check if RowId is used as primary key and report voilation.
 void exit(AuditContext context, SourceBlock stmt)
          Checks if there is refrence to Application Module in EntityImpl class.
 
Methods inherited from class org.adfemg.audits.base.XmlAnalyzer
isAuditable
 
Methods inherited from class oracle.jdeveloper.audit.analyzer.Analyzer
cancel, getMetrics, getRules, isApplicationContentSupported, isCancelled, isEnabled, setEnabled, startTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityObjectAnalyzer

public EntityObjectAnalyzer()
Method Detail

enter

public void enter(AuditContext context,
                  Workspaces workspaces)

enter

public void enter(AuditContext context,
                  org.w3c.dom.Document document)
Check if we're in a EntityObject file.

Overrides:
enter in class XmlAnalyzer
Parameters:
context - the AuditContext.
document - the document.

enter

public void enter(AuditContext context,
                  SourceFile sourceClass)
Check if we're in EntityImpl java file.

Parameters:
context -
sourceClass -

exit

public void exit(AuditContext context,
                 org.w3c.dom.Element element)
Check if RowId is used as primary key and report voilation.

Parameters:
context -
element -

exit

public void exit(AuditContext context,
                 org.w3c.dom.Attr attr)
Parameters:
context -
attr -

exit

public void exit(AuditContext context,
                 SourceBlock stmt)
Checks if there is refrence to Application Module in EntityImpl class.

Parameters:
context -
stmt -