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()
Return the globally unique object id of this object.
|
String |
getPrincipalId()
Gets this
PrincipalContract 's id. |
String |
getPrincipalName()
Gets this
PrincipalContract 's name. |
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
public String getPrincipalId()
PrincipalContract
PrincipalContract
's id.getPrincipalId
in interface PrincipalContract
PrincipalContract
, or null if none has been assigned.public String getPrincipalName()
PrincipalContract
PrincipalContract
's name.getPrincipalName
in interface PrincipalContract
PrincipalContract
, this value cannot be null.public String getEntityId()
PrincipalContract
PrincipalContract
's identity id.getEntityId
in interface PrincipalContract
PrincipalContract
, or null if none has been assigned.public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.