Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
EntityCitizenshipContract |
|
| 1.0;1 |
1 | package org.kuali.rice.kim.api.identity.citizenship; | |
2 | ||
3 | import org.joda.time.DateTime; | |
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 EntityCitizenshipContract extends Versioned, GloballyUnique, Inactivatable, Identifiable { | |
11 | /** | |
12 | * Gets this id of the parent identity object. | |
13 | * @return the identity id for this {@link EntityCitizenshipContract} | |
14 | */ | |
15 | String getEntityId(); | |
16 | ||
17 | /** | |
18 | * Gets this {@link EntityCitizenshipContract}'s citizenship status object. | |
19 | * @return the Type object of citizenship status for this {@link EntityCitizenshipContract}, or null if none has been assigned. | |
20 | */ | |
21 | TypeContract getStatus(); | |
22 | ||
23 | /** | |
24 | * Gets this {@link EntityCitizenshipContract}'s country code. | |
25 | * @return the country code for this {@link EntityCitizenshipContract}, or null if none has been assigned. | |
26 | */ | |
27 | String getCountryCode(); | |
28 | ||
29 | /** | |
30 | * Gets this {@link EntityCitizenshipContract}'s start date. | |
31 | * @return the start date for this {@link EntityCitizenshipContract}, or null if none has been assigned. | |
32 | */ | |
33 | DateTime getStartDate(); | |
34 | ||
35 | /** | |
36 | * Gets this {@link EntityCitizenshipContract}'s end date. | |
37 | * @return the end date for this {@link EntityCitizenshipContract}, or null if none has been assigned. | |
38 | */ | |
39 | DateTime getEndDate(); | |
40 | } |