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