| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| EntityEmailContract | 
  | 
  | 1.0;1 | 
| 1 |  package org.kuali.rice.kim.api.identity.email; | |
| 2 | ||
| 3 |  import org.kuali.rice.core.api.mo.common.Defaultable; | |
| 4 |  import org.kuali.rice.core.api.mo.common.GloballyUnique; | |
| 5 |  import org.kuali.rice.core.api.mo.common.Identifiable; | |
| 6 |  import org.kuali.rice.core.api.mo.common.Versioned; | |
| 7 |  import org.kuali.rice.core.api.mo.common.active.Inactivatable; | |
| 8 |  import org.kuali.rice.kim.api.identity.TypeContract; | |
| 9 | ||
| 10 | public interface EntityEmailContract extends Versioned, GloballyUnique, Defaultable, Inactivatable, Identifiable {  | |
| 11 |         /** | |
| 12 |       * Gets this id of the parent identity object. | |
| 13 |       * @return the identity id for this {@link EntityEmailContract} | |
| 14 |       */ | |
| 15 | String getEntityId();  | |
| 16 | ||
| 17 |      /** | |
| 18 |       * Gets this entityTypeCode of the {@link EntityEmailContract}'s object. | |
| 19 |       * @return the identity type code for this {@link EntityEmailContract} | |
| 20 |       */ | |
| 21 | String getEntityTypeCode();  | |
| 22 | ||
| 23 |          /** | |
| 24 |       * Gets this {@link org.kuali.rice.kim.api.identity.email.EntityEmail}'s type code. | |
| 25 |       * @return the type code for this {@link org.kuali.rice.kim.api.identity.email.EntityEmail}, or null if none has been assigned. | |
| 26 |       */ | |
| 27 | TypeContract getEmailType();  | |
| 28 | ||
| 29 |          /** | |
| 30 |       * Gets this {@link EntityEmail}'s email address. | |
| 31 |       * @return the email address for this {@link EntityEmail}, or null if none has been assigned. | |
| 32 |       */ | |
| 33 | String getEmailAddress();  | |
| 34 | ||
| 35 |          /** | |
| 36 |       * Gets this {@link EntityEmail}'s unmasked email address. | |
| 37 |       * @return the unmasked email address for this {@link EntityEmail}, or null if none has been assigned. | |
| 38 |       */ | |
| 39 | String getEmailAddressUnmasked();  | |
| 40 |      /** | |
| 41 |       * Returns a boolean value that determines if email fields should be suppressed. | |
| 42 |       * @return boolean value that determines if email should be suppressed. | |
| 43 |       */ | |
| 44 |          boolean isSuppressEmail(); | |
| 45 | }  |