public static String getXAResourceStartFlagString(int flag) {
        switch (flag) {
            case XAResource.TMJOIN:
                return "TMJOIN (" + flag + ')'; 

            case XAResource.TMNOFLAGS:
                return "TMNOFLAGS (" + flag + ')'; 

            case XAResource.TMRESUME:
                return "TMRESUME (" + flag + ')'; 
        }

        return "UNKNOWN XA RESOURCE START FLAG (" + flag + ')'; 
    }
public static String getXAResourceStartFlagString ( int flag ) { switch ( flag ) { case XAResource . TMJOIN : return "TMJOIN (" + flag + ')' ; case XAResource . TMNOFLAGS : return "TMNOFLAGS (" + flag + ')' ; case XAResource . TMRESUME : return "TMRESUME (" + flag + ')' ; } return "UNKNOWN XA RESOURCE START FLAG (" + flag + ')' ; }
Display the javax.xa.XAResource start flag constant corresponding to the
value supplied.

@param level a valid javax.xa.XAResource start flag constant.

@return the name of the constant, or a string indicating the constant is unknown.