| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Type |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2011 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may | |
| 3 | * not use this file except in compliance with the License. You may obtain a copy of the License at | |
| 4 | * http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed | |
| 5 | * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
| 6 | * implied. See the License for the specific language governing permissions and limitations under the License. | |
| 7 | */ | |
| 8 | package org.kuali.student.r2.common.infc; | |
| 9 | ||
| 10 | ||
| 11 | /** | |
| 12 | * Detailed Information about a Type | |
| 13 | * | |
| 14 | * Types are used in Kuali Student to further refine the entity in question. | |
| 15 | * For example: An organization type may be a "Department" or a "College" or | |
| 16 | * a "Student Group" or a "Thesis Committee". | |
| 17 | * | |
| 18 | * Most of validation of the the fields on the entity should be based on a combination of type and state. | |
| 19 | * | |
| 20 | * @author Kuali Student Team (Kamal) | |
| 21 | * | |
| 22 | */ | |
| 23 | public interface Type extends HasKey, HasAttributes, HasEffectiveDates { | |
| 24 | ||
| 25 | /** | |
| 26 | * Friendly name of the Type | |
| 27 | * @name Name | |
| 28 | * @readOnly | |
| 29 | * @required | |
| 30 | */ | |
| 31 | public String getName(); | |
| 32 | ||
| 33 | ||
| 34 | /** | |
| 35 | * Narrative description of the type | |
| 36 | * @name Description | |
| 37 | * @readOnly | |
| 38 | */ | |
| 39 | public String getDescr(); | |
| 40 | ||
| 41 | /** | |
| 42 | * The Object URI to which the Type belongs. | |
| 43 | * E.g http://student.kuali.org/luService/wsdl/CluInfo will be the objectTypeURI for type 'kuali.lu.type.CreditCourse' | |
| 44 | * The refObjectURI has three parts:<ol> | |
| 45 | * <li>http://student.kuali.org/wsdl -- which is fixed | |
| 46 | * <li>luService -- which should match the namespace of the service in which the object is defined | |
| 47 | * <li>CluInfo -- which should match the java class's simple name | |
| 48 | * </ol> | |
| 49 | * @name Reference Object URI | |
| 50 | * @readOnly | |
| 51 | */ | |
| 52 | public String getRefObjectURI(); | |
| 53 | ||
| 54 | } |