org.apache.cayenne.project.validator
Class MappingNamesHelper

java.lang.Object
  extended by org.apache.cayenne.project.validator.MappingNamesHelper

public class MappingNamesHelper
extends java.lang.Object

Defines a set of rules for validating java and db mapping identifiers.

Since:
1.1
Author:
Andrei Adamchik

Constructor Summary
MappingNamesHelper()
           
 
Method Summary
static MappingNamesHelper getInstance()
          Returns shared instance of the validator.
 boolean isReservedJavaKeyword(java.lang.String word)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingNamesHelper

public MappingNamesHelper()
Method Detail

isReservedJavaKeyword

public boolean isReservedJavaKeyword(java.lang.String word)

getInstance

public static MappingNamesHelper getInstance()
Returns shared instance of the validator.



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