org.apache.cayenne.project.validator
Class DbRelationshipValidator

java.lang.Object
  extended by org.apache.cayenne.project.validator.TreeNodeValidator
      extended by org.apache.cayenne.project.validator.DbRelationshipValidator

public class DbRelationshipValidator
extends TreeNodeValidator

Author:
Andrei Adamchik

Field Summary
 
Fields inherited from class org.apache.cayenne.project.validator.TreeNodeValidator
dbAttrValidator, dbEntityValidator, dbRelValidator, domainValidator, mapValidator, nodeValidator, objAttrValidator, objEntityValidator, objRelValidator, procedureParameterValidator, procedureQueryValidator, procedureValidator, selectQueryValidator, sqlTemplateValidator
 
Constructor Summary
DbRelationshipValidator()
          Constructor for DbRelationshipValidator.
 
Method Summary
 java.lang.String dbRelationshipIdentifier(DbRelationship rel)
           
 void validateObject(ProjectPath path, Validator validator)
          Validates an object, appending any warnings or errors to the validator.
 
Methods inherited from class org.apache.cayenne.project.validator.TreeNodeValidator
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbRelationshipValidator

public DbRelationshipValidator()
Constructor for DbRelationshipValidator.

Method Detail

validateObject

public void validateObject(ProjectPath path,
                           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

dbRelationshipIdentifier

public java.lang.String dbRelationshipIdentifier(DbRelationship rel)


Copyright © 2001-2006 Apache.org All Rights Reserved.