Class CorrelationName

All Implemented Interfaces:

public final class CorrelationName
extends SqlIdentifier

An SQL correlation name.

A CorrelationName is just an SqlIdentifier subclassed for type safety. The term correlation name comes from the SQL standard and refers to table aliases, also known as range variables.

Mike Martin

Field Summary
Fields inherited from class
dba, fullName, name
Constructor Summary
CorrelationName(DatabaseAdapter dba, java.lang.String identifier)
          Constructs a correlation name.
Methods inherited from class
compareTo, equals, hashCode, intern, isKeyword, javaToSql, toString, undelimited, untruncated
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail


public CorrelationName(DatabaseAdapter dba,
                       java.lang.String identifier)
Constructs a correlation name. The identifier will be truncated if necessary to the maximum allowed correlation name length.

dba - a database adapter for the relevant database
identifier - the SQL identifier value as a string

Copyright 2001-2007 The TJDO Project All Rights Reserved.