Interface PrincipalContract
- All Superinterfaces:
GloballyUnique,Inactivatable,Versioned
- All Known Implementing Classes:
Principal,Principal.Builder
This is a contract for Principal.
A principal represents an entity that can authenticate. A principal has an ID that is
used to uniquely identify it. It also has a name that represents the principal's username.
All principals are associated with one and only one entity.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionGets thisPrincipalContract's identity id.Gets thisPrincipalContract's id.Gets thisPrincipalContract's name.Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectIdMethods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActiveMethods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
-
Method Details
-
getPrincipalId
String getPrincipalId()Gets thisPrincipalContract's id.- Returns:
- the id for this
PrincipalContract, or null if none has been assigned.
-
getPrincipalName
String getPrincipalName()Gets thisPrincipalContract's name.- Returns:
- the name for this
PrincipalContract, this value cannot be null.
-
getEntityId
String getEntityId()Gets thisPrincipalContract's identity id.- Returns:
- the identity id for this
PrincipalContract, or null if none has been assigned.
-