Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Message |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2011 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 2.0 (the | |
5 | * "License"); you may not use this file except in compliance with the | |
6 | * License. You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.osedu.org/licenses/ECL-2.0 | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, | |
11 | * software distributed under the License is distributed on an "AS IS" | |
12 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
13 | * or implied. See the License for the specific language governing | |
14 | * permissions and limitations under the License. | |
15 | */ | |
16 | ||
17 | package org.kuali.student.r2.common.messages.infc; | |
18 | ||
19 | import org.kuali.student.r2.common.infc.HasKey; | |
20 | import org.kuali.student.r2.common.infc.Locale; | |
21 | ||
22 | /** | |
23 | * Information about a message | |
24 | * | |
25 | * @Version 2.0 | |
26 | * @Author Sri komandur@uw.edu | |
27 | */ | |
28 | public interface Message | |
29 | extends HasKey { | |
30 | ||
31 | /** | |
32 | * The Locale. | |
33 | * | |
34 | * @name Locale | |
35 | * @required | |
36 | */ | |
37 | Locale getLocale(); | |
38 | ||
39 | /** | |
40 | * Unique identifier for a message group | |
41 | * | |
42 | * @name Group Name | |
43 | * @required | |
44 | */ | |
45 | String getGroupName(); | |
46 | ||
47 | /** | |
48 | * The string representation of the message. Symbols may be included within | |
49 | * the message, but the expectation is that the caller is aware of the | |
50 | * format of these symbols. | |
51 | * | |
52 | * @name Value | |
53 | * @required | |
54 | */ | |
55 | String getValue(); | |
56 | } |