Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.cayenne.project.validator
Class ProcedureValidator  view ProcedureValidator download ProcedureValidator.java

java.lang.Object
  extended byorg.objectstyle.cayenne.project.validator.TreeNodeValidator
      extended byorg.objectstyle.cayenne.project.validator.ProcedureValidator

public class ProcedureValidator
extends TreeNodeValidator

Validator for stored procedures.


Field Summary
private static org.apache.log4j.Logger logObj
           
 
Fields inherited from class org.objectstyle.cayenne.project.validator.TreeNodeValidator
dbAttrValidator, dbEntityValidator, dbRelValidator, domainValidator, mapValidator, nodeValidator, objAttrValidator, objEntityValidator, objRelValidator, procedureParameterValidator, procedureValidator
 
Constructor Summary
ProcedureValidator()
           
 
Method Summary
protected  void validateName(org.objectstyle.cayenne.map.Procedure procedure, org.objectstyle.cayenne.project.ProjectPath path, Validator validator)
           
 void validateObject(org.objectstyle.cayenne.project.ProjectPath treeNodePath, Validator validator)
          Validates an object, appending any warnings or errors to the validator.
 
Methods inherited from class org.objectstyle.cayenne.project.validator.TreeNodeValidator
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logObj

private static org.apache.log4j.Logger logObj
Constructor Detail

ProcedureValidator

public ProcedureValidator()
Method Detail

validateObject

public void validateObject(org.objectstyle.cayenne.project.ProjectPath treeNodePath,
                           Validator validator)
Description copied from class: TreeNodeValidator
Validates an object, appending any warnings or errors to the validator. Object to be validated is the last object in a treeNodePath array argument. Concrete implementations would expect an object of a specific type. Otherwise, ClassCastException will be thrown.

Specified by:
validateObject in class TreeNodeValidator

validateName

protected void validateName(org.objectstyle.cayenne.map.Procedure procedure,
                            org.objectstyle.cayenne.project.ProjectPath path,
                            Validator validator)