Class Principal
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kim.api.identity.principal.Principal
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.active.Inactivatable,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelObjectBasic,org.kuali.rice.core.api.mo.ModelObjectComplete,PrincipalContract
public final class Principal
extends org.kuali.rice.core.api.mo.AbstractDataTransferObject
implements PrincipalContract
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder which can be used to constructPrincipalinstances.static class -
Method Summary
Modifier and TypeMethodDescriptionGets thisPrincipalContract's identity id.Gets thisPrincipalContract's id.Gets thisPrincipalContract's name.booleanisActive()Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
getPrincipalId
Description copied from interface:PrincipalContractGets thisPrincipalContract's id.- Specified by:
getPrincipalIdin interfacePrincipalContract- Returns:
- the id for this
PrincipalContract, or null if none has been assigned.
-
getPrincipalName
Description copied from interface:PrincipalContractGets thisPrincipalContract's name.- Specified by:
getPrincipalNamein interfacePrincipalContract- Returns:
- the name for this
PrincipalContract, this value cannot be null.
-
getEntityId
Description copied from interface:PrincipalContractGets thisPrincipalContract's identity id.- Specified by:
getEntityIdin interfacePrincipalContract- Returns:
- the identity id for this
PrincipalContract, or null if none has been assigned.
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
getObjectId
- Specified by:
getObjectIdin interfaceorg.kuali.rice.core.api.mo.common.GloballyUnique
-