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