Icodeon SCORM 2004 Sequencing Example Implementation Documentation

com.icodeon.rte.dao.naming
Class ICNNamingStrategy

java.lang.Object
  extended by org.hibernate.cfg.DefaultNamingStrategy
      extended by com.icodeon.rte.dao.naming.ICNNamingStrategy
All Implemented Interfaces:
java.io.Serializable, org.hibernate.cfg.NamingStrategy

public class ICNNamingStrategy
extends org.hibernate.cfg.DefaultNamingStrategy
implements org.hibernate.cfg.NamingStrategy

This naming strategies adds the constraint that all tables need to be prefixed with the "ICN_" Icodeon "namespace".

Author:
icodeon
See Also:
Serialized Form

Field Summary
static java.lang.String ICN_NAMESPACE
           
 
Fields inherited from class org.hibernate.cfg.DefaultNamingStrategy
INSTANCE
 
Constructor Summary
ICNNamingStrategy()
           
 
Method Summary
 java.lang.String tableName(java.lang.String tableName)
           
 
Methods inherited from class org.hibernate.cfg.DefaultNamingStrategy
classToTableName, collectionTableName, columnName, foreignKeyColumnName, joinKeyColumnName, logicalCollectionColumnName, logicalCollectionTableName, logicalColumnName, propertyToColumnName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.cfg.NamingStrategy
classToTableName, collectionTableName, columnName, foreignKeyColumnName, joinKeyColumnName, logicalCollectionColumnName, logicalCollectionTableName, logicalColumnName, propertyToColumnName
 

Field Detail

ICN_NAMESPACE

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

ICNNamingStrategy

public ICNNamingStrategy()
Method Detail

tableName

public java.lang.String tableName(java.lang.String tableName)
Specified by:
tableName in interface org.hibernate.cfg.NamingStrategy
Overrides:
tableName in class org.hibernate.cfg.DefaultNamingStrategy

Icodeon SCORM 2004 Sequencing Example Implementation Documentation

Copyright (c) 2007 Icodeon Ltd - Registered Company in England and Wales No: 5068195