org.kuali.rice.kim.impl.identity.principal
Class PrincipalBo
java.lang.Object
org.kuali.rice.krad.bo.DataObjectBase
org.kuali.rice.kim.impl.identity.principal.PrincipalBo
- All Implemented Interfaces:
- Serializable, Inactivatable, GloballyUnique, Versioned, PrincipalContract
@Entity
public class PrincipalBo
- extends DataObjectBase
- implements PrincipalContract
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
PrincipalBo
public PrincipalBo()
to
public static Principal to(PrincipalBo bo)
from
public static PrincipalBo from(Principal immutable)
- Creates a PrincipalBo business object from an immutable representation of a Principal.
- Parameters:
immutable
- an immutable Principal
- Returns:
- a PrincipalBo
getPrincipalId
public String getPrincipalId()
- Description copied from interface:
PrincipalContract
- Gets this
PrincipalContract
's id.
- Specified by:
getPrincipalId
in interface PrincipalContract
- Returns:
- the id for this
PrincipalContract
, or null if none has been assigned.
setPrincipalId
public void setPrincipalId(String principalId)
getPrincipalName
public String getPrincipalName()
- Description copied from interface:
PrincipalContract
- Gets this
PrincipalContract
's name.
- Specified by:
getPrincipalName
in interface PrincipalContract
- Returns:
- the name for this
PrincipalContract
, this value cannot be null.
setPrincipalName
public void setPrincipalName(String principalName)
getEntityId
public String getEntityId()
- Description copied from interface:
PrincipalContract
- Gets this
PrincipalContract
's identity id.
- Specified by:
getEntityId
in interface PrincipalContract
- Returns:
- the identity id for this
PrincipalContract
, or null if none has been assigned.
setEntityId
public void setEntityId(String entityId)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getActive
public boolean getActive()
isActive
public boolean isActive()
- Description copied from interface:
Inactivatable
- The active indicator for an object.
- Specified by:
isActive
in interface Inactivatable
- Returns:
- true if active false if not.
setActive
public void setActive(boolean active)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.