public static final class PrincipalHRAttributes.Builder extends Object implements Serializable, PrincipalHRAttributesContract, org.kuali.rice.core.api.mo.ModelBuilder
PrincipalHRAttributes instances. Enforces the constraints of the PrincipalHRAttributesContract.CACHE_NAME| Modifier and Type | Method and Description |
|---|---|
PrincipalHRAttributes |
build() |
static PrincipalHRAttributes.Builder |
create(PrincipalHRAttributesContract contract) |
static PrincipalHRAttributes.Builder |
create(String principalId) |
Calendar.Builder |
getCalendar()
The Calendar object the PrincipalHRAttributes is associated with
|
org.joda.time.DateTime |
getCreateTime()
The timestamp of when this HrBusinessObject was last created/updated
|
org.joda.time.LocalDate |
getEffectiveLocalDate()
The localDate format of the effective date of the HrBusinessObject
|
String |
getHrPrincipalAttributeId()
The primary key of a PrincipalHRAttributes entry saved in a database
|
String |
getId() |
String |
getLeaveCalendar()
The name of the LeaveCalendar object the PrincipalHRAttributes is associated with
|
Calendar.Builder |
getLeaveCalObj()
The Calendar object for Leave the PrincipalHRAttributes is associated with
|
String |
getLeavePlan()
The name of the LeavePlan object the PrincipalHRAttributes is associated with
|
LeavePlan.Builder |
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 |
getObjectId() |
String |
getPayCalendar()
Defines the calendar associated with the user for their timesheet
|
String |
getPrincipalId()
The principalId the PrincipalHRAttributes is associated with
|
org.joda.time.LocalDate |
getServiceLocalDate()
The serviceDate (LocalDate) the PrincipalHRAttributes is associated with
|
String |
getTimezone()
The time zone that the employee is located in
|
String |
getUserPrincipalId()
The userPrincipalId of when this HrBusinessObject was last created/updated
|
Long |
getVersionNumber() |
boolean |
isActive() |
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 |
setActive(boolean active) |
void |
setCalendar(Calendar.Builder calendar) |
void |
setCreateTime(org.joda.time.DateTime createTime) |
void |
setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate) |
void |
setFmlaEligible(boolean fmlaEligible) |
void |
setHrPrincipalAttributeId(String hrPrincipalAttributeId) |
void |
setId(String id) |
void |
setLeaveCalendar(String leaveCalendar) |
void |
setLeaveCalObj(Calendar.Builder leaveCalObj) |
void |
setLeavePlan(String leavePlan) |
void |
setLeavePlanObj(LeavePlan.Builder leavePlanObj) |
void |
setName(String name) |
void |
setObjectId(String objectId) |
void |
setPayCalendar(String payCalendar) |
void |
setPrincipalId(String principalId) |
void |
setServiceLocalDate(org.joda.time.LocalDate serviceLocalDate) |
void |
setTimezone(String timezone) |
void |
setUserPrincipalId(String userPrincipalId) |
void |
setVersionNumber(Long versionNumber) |
void |
setWorkersCompEligible(boolean workersCompEligible) |
public static PrincipalHRAttributes.Builder create(String principalId)
public static PrincipalHRAttributes.Builder create(PrincipalHRAttributesContract contract)
public PrincipalHRAttributes build()
build in interface org.kuali.rice.core.api.mo.ModelBuilderpublic 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 getLeavePlan()
PrincipalHRAttributesContractThe employee's Leave Plan that determines the accrual rules and leave codes.
getLeavePlan in interface PrincipalHRAttributesContractpublic org.joda.time.LocalDate getServiceLocalDate()
PrincipalHRAttributesContractserviceDate of a PrincipalHRAttributes
getServiceLocalDate in interface PrincipalHRAttributesContractpublic boolean isFmlaEligible()
PrincipalHRAttributesContractfmlaEligible of a PrincipalHRAttributes
isFmlaEligible in interface PrincipalHRAttributesContractpublic boolean isWorkersCompEligible()
PrincipalHRAttributesContractworkersCompEligible of a PrincipalHRAttributes
isWorkersCompEligible in interface PrincipalHRAttributesContractpublic String getTimezone()
PrincipalHRAttributesContracttimezone of PrincipalHRAttributes
getTimezone in interface PrincipalHRAttributesContractpublic Calendar.Builder getCalendar()
PrincipalHRAttributesContractcalendar of a PrincipalHRAttributes
getCalendar in interface PrincipalHRAttributesContractpublic LeavePlan.Builder getLeavePlanObj()
PrincipalHRAttributesContractleavePlanObj of a PrincipalHRAttributes
getLeavePlanObj in interface PrincipalHRAttributesContractpublic String getPrincipalId()
PrincipalHRAttributesContractprincipalId of a PrincipalHRAttributes
getPrincipalId in interface PrincipalHRAttributesContractpublic String getPayCalendar()
PrincipalHRAttributesContractpayCalendar of a PrincipalHRAttributes
getPayCalendar in interface PrincipalHRAttributesContractpublic String getLeaveCalendar()
PrincipalHRAttributesContractleaveCalendar of a PrincipalHRAttributes
getLeaveCalendar in interface PrincipalHRAttributesContractpublic Calendar.Builder getLeaveCalObj()
PrincipalHRAttributesContractleave calendar of a PrincipalHRAttributes
getLeaveCalObj in interface PrincipalHRAttributesContractpublic String getHrPrincipalAttributeId()
PrincipalHRAttributesContracthrPrincipalAttributeId of a PrincipalHRAttributes
getHrPrincipalAttributeId in interface PrincipalHRAttributesContractpublic Long getVersionNumber()
getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versionedpublic String getObjectId()
getObjectId in interface org.kuali.rice.core.api.mo.common.GloballyUniquepublic boolean isActive()
isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatablepublic String getId()
getId in interface org.kuali.rice.core.api.mo.common.Identifiablepublic org.joda.time.LocalDate getEffectiveLocalDate()
EffectiveeffectiveLocalDate of HrBusinessObject
getEffectiveLocalDate in interface Effectivepublic org.joda.time.DateTime getCreateTime()
CreateTimetimestamp of HrBusinessObject
getCreateTime in interface CreateTimepublic String getUserPrincipalId()
UserModifieduserPrincipalId of HrBusinessObject
getUserPrincipalId in interface UserModifiedpublic void setLeavePlan(String leavePlan)
public void setServiceLocalDate(org.joda.time.LocalDate serviceLocalDate)
public void setFmlaEligible(boolean fmlaEligible)
public void setWorkersCompEligible(boolean workersCompEligible)
public void setTimezone(String timezone)
public void setCalendar(Calendar.Builder calendar)
public void setLeavePlanObj(LeavePlan.Builder leavePlanObj)
public void setPrincipalId(String principalId)
public void setPayCalendar(String payCalendar)
public void setLeaveCalendar(String leaveCalendar)
public void setLeaveCalObj(Calendar.Builder leaveCalObj)
public void setHrPrincipalAttributeId(String hrPrincipalAttributeId)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
public void setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate)
public void setCreateTime(org.joda.time.DateTime createTime)
public void setUserPrincipalId(String userPrincipalId)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.