Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
KrmsTypeDefinitionContract |
|
| 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.krms.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 KrmsTypeDefinitionContract extends Identifiable, Inactivatable, Versioned { | |
25 | ||
26 | /** | |
27 | * This is the name for the KRMSType | |
28 | * | |
29 | * <p> | |
30 | * It is a name of a KRMS type. | |
31 | * </p> | |
32 | * @return name for KRMS type. | |
33 | */ | |
34 | public String getName(); | |
35 | ||
36 | /** | |
37 | * This is the namespace code. | |
38 | * | |
39 | * <p> | |
40 | * It provides scope of the KRMS type. | |
41 | * </p> | |
42 | * @return the namespace code of the KRMS type. | |
43 | */ | |
44 | public String getNamespace(); | |
45 | ||
46 | /** | |
47 | * This is the name of the KRMS KrmsType service | |
48 | * | |
49 | * @return the service name of the KRMS type | |
50 | */ | |
51 | public String getServiceName(); | |
52 | ||
53 | /** | |
54 | * This method returns a list of attributes associated with the | |
55 | * KrmsType | |
56 | * | |
57 | * @return a list of KrmsTypeAttribute objects. | |
58 | */ | |
59 | public List<? extends KrmsTypeAttributeContract> getAttributes(); | |
60 | } |