public Collection getAllFieldNames ( Class cls ) { /*log.fine("public Collection getAllFieldNames(Class cls): called");*/ // See if the class exists in the cache if ( ! values . containsKey ( cls ) ) { // Class not in cache so return null return null ; } // Get the cache of fields for the class Map map = ( HashMap ) values . get ( cls ) ; // Return all the keys from cache of fields return map . keySet ( ) ; }
Generates a list of all the fields of the object that this memento maps for a given class .