| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| KimAttributeContract |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2006-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 | ||
| 17 | package org.kuali.rice.kim.api.common.attribute; | |
| 18 | ||
| 19 | import org.kuali.rice.core.api.mo.common.GloballyUnique; | |
| 20 | import org.kuali.rice.core.api.mo.common.Identifiable; | |
| 21 | import org.kuali.rice.core.api.mo.common.Versioned; | |
| 22 | import org.kuali.rice.core.api.mo.common.active.ImmutableInactivatable; | |
| 23 | ||
| 24 | /** | |
| 25 | * This is the contract for a KimAttribute. A KimAttribute | |
| 26 | * associates categorizes an attribute and describes how to | |
| 27 | * find the attribute for the purpose of the kns. | |
| 28 | */ | |
| 29 | public interface KimAttributeContract extends Versioned, GloballyUnique, Identifiable, ImmutableInactivatable { | |
| 30 | ||
| 31 | /** | |
| 32 | * A fully-qualified class name which contains the {@link #getAttributeName()}. This cannot be null or a blank string. | |
| 33 | * | |
| 34 | * @return the name | |
| 35 | */ | |
| 36 | String getComponentName(); | |
| 37 | ||
| 38 | /** | |
| 39 | * The name of the attribute on the {@link #getComponentName()}. This cannot be null or a blank string. | |
| 40 | * | |
| 41 | * @return the name | |
| 42 | */ | |
| 43 | String getAttributeName(); | |
| 44 | ||
| 45 | /** | |
| 46 | * The namespace code that this kim attribute belongs too. This cannot be null or a blank string. | |
| 47 | * | |
| 48 | * @return namespace code | |
| 49 | */ | |
| 50 | String getNamespaceCode(); | |
| 51 | ||
| 52 | /** | |
| 53 | * The label for the kim attribute. This is optional and can be null or blank. | |
| 54 | * | |
| 55 | * @return the label | |
| 56 | */ | |
| 57 | String getAttributeLabel(); | |
| 58 | } |