src/main/java/application/rest/v1/configmaps/KindActionMappingProcessor.java
/**
     * Examine the mapping properites passed in and return one of the four combinations of
     * the mapping properties as follows:
     * 
     * - KSN (Kind-Subkind-Name), 
     * - KS (Kind-Subkind),
     * - KN (Kind-Name), 
     * - K (Kind)
     * 
     * @param name
     * @param subkind
     * @param kind
     * @return KSN, KS, KN, or K 
     */
Examine the mapping properites passed in and return one of the four combinations of
the mapping properties as follows.



@param name
@param subkind
@param kind
@return KSN, KS, KN, or K
Examine the mapping properites passed in and return one of the four combinations of the mapping properties as follows . @param name @param subkind @param kind @return KSN KS KN or K
private int examineMappingProperties(String name, String subkind, String kind) {
        String methodName = "examineMappingProperties";
        if (Logger.isEntryEnabled()) 
            Logger.log(CLASS_NAME, methodName, Logger.LogType.ENTRY, 
                   "(name, subkind, kind) = (" + name +", " + subkind + ", " + kind + ")");
        int retVal = NO_KSN;
        if ((kind != null) && !kind.isEmpty()) {
            if ((subkind != null) && !subkind.isEmpty()) {
                if ((name != null) && !name.isEmpty()) {
                    retVal = KSN;
                } else {
                    retVal = KS;
                }
            } else if ((name != null) && !name.isEmpty()) {
                retVal = KN;
            } else {
                retVal = K;
            }
        } else {
            if (Logger.isErrorEnabled()) 
                Logger.log(CLASS_NAME, methodName, Logger.LogType.ERROR, 
                           "kind given is null or empty string");
        }
        if (Logger.isExitEnabled()) 
                Logger.log(CLASS_NAME, methodName, Logger.LogType.EXIT, 
                           "retVal = " + retVal);
        return retVal;
    }
private int examineMappingProperties ( String name , String subkind , String kind ) { String methodName = "examineMappingProperties" ; if ( Logger . isEntryEnabled ( ) ) Logger . log ( CLASS_NAME , methodName , Logger . LogType . ENTRY , "(name, subkind, kind) = (" + name + ", " + subkind + ", " + kind + ")" ) ; int retVal = NO_KSN ; if ( ( kind != null ) && ! kind . isEmpty ( ) ) { if ( ( subkind != null ) && ! subkind . isEmpty ( ) ) { if ( ( name != null ) && ! name . isEmpty ( ) ) { retVal = KSN ; } else { retVal = KS ; } } else if ( ( name != null ) && ! name . isEmpty ( ) ) { retVal = KN ; } else { retVal = K ; } } else { if ( Logger . isErrorEnabled ( ) ) Logger . log ( CLASS_NAME , methodName , Logger . LogType . ERROR , "kind given is null or empty string" ) ; } if ( Logger . isExitEnabled ( ) ) Logger . log ( CLASS_NAME , methodName , Logger . LogType . EXIT , "retVal = " + retVal ) ; return retVal ; }
Examine the mapping properites passed in and return one of the four combinations of
 the mapping properties as follows:
Examine the mapping properites passed in and return one of the four combinations of the mapping properties as follows :