private int getTaskCode ( String field ) throws MPXJException { Integer result = m_taskNumbers . get ( field . trim ( ) ) ; if ( result == null ) { throw new MPXJException ( MPXJException . INVALID_TASK_FIELD_NAME + " " + field ) ; } return ( result . intValue ( ) ) ; }
Returns code number of Task field supplied .