Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
NamespaceContract |
|
| 1.0;1 |
1 | package org.kuali.rice.core.api.namespace; | |
2 | ||
3 | import org.kuali.rice.core.api.mo.common.GloballyUnique; | |
4 | import org.kuali.rice.core.api.mo.common.Versioned; | |
5 | import org.kuali.rice.core.api.mo.common.active.Inactivatable; | |
6 | ||
7 | /** | |
8 | * Defines the contract for a Namespace. A namespace is a mechanism for partitioning of data into | |
9 | * areas of responsibility. Since much of the Kuali Rice middleware is shared across multiple integrating | |
10 | * applications, this notion of a namespace is a critical element in keeping related data elements | |
11 | * grouped together and isolated from those to which they should have no relation or access. | |
12 | */ | |
13 | public interface NamespaceContract extends Versioned, GloballyUnique, Inactivatable { | |
14 | ||
15 | /** | |
16 | * This is the code value for the namespace. It cannot be null or a blank string. | |
17 | * | |
18 | * @return code | |
19 | */ | |
20 | String getCode(); | |
21 | ||
22 | /** | |
23 | * This the id of the application which owns this Namespace. This cannot be null or a blank string. | |
24 | * | |
25 | * <p> | |
26 | * It is a way of assigning the Namespace to a specific rice application or rice ecosystem. | |
27 | * </p> | |
28 | * | |
29 | * @return application id | |
30 | */ | |
31 | String getApplicationId(); | |
32 | ||
33 | /** | |
34 | * This the name for the Namespace. This can be null or a blank string. | |
35 | * | |
36 | * @return name | |
37 | */ | |
38 | String getName(); | |
39 | } |