org.kuali.kpme.core.api.principal
Interface PrincipalHRAttributesContract

All Superinterfaces:
org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.core.api.mo.common.GloballyUnique, HrBusinessObjectContract, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.krad.bo.PersistableBusinessObject, Serializable, org.kuali.rice.core.api.mo.common.Versioned
All Known Implementing Classes:
PrincipalHRAttributes

public interface PrincipalHRAttributesContract
extends HrBusinessObjectContract

PrincipalHRAttributesContract interface


Method Summary
 CalendarContract 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 getLeaveCalendar()
          The name of the LeaveCalendar object the PrincipalHRAttributes is associated with
 String getLeavePlan()
          The name of the LeavePlan object the PrincipalHRAttributes is associated with
 LeavePlanContract 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
 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
 
Methods inherited from interface org.kuali.kpme.core.api.bo.HrBusinessObjectContract
getEffectiveDate, getEffectiveLocalDate, getId, getRelativeEffectiveDate, getTimestamp
 
Methods inherited from interface org.kuali.rice.krad.bo.PersistableBusinessObject
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject
refresh
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActive
 

Method Detail

getPrincipalId

String getPrincipalId()
The principalId the PrincipalHRAttributes is associated with

principalId of a PrincipalHRAttributes

Returns:
principalId for PrincipalHRAttributes

getName

String getName()
The principalId's names (first, middle and last names) the PrincipalHRAttributes is associated with

It gets a Person object if person is null based on the principalId. person.getName() constructs the first, middle and last names.

Returns:
person.getName() if person is not null, otherwise ""

getPayCalendar

String getPayCalendar()
Defines the calendar associated with the user for their timesheet

payCalendar of a PrincipalHRAttributes

Returns:
payCalendar for PrincipalHRAttributes

getLeavePlan

String getLeavePlan()
The name of the LeavePlan object the PrincipalHRAttributes is associated with

The employee's Leave Plan that determines the accrual rules and leave codes.

Returns:
leavePlan of PrincipalHRAttributes

getServiceDate

Date getServiceDate()
The employee's start date for their leave eligible job

serviceDate of a PrincipalHRAttributes

Returns:
serviceDate for PrincipalHRAttributes

getServiceLocalDate

org.joda.time.LocalDate getServiceLocalDate()
The serviceDate (LocalDate) the PrincipalHRAttributes is associated with

serviceDate of a PrincipalHRAttributes

Returns:
serviceDate for PrincipalHRAttributes

isFmlaEligible

boolean isFmlaEligible()
The fmlaEligible flag to dictate if FMLA leave codes are available for the employee to select on leave calendar

fmlaEligible of a PrincipalHRAttributes

Returns:
true if fmla eligible, false if not

isWorkersCompEligible

boolean isWorkersCompEligible()
The workersCompEligible flag to dictate if FMLA leave codes are available for the employee to select on leave calendar

workersCompEligible of a PrincipalHRAttributes

Returns:
true if worker's comp eligible, false if not

getTimezone

String getTimezone()
The time zone that the employee is located in

timezone of PrincipalHRAttributes

Returns:
timezone for PrincipalHRAttributes

getCalendar

CalendarContract getCalendar()
The Calendar object the PrincipalHRAttributes is associated with

calendar of a PrincipalHRAttributes

Returns:
calendar for PrincipalHRAttributes

getPerson

org.kuali.rice.kim.api.identity.Person getPerson()
The Person object the PrincipalHRAttributes is associated with

person of a aPrincipalHRAttributes

Returns:
person for PrincipalHRAttributes

getLeavePlanObj

LeavePlanContract getLeavePlanObj()
Determines the accrual rules and leave codes for the employee

leavePlanObj of a PrincipalHRAttributes

Returns:
leavePlanObj for PrincipalHRAttributes

getLeaveCalendar

String getLeaveCalendar()
The name of the LeaveCalendar object the PrincipalHRAttributes is associated with

leaveCalendar of a PrincipalHRAttributes

Returns:
leaveCalendar for PrincipalHRAttributes

getHrPrincipalAttributeId

String getHrPrincipalAttributeId()
The primary key of a PrincipalHRAttributes entry saved in a database

hrPrincipalAttributeId of a PrincipalHRAttributes

Returns:
hrPrincipalAttributeId for PrincipalHRAttributes

getHistory

Boolean getHistory()
The history flag for PrincipalHRAttributes lookups

history of PrincipalHRAttributes

Returns:
true if want to show history, false if not


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.