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, setUserPrincipalId
afterDelete, 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, setVersionNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEffectiveLocalDate
getCreateTime
getUserPrincipalId
public 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()
HrBusinessObjectContract
getBusinessKeyValuesMap
in interface HrBusinessObjectContract
public String getPrincipalId()
PrincipalHRAttributesContract
principalId of a PrincipalHRAttributes
getPrincipalId
in interface PrincipalHRAttributesContract
public void setPrincipalId(String principalId)
public String getName()
PrincipalHRAttributesContract
It gets a Person object if person is null based on the principalId. person.getName() constructs the first, middle and last names.
getName
in interface PrincipalHRAttributesContract
public String getPayCalendar()
PrincipalHRAttributesContract
payCalendar of a PrincipalHRAttributes
getPayCalendar
in interface PrincipalHRAttributesContract
public void setPayCalendar(String payCalendar)
public String getLeavePlan()
PrincipalHRAttributesContract
The employee's Leave Plan that determines the accrual rules and leave codes.
getLeavePlan
in interface PrincipalHRAttributesContract
public void setLeavePlan(String leavePlan)
public Date getServiceDate()
public void setServiceDate(Date serviceDate)
public org.joda.time.LocalDate getServiceLocalDate()
PrincipalHRAttributesContract
serviceDate of a PrincipalHRAttributes
getServiceLocalDate
in interface PrincipalHRAttributesContract
public void setServiceLocalDate(org.joda.time.LocalDate serviceLocalDate)
public boolean isFmlaEligible()
PrincipalHRAttributesContract
fmlaEligible of a PrincipalHRAttributes
isFmlaEligible
in interface PrincipalHRAttributesContract
public void setFmlaEligible(boolean fmlaEligible)
public boolean isWorkersCompEligible()
PrincipalHRAttributesContract
workersCompEligible of a PrincipalHRAttributes
isWorkersCompEligible
in interface PrincipalHRAttributesContract
public void setWorkersCompEligible(boolean workersCompEligible)
public String getTimezone()
PrincipalHRAttributesContract
timezone of PrincipalHRAttributes
getTimezone
in interface PrincipalHRAttributesContract
public void setTimezone(String timezone)
public CalendarBo getCalendar()
PrincipalHRAttributesContract
calendar of a PrincipalHRAttributes
getCalendar
in interface PrincipalHRAttributesContract
public 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()
PrincipalHRAttributesContract
leavePlanObj of a PrincipalHRAttributes
getLeavePlanObj
in interface PrincipalHRAttributesContract
public void setLeavePlanObj(LeavePlanBo leavePlanObj)
protected String getUniqueKey()
getUniqueKey
in class HrBusinessObject
public String getLeaveCalendar()
PrincipalHRAttributesContract
leaveCalendar of a PrincipalHRAttributes
getLeaveCalendar
in interface PrincipalHRAttributesContract
public void setLeaveCalendar(String leaveCalendar)
public String getId()
getId
in interface org.kuali.rice.core.api.mo.common.Identifiable
getId
in class HrBusinessObject
public void setId(String id)
setId
in class HrBusinessObject
public CalendarBo getLeaveCalObj()
PrincipalHRAttributesContract
leave calendar of a PrincipalHRAttributes
getLeaveCalObj
in interface PrincipalHRAttributesContract
public void setLeaveCalObj(CalendarBo leaveCalObj)
public String getHrPrincipalAttributeId()
PrincipalHRAttributesContract
hrPrincipalAttributeId of a PrincipalHRAttributes
getHrPrincipalAttributeId
in interface PrincipalHRAttributesContract
public 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.