public class PrincipalHRAttributes extends HrBusinessObject implements PrincipalHRAttributesContract
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_NAME |
static com.google.common.collect.ImmutableList<String> |
EQUAL_TO_FIELDS |
Constructor and Description |
---|
PrincipalHRAttributes() |
Modifier and Type | Method and Description |
---|---|
Calendar |
getCalendar()
The Calendar object the PrincipalHRAttributes is associated with
|
Boolean |
getHistory()
The history flag for PrincipalHRAttributes lookups
|
String |
getHrPrincipalAttributeId()
The primary key of a PrincipalHRAttributes entry saved in a database
|
String |
getId()
The unique id defined by the object, could be a combination
of multiple fields
|
String |
getLeaveCalendar()
The name of the LeaveCalendar object the PrincipalHRAttributes is associated with
|
Calendar |
getLeaveCalObj() |
String |
getLeavePlan()
The name of the LeavePlan object the PrincipalHRAttributes is associated with
|
LeavePlan |
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()
The Person object the PrincipalHRAttributes is associated with
|
String |
getPrincipalId()
The principalId the PrincipalHRAttributes is associated with
|
Date |
getServiceDate()
The employee's start date for their leave eligible job
|
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(Calendar calendar) |
void |
setFmlaEligible(boolean fmlaEligible) |
void |
setHistory(Boolean history) |
void |
setHrPrincipalAttributeId(String hrPrincipalAttributeId) |
void |
setId(String id) |
void |
setLeaveCalendar(String leaveCalendar) |
void |
setLeaveCalObj(Calendar leaveCalObj) |
void |
setLeavePlan(String leavePlan) |
void |
setLeavePlanObj(LeavePlan 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) |
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp, isActive, setActive, setEffectiveDate, setEffectiveLocalDate, setRelativeEffectiveDate, setTimestamp
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
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp
public static final com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
public static final String CACHE_NAME
public PrincipalHRAttributes()
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()
PrincipalHRAttributesContract
serviceDate of a PrincipalHRAttributes
getServiceDate
in interface PrincipalHRAttributesContract
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 Calendar getCalendar()
PrincipalHRAttributesContract
calendar of a PrincipalHRAttributes
getCalendar
in interface PrincipalHRAttributesContract
public void setCalendar(Calendar calendar)
public org.kuali.rice.kim.api.identity.Person getPerson()
PrincipalHRAttributesContract
person of a aPrincipalHRAttributes
getPerson
in interface PrincipalHRAttributesContract
public void setPerson(org.kuali.rice.kim.api.identity.Person person)
public LeavePlan getLeavePlanObj()
PrincipalHRAttributesContract
leavePlanObj of a PrincipalHRAttributes
getLeavePlanObj
in interface PrincipalHRAttributesContract
public void setLeavePlanObj(LeavePlan 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()
HrBusinessObjectContract
id of HrBusinessObject
getId
in interface HrBusinessObjectContract
getId
in class HrBusinessObject
public void setId(String id)
setId
in class HrBusinessObject
public Calendar getLeaveCalObj()
public void setLeaveCalObj(Calendar leaveCalObj)
public String getHrPrincipalAttributeId()
PrincipalHRAttributesContract
hrPrincipalAttributeId of a PrincipalHRAttributes
getHrPrincipalAttributeId
in interface PrincipalHRAttributesContract
public void setHrPrincipalAttributeId(String hrPrincipalAttributeId)
public Boolean getHistory()
PrincipalHRAttributesContract
history of PrincipalHRAttributes
getHistory
in interface PrincipalHRAttributesContract
public void setHistory(Boolean history)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.