Coverage Report - org.kuali.rice.kim.api.type.KimTypeAttributeContract
 
Classes in this File Line Coverage Branch Coverage Complexity
KimTypeAttributeContract
N/A
N/A
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.kim.api.type;
 17  
 
 18  
 import org.kuali.rice.core.api.mo.common.GloballyUnique;
 19  
 import org.kuali.rice.core.api.mo.common.Identifiable;
 20  
 import org.kuali.rice.core.api.mo.common.Versioned;
 21  
 import org.kuali.rice.core.api.mo.common.active.Inactivatable;
 22  
 import org.kuali.rice.kim.api.common.attribute.KimAttributeContract;
 23  
 
 24  
 /**
 25  
  * This is the contract for a KimTypeAttribute.  A KimTypeAttribute
 26  
  * associates a kim type with a kim attribute.
 27  
  */
 28  
 public interface KimTypeAttributeContract extends Versioned, GloballyUnique, Identifiable, Inactivatable {
 29  
 
 30  
     /**
 31  
      * The alpha and/or numeric code used to choose an order for displaying KimTypeAttributes.  This can be null or blank.
 32  
      *
 33  
      * @return the sort code.
 34  
      */
 35  
     String getSortCode();
 36  
 
 37  
     /**
 38  
      * The kim attribute associated with the kim type attribute.  This can be null if no KimAttributes are associated.
 39  
      *
 40  
      * @return the kim attribute
 41  
      */
 42  
     KimAttributeContract getKimAttribute();
 43  
 
 44  
     /**
 45  
      * The kim type id associated with the kim type attribute.  This can be null if no KimType is associated.
 46  
      *
 47  
      * @return the kim type id
 48  
      */
 49  
     String getKimTypeId();
 50  
 }