public String getDictionaryDefinition ( String identifier ) { Entry [ ] dictEntries = dict . getEntries ( ) ; String specRef = getSpecRef ( identifier ) ; if ( specRef == null ) { logger . error ( "Cannot determine specification for id: " , identifier ) ; return "" ; } String definition = null ; for ( Entry dictEntry : dictEntries ) { if ( ! dictEntry . getClassName ( ) . equals ( "Descriptor" ) ) continue ; if ( dictEntry . getID ( ) . equals ( specRef . toLowerCase ( ) ) ) { definition = dictEntry . getDefinition ( ) ; break ; } } return definition ; }
Gets the definition of the descriptor .