| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PrincipalContract |
|
| 1.0;1 |
| 1 | package org.kuali.rice.kim.api.identity.principal; | |
| 2 | ||
| 3 | ||
| 4 | import org.kuali.rice.core.api.mo.common.GloballyUnique; | |
| 5 | import org.kuali.rice.core.api.mo.common.Versioned; | |
| 6 | import org.kuali.rice.core.api.mo.common.active.Inactivatable; | |
| 7 | ||
| 8 | public interface PrincipalContract extends Inactivatable, Versioned, GloballyUnique { | |
| 9 | /** | |
| 10 | * Gets this {@link PrincipalContract}'s id. | |
| 11 | * @return the id for this {@link PrincipalContract}, or null if none has been assigned. | |
| 12 | */ | |
| 13 | String getPrincipalId(); | |
| 14 | ||
| 15 | /** | |
| 16 | * Gets this {@link PrincipalContract}'s name. | |
| 17 | * @return the name for this {@link PrincipalContract}, this value cannot be null. | |
| 18 | */ | |
| 19 | String getPrincipalName(); | |
| 20 | ||
| 21 | /** | |
| 22 | * Gets this {@link PrincipalContract}'s password. | |
| 23 | * @return the password for this {@link PrincipalContract}, or null if none has been assigned. | |
| 24 | */ | |
| 25 | String getPassword(); | |
| 26 | ||
| 27 | /** | |
| 28 | * Gets this {@link PrincipalContract}'s identity id. | |
| 29 | * @return the identity id for this {@link PrincipalContract}, or null if none has been assigned. | |
| 30 | */ | |
| 31 | String getEntityId(); | |
| 32 | ||
| 33 | } |