Coverage Report - org.kuali.rice.kim.api.common.delegate.DelegateContract
 
Classes in this File Line Coverage Branch Coverage Complexity
DelegateContract
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright 2006-2011 The Kuali Foundation
 3  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 4  
  * you may not use this file except in compliance with the License.
 5  
  * You may obtain a copy of the License at
 6  
  *
 7  
  * http://www.opensource.org/licenses/ecl2.php
 8  
  *
 9  
  * Unless required by applicable law or agreed to in writing, software
 10  
  * distributed under the License is distributed on an "AS IS" BASIS,
 11  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12  
  * See the License for the specific language governing permissions and
 13  
  * limitations under the License.
 14  
  */
 15  
 
 16  
 package org.kuali.rice.kim.api.common.delegate;
 17  
 
 18  
 import org.kuali.rice.core.api.mo.common.Versioned;
 19  
 import org.kuali.rice.core.api.mo.common.active.InactivatableFromTo;
 20  
 import org.kuali.rice.core.util.AttributeSet;
 21  
 
 22  
 public interface DelegateContract extends Versioned, InactivatableFromTo {
 23  
 
 24  
     /**
 25  
      * <p>String representing the DelegationTypeCode</p>
 26  
      * <p>Examples are
 27  
      * <ul>
 28  
      *     <li>"P" - Primary </li>
 29  
      *     <li>"S" - Secondary</li>
 30  
      * </ul>
 31  
      * </p>
 32  
      *
 33  
      * This field should always be non-null
 34  
      *
 35  
      * @return The DelegationTypeCode
 36  
      */
 37  
     String getDelegationTypeCode();
 38  
 
 39  
     /**
 40  
      * String identifier of the Member.  Should always be a non-null value.
 41  
      *
 42  
      * @return the member identifier of this Delegate
 43  
      */
 44  
     String getMemberId();
 45  
 
 46  
     /**
 47  
      * <p>A string representation of the Member Type of this Delegate
 48  
      *
 49  
      * <p>Examples are
 50  
      * <ul>
 51  
      *     <li>"P" - Person</li>
 52  
      *     <li>"G" - Group</li>
 53  
      *     <li>"R" - Role</li>
 54  
      * </ul>
 55  
      * </p>
 56  
      *
 57  
      * This field should always be non-null.
 58  
      *
 59  
      * @return String representing the member type.
 60  
      */
 61  
     String getMemberTypeCode();
 62  
 
 63  
     /**
 64  
      * Returns any qualifiers associated with this Delegate.
 65  
      * @return AttributeSet (Map<String,String>) of qualifiers
 66  
      */
 67  
     AttributeSet getQualifier();
 68  
 
 69  
     /**
 70  
      * Identifier for this Delegate.  Cannot be null or an empty String.
 71  
      * @return String identifier of this delegation
 72  
      */
 73  
     String getDelegationId();
 74  
 
 75  
     /**
 76  
      * String identifier of the associated RoleMember.  Cannot be null or an empty String.
 77  
      * @return String identifier of the associated RoleMember
 78  
      */
 79  
     String getRoleMemberId();
 80  
 
 81  
     /**
 82  
      * @return The name of the Member
 83  
      */
 84  
     String getMemberName();
 85  
 
 86  
     /**
 87  
      * The namespace for the member.  A namespace identifies the system/module to which this member applies.
 88  
      *
 89  
      * @return Namespace for the member.
 90  
      */
 91  
     String getMemberNamespaceCode();
 92  
 
 93  
     /**
 94  
      * @return the String identifier of delegation member
 95  
      */
 96  
     String getDelegationMemberId();
 97  
 
 98  
     /**
 99  
      * @return the role Id
 100  
      */
 101  
     String getRoleId();
 102  
 }