Coverage Report - org.kuali.rice.kim.api.type.KimTypeContract
 
Classes in this File Line Coverage Branch Coverage Complexity
KimTypeContract
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  
 
 23  
 import java.util.List;
 24  
 
 25  
 /**
 26  
  * This is the contract for a KimType.  A KimType is a metadata wrapper around a
 27  
  * kim type service which aides in attribute resolution.
 28  
  */
 29  
 public interface KimTypeContract extends Versioned, GloballyUnique, Identifiable, Inactivatable {
 30  
 
 31  
     /**
 32  
      * The service name used to resolve attribute values.
 33  
      *
 34  
      * @return the service name
 35  
      */
 36  
     String getServiceName();
 37  
 
 38  
     /**
 39  
      * The namespace code that this kim type belongs too.
 40  
      *
 41  
      * @return namespace code
 42  
      */
 43  
     String getNamespaceCode();
 44  
 
 45  
     /**
 46  
      * The name of the kim type.
 47  
      *
 48  
      * @return the name
 49  
      */
 50  
     String getName();
 51  
 
 52  
     /**
 53  
      * The list of attribute definitions associated with the kim type. This cannot be null.  If no
 54  
      * attribute definitions are associated with the kim type then this will return an empty collection.
 55  
      *
 56  
      * @return the list of attribute definitions
 57  
      */
 58  
     List<? extends KimTypeAttributeContract> getAttributeDefinitions();
 59  
 }