org.xquark.mapping
Class CompilationContext

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended byorg.xquark.mapping.CompilationContext
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class CompilationContext
extends java.util.Properties

Provide access to the mapping compilation context allowing to use the same generator code for multiple use. Some properties directly provided by the mapping engine are listed as constants in the current class. Custom parameters supplied by user in the mapping file will be provided as additional properties. A user generator that intends to use this compilation context must provide a constructor with this class as a unique parameter.

See Also:
for an example of use., Serialized Form

Field Summary
static java.lang.String COLUMN_NAME
           
static java.lang.String DBMS_TYPE
           
static java.lang.String TABLE_NAME
           
static java.lang.String USE_QUOTES_4_DDL
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
CompilationContext()
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

COLUMN_NAME

public static final java.lang.String COLUMN_NAME
See Also:
Constant Field Values

DBMS_TYPE

public static final java.lang.String DBMS_TYPE
See Also:
Constant Field Values

USE_QUOTES_4_DDL

public static final java.lang.String USE_QUOTES_4_DDL
See Also:
Constant Field Values
Constructor Detail

CompilationContext

public CompilationContext()


Copyright © 2004 Université de Versailles Saint-Quentin, XQuark Group. All rights reserved.