| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Lifecycle |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2010 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.core.state.infc; | |
| 18 | ||
| 19 | import org.kuali.student.r2.common.infc.HasAttributesAndMeta; | |
| 20 | import org.kuali.student.r2.common.infc.HasKey; | |
| 21 | import org.kuali.student.r2.common.infc.RichText; | |
| 22 | ||
| 23 | /** | |
| 24 | * Detailed Information about a Lifecycle. A Lifecycle represents a | |
| 25 | * collection of States. | |
| 26 | * | |
| 27 | * @author Kuali Student Team (Kamal) | |
| 28 | */ | |
| 29 | ||
| 30 | public interface Lifecycle | |
| 31 | extends HasKey, HasAttributesAndMeta { | |
| 32 | ||
| 33 | /** | |
| 34 | * Friendly name of the Lifecycle. | |
| 35 | * | |
| 36 | * @name Name | |
| 37 | * @required | |
| 38 | */ | |
| 39 | public String getName(); | |
| 40 | ||
| 41 | /** | |
| 42 | * Narrative description of the Lifecycle. | |
| 43 | * | |
| 44 | * @name Description | |
| 45 | */ | |
| 46 | public RichText getDescr(); | |
| 47 | ||
| 48 | /** | |
| 49 | * The reference to the Object URI to which the lifecycle is associated. | |
| 50 | * | |
| 51 | * E.g http://student.kuali.org/luService/wsdl/CluInfo will be the | |
| 52 | * //objectTypeURI for type 'kuali.lu.type.CreditCourse' | |
| 53 | * | |
| 54 | * The refObjectURI has three parts: | |
| 55 | * <ol> | |
| 56 | * <li>http://student.kuali.org/wsdl -- which is fixed | |
| 57 | * <li>luService -- which should match the namespace of the service | |
| 58 | * in which the object is defined | |
| 59 | * <li>CluInfo -- which should match the java class's simple name | |
| 60 | * </ol> | |
| 61 | * @name Ref Object URI | |
| 62 | */ | |
| 63 | public String getRefObjectUri(); | |
| 64 | } |