Class ClassFieldFinder


  • public class ClassFieldFinder
    extends java.lang.Object
    Service to find a field value for a given class
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String TYPECODE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getTypeCode​(java.lang.Class<?> clazz)
      Return the type code of a given class; expect a class of type or extending from ItemModel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTypeCode

        public static java.lang.String getTypeCode​(java.lang.Class<?> clazz)
        Return the type code of a given class; expect a class of type or extending from ItemModel
        Parameters:
        clazz - - a class from which to extract the type code
        Returns:
        the type code for the given class; null if the class does not define a type code field