org.apache.cayenne.project.validator
Class MappingNamesHelper

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

public class MappingNamesHelper
extends Object

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

Since:
1.1

Constructor Summary
MappingNamesHelper()
           
 
Method Summary
static MappingNamesHelper getInstance()
          Returns shared instance of the validator.
 boolean isReservedJavaKeyword(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(String word)

getInstance

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



Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.