Coverage Report - org.kuali.rice.kim.api.entity.address.EntityAddressContract
 
Classes in this File Line Coverage Branch Coverage Complexity
EntityAddressContract
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007-2008 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.entity.address;
 17  
 
 18  
 import org.kuali.rice.core.api.mo.common.Defaultable;
 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.entity.TypeContract;
 24  
 import org.kuali.rice.kns.bo.DefaultableInactivateable;
 25  
 
 26  
 /**
 27  
  * address information for a KIM entity
 28  
  * 
 29  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 30  
  *
 31  
  */
 32  
 public interface EntityAddressContract extends Versioned, GloballyUnique, DefaultableInactivateable, Identifiable {
 33  
 
 34  
     /**
 35  
      * Gets this id of the parent entity object.
 36  
      * @return the entity id for this {@link EntityAddressContract}
 37  
      */
 38  
     String getEntityId();
 39  
 
 40  
     /**
 41  
      * Gets this entityTypeCode of the {@link EntityAddressContract}'s object.
 42  
      * @return the entity type code for this {@link EntityAddressContract}
 43  
      */
 44  
     String getEntityTypeCode();
 45  
 
 46  
     /**
 47  
      * Gets this {@link EntityAddressContract}'s address type code.
 48  
      * @return the address type for this {@link EntityAddressContract}, or null if none has been assigned.
 49  
      */
 50  
         TypeContract getAddressType();
 51  
 
 52  
     /**
 53  
      * Gets this {@link EntityAddressContract}'s first line.
 54  
      * @return the first line for this {@link EntityAddressContract}, or null if none has been assigned.
 55  
      */
 56  
         String getLine1();
 57  
         
 58  
         /**
 59  
          * Gets this {@link EntityAddressContract}'s second line.
 60  
          * @return the second line for this {@link EntityAddressContract}, or null if none has been assigned.
 61  
          */
 62  
         String getLine2();
 63  
         
 64  
         /**
 65  
      * Gets this {@link EntityAddressContract}'s third line.
 66  
      * @return the third line for this {@link EntityAddressContract}, or null if none has been assigned.
 67  
      */
 68  
         String getLine3();
 69  
         
 70  
         /**
 71  
      * Gets this {@link EntityAddressContract}'s city name.
 72  
      * @return the city name for this {@link EntityAddressContract}, or null if none has been assigned.
 73  
      */
 74  
         String getCityName();
 75  
         
 76  
         /**
 77  
      * Gets this {@link EntityAddressContract}'s state code.
 78  
      * @return the state code for this {@link EntityAddressContract}, or null if none has been assigned.
 79  
      */
 80  
         String getStateCode();
 81  
         
 82  
         /**
 83  
      * Gets this {@link EntityAddressContract}'s postal code.
 84  
      * @return the postal code for this {@link EntityAddressContract}, or null if none has been assigned.
 85  
      */
 86  
         String getPostalCode();
 87  
         
 88  
         /**
 89  
      * Gets this {@link EntityAddressContract}'s country code.
 90  
      * @return the country code for this {@link EntityAddressContract}, or null if none has been assigned.
 91  
      */
 92  
         String getCountryCode();
 93  
         
 94  
         /**
 95  
      * Gets this {@link EntityAddressContract}'s unmasked first line.
 96  
      * @return the unmasked first line for this {@link EntityAddressContract}, or null if none has been assigned.
 97  
      */
 98  
         String getLine1Unmasked();
 99  
         
 100  
         /**
 101  
      * Gets this {@link EntityAddressContract}'s unmasked second line.
 102  
      * @return the unmasked second line for this {@link EntityAddressContract}, or null if none has been assigned.
 103  
      */
 104  
     String getLine2Unmasked();
 105  
     
 106  
     /**
 107  
      * Gets this {@link EntityAddressContract}'s unmasked third line.
 108  
      * @return the unmasked third line for this {@link EntityAddressContract}, or null if none has been assigned.
 109  
      */
 110  
     String getLine3Unmasked();
 111  
     
 112  
     /**
 113  
      * Gets this {@link EntityAddressContract}'s unmasked city name.
 114  
      * @return the unmasked city name for this {@link EntityAddressContract}, or null if none has been assigned.
 115  
      */
 116  
     String getCityNameUnmasked();
 117  
     
 118  
     /**
 119  
      * Gets this {@link EntityAddressContract}'s unmasked state code.
 120  
      * @return the unmasked state code for this {@link EntityAddressContract}, or null if none has been assigned.
 121  
      */
 122  
     String getStateCodeUnmasked();
 123  
     
 124  
     /**
 125  
      * Gets this {@link EntityAddressContract}'s unmasked postal code.
 126  
      * @return the unmasked postal code for this {@link EntityAddressContract}, or null if none has been assigned.
 127  
      */
 128  
     String getPostalCodeUnmasked();
 129  
     
 130  
     /**
 131  
      * Gets this {@link EntityAddressContract}'s unmasked country code.
 132  
      * @return the unmasked country code for this {@link EntityAddressContract}, or null if none has been assigned.
 133  
      */
 134  
     String getCountryCodeUnmasked();
 135  
 
 136  
     /**
 137  
      * Returns a boolean value that determines if address fields should be suppressed.
 138  
      * @return boolean value that determines if address should be suppressed.
 139  
      */
 140  
     boolean isSuppressAddress();
 141  
 }