com.triactive.jdo.store.sql
Class CorrelationName

java.lang.Object
  extended bycom.triactive.jdo.store.sql.SqlIdentifier
      extended bycom.triactive.jdo.store.sql.CorrelationName
All Implemented Interfaces:
java.lang.Comparable

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.

Author:
Mike Martin

Field Summary
 
Fields inherited from class com.triactive.jdo.store.sql.SqlIdentifier
dba, fullName, name
 
Constructor Summary
CorrelationName(DatabaseAdapter dba, java.lang.String identifier)
          Constructs a correlation name.
 
Methods inherited from class com.triactive.jdo.store.sql.SqlIdentifier
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

CorrelationName

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.

Parameters:
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.