public DDFFieldDefinition findFieldDefn(String pszFieldName){
  for (Iterator it=paoFieldDefns.iterator(); it.hasNext(); ) {
    DDFFieldDefinition ddffd=(DDFFieldDefinition)it.next();
    String pszThisName=ddffd.getName();
    if (Debug.debugging("iso8211detail")) {
      Debug.output("DDFModule.findFieldDefn(" + pszFieldName + ":"+ pszFieldName.length()+ ") checking against ["+ pszThisName+ ":"+ pszThisName.length()+ "]");
    }
    if (pszFieldName.equalsIgnoreCase(pszThisName)) {
      return ddffd;
    }
  }
  return null;
}

public DDFFieldDefinition findFieldDefn ( String pszFieldName ) { for ( Iterator it = paoFieldDefns . iterator ( ) ; it . hasNext ( ) ; ) { DDFFieldDefinition ddffd = ( DDFFieldDefinition ) it . next ( ) ; String pszThisName = ddffd . getName ( ) ; if ( Debug . debugging ( "iso8211detail" ) ) { Debug . output ( "DDFModule.findFieldDefn(" + pszFieldName + ":" + pszFieldName . length ( ) + ") checking against [" + pszThisName + ":" + pszThisName . length ( ) + "]" ) ; } if ( pszFieldName . equalsIgnoreCase ( pszThisName ) ) { return ddffd ; } } return null ; }
fetch the definition of the named field . this function will scan the ddffielddefn ' s on this module , to find one with the indicated field name .
