コード例 #1
0
  /**
   * ************************************************************************* * * Method:
   * isValidObjRequest * Input: CMIRequest theRequest - the LMSGetValue() request * * Output:
   * Boolean value indicating whether or not the Objectives Request * is valid. * * Description:
   * Checks to make sure that the request meets the minimum * requirements needed for a
   * CMIObjectives Model Element. *
   * *************************************************************************
   */
  private boolean isValidObjRequest(CMIRequest theRequest) {
    boolean rtrnFlag = false;

    if (theRequest.getTotalNumTokens() >= CMIOBJ_MIN_NUM_TOKENS) {
      rtrnFlag = true;
    }

    return rtrnFlag;
  } // end of isValidObjRequest()