com.ibm.di.cdm.core
Class NamingRulesReader

java.lang.Object
  extended by com.ibm.di.cdm.core.NamingRulesReader
Direct Known Subclasses:
JarNamingRulesReader

public abstract class NamingRulesReader
extends Object

The base class for all Naming Rule readers.


Constructor Summary
NamingRulesReader()
           
 
Method Summary
abstract  List<NamingRule> getAllNamingRules(String cdmClassType)
          Returns all naming rules for the provided class.
protected abstract  String getFullyQualifiedName(String cdmClassName)
          Gets the fully qualified name of the provided class type.
protected  String getShortName(String cdmClassType)
          Gets the short version of the provided CDM class type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamingRulesReader

public NamingRulesReader()
Method Detail

getAllNamingRules

public abstract List<NamingRule> getAllNamingRules(String cdmClassType)
                                            throws Exception
Returns all naming rules for the provided class.

Parameters:
cdmClassType - the CDM class type.
Returns:
a List of NamingRules.
Throws:
Exception - if a problem occurs.

getFullyQualifiedName

protected abstract String getFullyQualifiedName(String cdmClassName)
Gets the fully qualified name of the provided class type.

Parameters:
cdmClassName - the CDM class type.
Returns:
the fully qualified name.

getShortName

protected String getShortName(String cdmClassType)
Gets the short version of the provided CDM class type.

Parameters:
cdmClassType - the CDM class type.
Returns:
the short name.