Class NamingRulesReader

  • Direct Known Subclasses:
    JarNamingRulesReader

    public abstract class NamingRulesReader
    extends java.lang.Object
    The base class for all Naming Rule readers.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.util.List<NamingRule> getAllNamingRules​(java.lang.String cdmClassType)
      Returns all naming rules for the provided class.
      protected abstract java.lang.String getFullyQualifiedName​(java.lang.String cdmClassName)
      Gets the fully qualified name of the provided class type.
      protected java.lang.String getShortName​(java.lang.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 java.util.List<NamingRule> getAllNamingRules​(java.lang.String cdmClassType)
                                                              throws java.lang.Exception
        Returns all naming rules for the provided class.
        Parameters:
        cdmClassType - the CDM class type.
        Returns:
        a List of NamingRules.
        Throws:
        java.lang.Exception - if a problem occurs.
      • getFullyQualifiedName

        protected abstract java.lang.String getFullyQualifiedName​(java.lang.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 java.lang.String getShortName​(java.lang.String cdmClassType)
        Gets the short version of the provided CDM class type.
        Parameters:
        cdmClassType - the CDM class type.
        Returns:
        the short name.