src/com/vehiclerental/presentationLayer/branch/BaseBranchController.java
/**
     * Generates a success response with a given operation code and object
     *
     * @param operationCode given operation code
     * @param object given object (optional)
     * @return the generated response
     */
Generates a success response with a given operation code and object
@param operationCode given operation code
@param object given object (optional)
@return the generated response
Generates a success response with a given operation code and object @param operationCode given operation code @param object given object ( optional ) @return the generated response
protected static BranchResponseMessage generateSuccessfulResponse(int operationCode, Object object) {
        BranchResponseMessage responseMessage = new BranchResponseMessage();
        responseMessage.OperationCode = operationCode;
        responseMessage.Status = 200;
        responseMessage.Object = object;
        return responseMessage;
    }
protected static BranchResponseMessage generateSuccessfulResponse ( int operationCode , Object object ) { BranchResponseMessage responseMessage = new BranchResponseMessage ( ) ; responseMessage . OperationCode = operationCode ; responseMessage . Status = 200 ; responseMessage . Object = object ; return responseMessage ; }
Generates a success response with a given operation code and object
 @param operationCode given operation code
 @param object given object (optional)
 @return the generated response
Generates a success response with a given operation code and object @param operationCode given operation code @param object given object ( optional ) @return the generated response