public class PrincipalHRAttributesBo extends HrBusinessObject implements PrincipalHRAttributesContract
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableList<String> |
BUSINESS_KEYS |
static String |
CACHE_NAME |
static org.kuali.rice.core.api.mo.ModelObjectUtils.Transformer<PrincipalHRAttributes,PrincipalHRAttributesBo> |
toBo |
static org.kuali.rice.core.api.mo.ModelObjectUtils.Transformer<PrincipalHRAttributesBo,PrincipalHRAttributes> |
toImmutable |
| Constructor and Description |
|---|
PrincipalHRAttributesBo() |
| Modifier and Type | Method and Description |
|---|---|
static PrincipalHRAttributesBo |
from(PrincipalHRAttributes im) |
com.google.common.collect.ImmutableMap<String,Object> |
getBusinessKeyValuesMap()
The map of key-vaue pairs that together form the business key criteria for this instance.
|
CalendarBo |
getCalendar()
The Calendar object the PrincipalHRAttributes is associated with
|
String |
getHrPrincipalAttributeId()
The primary key of a PrincipalHRAttributes entry saved in a database
|
String |
getId() |
org.kuali.rice.kim.api.identity.IdentityService |
getIdentityService() |
String |
getLeaveCalendar()
The name of the LeaveCalendar object the PrincipalHRAttributes is associated with
|
CalendarBo |
getLeaveCalObj()
The Calendar object for Leave the PrincipalHRAttributes is associated with
|
String |
getLeavePlan()
The name of the LeavePlan object the PrincipalHRAttributes is associated with
|
LeavePlanBo |
getLeavePlanObj()
Determines the accrual rules and leave codes for the employee
|
String |
getName()
The principalId's names (first, middle and last names) the PrincipalHRAttributes is associated with
|
String |
getPayCalendar()
Defines the calendar associated with the user for their timesheet
|
org.kuali.rice.kim.api.identity.Person |
getPerson() |
String |
getPrincipalId()
The principalId the PrincipalHRAttributes is associated with
|
Date |
getServiceDate() |
org.joda.time.LocalDate |
getServiceLocalDate()
The serviceDate (LocalDate) the PrincipalHRAttributes is associated with
|
String |
getTimezone()
The time zone that the employee is located in
|
protected String |
getUniqueKey() |
boolean |
isFmlaEligible()
The fmlaEligible flag to dictate if FMLA leave codes are available for the employee to select on leave calendar
|
boolean |
isWorkersCompEligible()
The workersCompEligible flag to dictate if FMLA leave codes are available for the employee to select on leave calendar
|
void |
setCalendar(CalendarBo calendar) |
void |
setFmlaEligible(boolean fmlaEligible) |
void |
setHrPrincipalAttributeId(String hrPrincipalAttributeId) |
void |
setId(String id) |
void |
setIdentityService(org.kuali.rice.kim.api.identity.IdentityService identityService) |
void |
setLeaveCalendar(String leaveCalendar) |
void |
setLeaveCalObj(CalendarBo leaveCalObj) |
void |
setLeavePlan(String leavePlan) |
void |
setLeavePlanObj(LeavePlanBo leavePlanObj) |
void |
setPayCalendar(String payCalendar) |
void |
setPerson(org.kuali.rice.kim.api.identity.Person person) |
void |
setPrincipalId(String principalId) |
void |
setServiceDate(Date serviceDate) |
void |
setServiceLocalDate(org.joda.time.LocalDate serviceLocalDate) |
void |
setTimezone(String timezone) |
void |
setWorkersCompEligible(boolean workersCompEligible) |
static PrincipalHRAttributes |
to(PrincipalHRAttributesBo bo) |
areAllBusinessKeyValuesAvailable, copyCommonFields, getCreateTime, getEffectiveDate, getEffectiveLocalDate, getHistory, getRelativeEffectiveDate, getTimestamp, getUserPrincipalId, isActive, setActive, setEffectiveDate, setEffectiveLocalDate, setHistory, setRelativeEffectiveDate, setTimestamp, setUserPrincipalIdafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEffectiveLocalDategetCreateTimegetUserPrincipalIdpublic static final com.google.common.collect.ImmutableList<String> BUSINESS_KEYS
public static final String CACHE_NAME
public static final org.kuali.rice.core.api.mo.ModelObjectUtils.Transformer<PrincipalHRAttributesBo,PrincipalHRAttributes> toImmutable
public static final org.kuali.rice.core.api.mo.ModelObjectUtils.Transformer<PrincipalHRAttributes,PrincipalHRAttributesBo> toBo
public PrincipalHRAttributesBo()
public com.google.common.collect.ImmutableMap<String,Object> getBusinessKeyValuesMap()
HrBusinessObjectContractgetBusinessKeyValuesMap in interface HrBusinessObjectContractpublic String getPrincipalId()
PrincipalHRAttributesContractprincipalId of a PrincipalHRAttributes
getPrincipalId in interface PrincipalHRAttributesContractpublic void setPrincipalId(String principalId)
public String getName()
PrincipalHRAttributesContractIt gets a Person object if person is null based on the principalId. person.getName() constructs the first, middle and last names.
getName in interface PrincipalHRAttributesContractpublic String getPayCalendar()
PrincipalHRAttributesContractpayCalendar of a PrincipalHRAttributes
getPayCalendar in interface PrincipalHRAttributesContractpublic void setPayCalendar(String payCalendar)
public String getLeavePlan()
PrincipalHRAttributesContractThe employee's Leave Plan that determines the accrual rules and leave codes.
getLeavePlan in interface PrincipalHRAttributesContractpublic void setLeavePlan(String leavePlan)
public Date getServiceDate()
public void setServiceDate(Date serviceDate)
public org.joda.time.LocalDate getServiceLocalDate()
PrincipalHRAttributesContractserviceDate of a PrincipalHRAttributes
getServiceLocalDate in interface PrincipalHRAttributesContractpublic void setServiceLocalDate(org.joda.time.LocalDate serviceLocalDate)
public boolean isFmlaEligible()
PrincipalHRAttributesContractfmlaEligible of a PrincipalHRAttributes
isFmlaEligible in interface PrincipalHRAttributesContractpublic void setFmlaEligible(boolean fmlaEligible)
public boolean isWorkersCompEligible()
PrincipalHRAttributesContractworkersCompEligible of a PrincipalHRAttributes
isWorkersCompEligible in interface PrincipalHRAttributesContractpublic void setWorkersCompEligible(boolean workersCompEligible)
public String getTimezone()
PrincipalHRAttributesContracttimezone of PrincipalHRAttributes
getTimezone in interface PrincipalHRAttributesContractpublic void setTimezone(String timezone)
public CalendarBo getCalendar()
PrincipalHRAttributesContractcalendar of a PrincipalHRAttributes
getCalendar in interface PrincipalHRAttributesContractpublic void setCalendar(CalendarBo calendar)
public org.kuali.rice.kim.api.identity.Person getPerson()
public void setPerson(org.kuali.rice.kim.api.identity.Person person)
public LeavePlanBo getLeavePlanObj()
PrincipalHRAttributesContractleavePlanObj of a PrincipalHRAttributes
getLeavePlanObj in interface PrincipalHRAttributesContractpublic void setLeavePlanObj(LeavePlanBo leavePlanObj)
protected String getUniqueKey()
getUniqueKey in class HrBusinessObjectpublic String getLeaveCalendar()
PrincipalHRAttributesContractleaveCalendar of a PrincipalHRAttributes
getLeaveCalendar in interface PrincipalHRAttributesContractpublic void setLeaveCalendar(String leaveCalendar)
public String getId()
getId in interface org.kuali.rice.core.api.mo.common.IdentifiablegetId in class HrBusinessObjectpublic void setId(String id)
setId in class HrBusinessObjectpublic CalendarBo getLeaveCalObj()
PrincipalHRAttributesContractleave calendar of a PrincipalHRAttributes
getLeaveCalObj in interface PrincipalHRAttributesContractpublic void setLeaveCalObj(CalendarBo leaveCalObj)
public String getHrPrincipalAttributeId()
PrincipalHRAttributesContracthrPrincipalAttributeId of a PrincipalHRAttributes
getHrPrincipalAttributeId in interface PrincipalHRAttributesContractpublic void setHrPrincipalAttributeId(String hrPrincipalAttributeId)
public org.kuali.rice.kim.api.identity.IdentityService getIdentityService()
public void setIdentityService(org.kuali.rice.kim.api.identity.IdentityService identityService)
public static PrincipalHRAttributesBo from(PrincipalHRAttributes im)
public static PrincipalHRAttributes to(PrincipalHRAttributesBo bo)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.