@Entity public class PrincipalBo extends DataObjectBase implements PrincipalContract
objectId, versionNumber
Constructor and Description |
---|
PrincipalBo() |
Modifier and Type | Method and Description |
---|---|
static PrincipalBo |
from(Principal immutable)
Creates a PrincipalBo business object from an immutable representation of a Principal.
|
boolean |
getActive() |
String |
getEntityId()
Gets this
PrincipalContract 's identity id. |
String |
getPassword() |
String |
getPrincipalId()
Gets this
PrincipalContract 's id. |
String |
getPrincipalName()
Gets this
PrincipalContract 's name. |
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setEntityId(String entityId) |
void |
setPassword(String password) |
void |
setPrincipalId(String principalId) |
void |
setPrincipalName(String principalName) |
static Principal |
to(PrincipalBo bo) |
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
public PrincipalBo()
public static Principal to(PrincipalBo bo)
public static PrincipalBo from(Principal immutable)
immutable
- an immutable Principalpublic String getPrincipalId()
PrincipalContract
PrincipalContract
's id.getPrincipalId
in interface PrincipalContract
PrincipalContract
, or null if none has been assigned.public void setPrincipalId(String principalId)
public String getPrincipalName()
PrincipalContract
PrincipalContract
's name.getPrincipalName
in interface PrincipalContract
PrincipalContract
, this value cannot be null.public void setPrincipalName(String principalName)
public String getEntityId()
PrincipalContract
PrincipalContract
's identity id.getEntityId
in interface PrincipalContract
PrincipalContract
, or null if none has been assigned.public void setEntityId(String entityId)
public String getPassword()
public void setPassword(String password)
public boolean getActive()
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.