| 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ProgramCommonAssembly | Line # 24 | 0 | - | 0 | 0 | - | -1.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Tests | |||
| 1 | /* | |
| 2 | * Copyright 2010 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.lum.program.dto.assembly; | |
| 17 | ||
| 18 | import org.kuali.student.core.dto.MetaInfo; | |
| 19 | ||
| 20 | import java.util.ArrayList; | |
| 21 | import java.util.List; | |
| 22 | import java.util.Map; | |
| 23 | ||
| 24 | public interface ProgramCommonAssembly { | |
| 25 | ||
| 26 | /** | |
| 27 | * List of key/value pairs, typically used for dynamic attributes. | |
| 28 | */ | |
| 29 | public Map<String, String> getAttributes() ; | |
| 30 | public void setAttributes(Map<String, String> attributes) ; | |
| 31 | ||
| 32 | ||
| 33 | /** | |
| 34 | * Create and last update info for the structure. This is optional and treated as read only since the data is set by the internals of the service during maintenance operations. | |
| 35 | */ | |
| 36 | public MetaInfo getMetaInfo(); | |
| 37 | public void setMetaInfo(MetaInfo metaInfo); | |
| 38 | ||
| 39 | /** | |
| 40 | * Unique identifier for a learning unit type. Once set at create time, this field may not be updated. | |
| 41 | */ | |
| 42 | ||
| 43 | public String getType(); | |
| 44 | public void setType(String type); | |
| 45 | ||
| 46 | /** | |
| 47 | * The current status of the program. The values for this field are constrained to those in the luState enumeration. A separate setup operation does not exist for retrieval of the meta data around this value. | |
| 48 | */ | |
| 49 | ||
| 50 | public String getState() ; | |
| 51 | public void setState(String state); | |
| 52 | ||
| 53 | /** | |
| 54 | * Unique identifier for a program. This is optional, due to the identifier being set at the time of creation. Once the Program has been created, this should be seen as required. | |
| 55 | */ | |
| 56 | public String getId() ; | |
| 57 | public void setId(String id); | |
| 58 | ||
| 59 | } | |
| 
 | ||||||||||||