public final class Principal extends AbstractDataTransferObject implements PrincipalContract
| Modifier and Type | Class and Description |
|---|---|
static class |
Principal.Builder
A builder which can be used to construct
Principal instances. |
static class |
Principal.Cache |
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityId()
Gets this
PrincipalContract's identity id. |
String |
getObjectId() |
String |
getPrincipalId()
Gets this
PrincipalContract's id. |
String |
getPrincipalName()
Gets this
PrincipalContract's name. |
Long |
getVersionNumber() |
boolean |
isActive() |
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getPrincipalId()
PrincipalContractPrincipalContract's id.getPrincipalId in interface PrincipalContractPrincipalContract, or null if none has been assigned.public String getPrincipalName()
PrincipalContractPrincipalContract's name.getPrincipalName in interface PrincipalContractPrincipalContract, this value cannot be null.public String getEntityId()
PrincipalContractPrincipalContract's identity id.getEntityId in interface PrincipalContractPrincipalContract, or null if none has been assigned.public boolean isActive()
isActive in interface Inactivatablepublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic String getObjectId()
getObjectId in interface GloballyUniqueCopyright © 2005–2018 The Kuali Foundation. All rights reserved.