Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
KewTypeDefinitionContract |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2005-2011 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl2.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.rice.kew.api.repository.type; | |
17 | ||
18 | import org.kuali.rice.core.api.mo.common.Identifiable; | |
19 | import org.kuali.rice.core.api.mo.common.Versioned; | |
20 | import org.kuali.rice.core.api.mo.common.active.Inactivatable; | |
21 | ||
22 | import java.util.List; | |
23 | ||
24 | public interface KewTypeDefinitionContract extends Identifiable, Inactivatable, | |
25 | Versioned { | |
26 | ||
27 | /** | |
28 | * This is the name for the KEWType | |
29 | * | |
30 | * <p> | |
31 | * It is a name of a KEW type. | |
32 | * </p> | |
33 | * | |
34 | * @return name for KEW type. | |
35 | */ | |
36 | public String getName(); | |
37 | ||
38 | /** | |
39 | * This is the namespace code. | |
40 | * | |
41 | * <p> | |
42 | * It provides scope of the KEW type. | |
43 | * </p> | |
44 | * | |
45 | * @return the namespace code of the KEW type. | |
46 | */ | |
47 | public String getNamespace(); | |
48 | ||
49 | /** | |
50 | * This is the name of the KEW KewType service | |
51 | * | |
52 | * @return the service name of the KEW type | |
53 | */ | |
54 | public String getServiceName(); | |
55 | ||
56 | /** | |
57 | * This method returns a list of attributes associated with the KewType | |
58 | * | |
59 | * @return a list of KewTypeAttribute objects. | |
60 | */ | |
61 | public List<? extends KewTypeAttributeContract> getAttributes(); | |
62 | } |