| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RefStatementRelation |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2011 The Kuali Foundation Licensed under the | |
| 3 | * Educational Community License, Version 2.0 (the "License"); you may | |
| 4 | * not use this file except in compliance with the License. You may | |
| 5 | * obtain a copy of the License at | |
| 6 | * | |
| 7 | * http://www.osedu.org/licenses/ECL-2.0 | |
| 8 | * | |
| 9 | * Unless required by applicable law or agreed to in writing, | |
| 10 | * software distributed under the License is distributed on an "AS IS" | |
| 11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
| 12 | * or implied. See the License for the specific language governing | |
| 13 | * permissions and limitations under the License. | |
| 14 | */ | |
| 15 | ||
| 16 | package org.kuali.student.r2.core.statement.infc; | |
| 17 | ||
| 18 | import org.kuali.student.r2.common.infc.Relationship; | |
| 19 | ||
| 20 | /** | |
| 21 | * Ref Statement Relation | |
| 22 | * | |
| 23 | * @Version 2.0 | |
| 24 | * @Author Sri komandur@uw.edu | |
| 25 | */ | |
| 26 | public interface RefStatementRelation extends Relationship { | |
| 27 | ||
| 28 | ||
| 29 | /** | |
| 30 | * Unique identifier for an object type. Used to identify the type of | |
| 31 | * object being referred to, so that the id can be resolved. | |
| 32 | * | |
| 33 | * @name Ref Object Type Key | |
| 34 | * @readOnly | |
| 35 | * @required | |
| 36 | * | |
| 37 | */ | |
| 38 | String getRefObjectTypeKey(); | |
| 39 | ||
| 40 | /** | |
| 41 | * Sets the identifier for an object. This will likely require some | |
| 42 | * additional context in order to be resolved, such as the type of object. | |
| 43 | * An objectId could be a cluId, a luiId, an orgId, a documentId, etc. | |
| 44 | * | |
| 45 | * @name Ref Object Id | |
| 46 | * @readOnly | |
| 47 | * @required | |
| 48 | */ | |
| 49 | String getRefObjectId(); | |
| 50 | ||
| 51 | /** | |
| 52 | * Gets the unique identifier for a single statement record. | |
| 53 | * | |
| 54 | * @name Statement Id | |
| 55 | * @readOnly | |
| 56 | * @required | |
| 57 | */ | |
| 58 | String getStatementId(); | |
| 59 | ||
| 60 | } |