src/main/java/application/rest/v1/KAppNavEndpoint.java
// return "kind" value from owner object from ownerReferences array  
return "kind" value from owner object from ownerReferences array
return " kind " value from owner object from ownerReferences array
private static String toOwnerKind(JsonObject ownerObj) { 
        if ( ownerObj != null ) { 
            JsonElement e = ownerObj.get(KIND_PROPERTY_NAME); 
            if ( e.isJsonPrimitive() ) {
                return e.getAsString(); 
            }
            else { 
                if ( Logger.isErrorEnabled()) { 
                    Logger.log(className, "toOwnerKind", Logger.LogType.ERROR, "JSON element is not a primitive - should be string.");
                } 
            }
        }
        return null; 
    }
private static String toOwnerKind ( JsonObject ownerObj ) { if ( ownerObj != null ) { JsonElement e = ownerObj . get ( KIND_PROPERTY_NAME ) ; if ( e . isJsonPrimitive ( ) ) { return e . getAsString ( ) ; } else { if ( Logger . isErrorEnabled ( ) ) { Logger . log ( className , "toOwnerKind" , Logger . LogType . ERROR , "JSON element is not a primitive - should be string." ) ; } } } return null ; }
return "kind" value from owner object from ownerReferences array
return " kind " value from owner object from ownerReferences array