Coverage Report - org.kuali.rice.kim.api.entity.phone.EntityPhoneContract
 
Classes in this File Line Coverage Branch Coverage Complexity
EntityPhoneContract
N/A
N/A
1
 
 1  
 package org.kuali.rice.kim.api.entity.phone;
 2  
 
 3  
 
 4  
 import org.kuali.rice.core.api.mo.common.Defaultable;
 5  
 import org.kuali.rice.core.api.mo.common.GloballyUnique;
 6  
 import org.kuali.rice.core.api.mo.common.Identifiable;
 7  
 import org.kuali.rice.core.api.mo.common.Versioned;
 8  
 import org.kuali.rice.core.api.mo.common.active.Inactivatable;
 9  
 import org.kuali.rice.kim.api.entity.TypeContract;
 10  
 import org.kuali.rice.kns.bo.DefaultableInactivateable;
 11  
 
 12  
 public interface EntityPhoneContract extends Versioned, GloballyUnique, DefaultableInactivateable, Identifiable {
 13  
 
 14  
     /**
 15  
      * Gets this id of the parent entity object.
 16  
      * @return the entity id for this {@link EntityPhoneContract}
 17  
      */
 18  
     String getEntityId();
 19  
 
 20  
     /**
 21  
      * Gets this entityTypeCode of the {@link EntityPhoneContract}'s object.
 22  
      * @return the entity type code for this {@link EntityPhoneContract}
 23  
      */
 24  
     String getEntityTypeCode();
 25  
 
 26  
         /**
 27  
      * Gets this {@link EntityPhone}'s type code.
 28  
      * @return the type code for this {@link EntityPhone}, or null if none has been assigned.
 29  
      */
 30  
         TypeContract getPhoneType();
 31  
 
 32  
         /**
 33  
      * Gets this {@link EntityPhone}'s phone number.
 34  
      * @return the phone number for this {@link EntityPhone}, or null if none has been assigned.
 35  
      */
 36  
         String getPhoneNumber();
 37  
 
 38  
         /**
 39  
      * Gets this {@link EntityPhone}'s extension number.
 40  
      * @return the extension number for this {@link EntityPhone}, or null if none has been assigned.
 41  
      */
 42  
         String getExtensionNumber();
 43  
 
 44  
         /**
 45  
      * Gets this {@link EntityPhone}'s country code.
 46  
      * @return the country code for this {@link EntityPhone}, or null if none has been assigned.
 47  
      */
 48  
         String getCountryCode();
 49  
 
 50  
         /**
 51  
      * Gets this {@link EntityPhone}'s unmasked phone number.
 52  
      * @return the unmasked phone number for this {@link EntityPhone}, or null if none has been assigned.
 53  
      */
 54  
         String getPhoneNumberUnmasked();
 55  
 
 56  
         /**
 57  
      * Gets this {@link EntityPhone}'s unmasked extension number.
 58  
      * @return the unmasked extension number for this {@link EntityPhone}, or null if none has been assigned.
 59  
      */
 60  
     String getExtensionNumberUnmasked();
 61  
 
 62  
     /**
 63  
      * Gets this {@link EntityPhone}'s unmasked country code.
 64  
      * @return the unmasked country code for this {@link EntityPhone}, or null if none has been assigned.
 65  
      */
 66  
     String getCountryCodeUnmasked();
 67  
 
 68  
     /**
 69  
      * Gets this {@link EntityPhone}'s formatted phone number.
 70  
      * @return the formatted phone number for this {@link EntityPhone}, or null if none has been assigned.
 71  
      */
 72  
     String getFormattedPhoneNumber();
 73  
 
 74  
     /**
 75  
      * Gets this {@link EntityPhone}'s unmasked formatted phone number.
 76  
      * @return the unmasked formatted phone number for this {@link EntityPhone}, or null if none has been assigned.
 77  
      */
 78  
         String getFormattedPhoneNumberUnmasked();
 79  
 
 80  
     /**
 81  
      * Returns a boolean value that determines if phone fields should be suppressed.
 82  
      * @return boolean value that determines if phone should be suppressed.
 83  
      */
 84  
         boolean isSuppressPhone();
 85  
 }