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