Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
BooleanFunctionResult |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2010 The Kuali Foundation Licensed under the | |
3 | * Educational Community License, Version 2.0 (the "License"); you may | |
4 | * not use this file except in compliance with the License. You may | |
5 | * obtain a copy of the License at | |
6 | * | |
7 | * http://www.osedu.org/licenses/ECL-2.0 | |
8 | * | |
9 | * Unless required by applicable law or agreed to in writing, | |
10 | * software distributed under the License is distributed on an "AS IS" | |
11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
12 | * or implied. See the License for the specific language governing | |
13 | * permissions and limitations under the License. | |
14 | */ | |
15 | ||
16 | package org.kuali.student.common.messagebuilder.booleanmessage.ast; | |
17 | ||
18 | public class BooleanFunctionResult { | |
19 | private String booleanFunction; | |
20 | private Boolean result; | |
21 | private String message; | |
22 | ||
23 | 20 | public BooleanFunctionResult(String booleanFunction, Boolean result, String message) { |
24 | 20 | this.result = result; |
25 | 20 | this.message = message; |
26 | 20 | this.booleanFunction = booleanFunction; |
27 | 20 | } |
28 | ||
29 | public Boolean getResult() { | |
30 | 12 | return result; |
31 | } | |
32 | ||
33 | public String getMessage() { | |
34 | 23 | return message; |
35 | } | |
36 | ||
37 | public String getBooleanFunction() { | |
38 | 5 | return booleanFunction; |
39 | } | |
40 | ||
41 | } |