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.ModelBuilder
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 getLeavePlan()
PrincipalHRAttributesContract
The employee's Leave Plan that determines the accrual rules and leave codes.
getLeavePlan
in interface PrincipalHRAttributesContract
public org.joda.time.LocalDate getServiceLocalDate()
PrincipalHRAttributesContract
serviceDate of a PrincipalHRAttributes
getServiceLocalDate
in interface PrincipalHRAttributesContract
public boolean isFmlaEligible()
PrincipalHRAttributesContract
fmlaEligible of a PrincipalHRAttributes
isFmlaEligible
in interface PrincipalHRAttributesContract
public boolean isWorkersCompEligible()
PrincipalHRAttributesContract
workersCompEligible of a PrincipalHRAttributes
isWorkersCompEligible
in interface PrincipalHRAttributesContract
public String getTimezone()
PrincipalHRAttributesContract
timezone of PrincipalHRAttributes
getTimezone
in interface PrincipalHRAttributesContract
public Calendar.Builder getCalendar()
PrincipalHRAttributesContract
calendar of a PrincipalHRAttributes
getCalendar
in interface PrincipalHRAttributesContract
public LeavePlan.Builder getLeavePlanObj()
PrincipalHRAttributesContract
leavePlanObj of a PrincipalHRAttributes
getLeavePlanObj
in interface PrincipalHRAttributesContract
public String getPrincipalId()
PrincipalHRAttributesContract
principalId of a PrincipalHRAttributes
getPrincipalId
in interface PrincipalHRAttributesContract
public String getPayCalendar()
PrincipalHRAttributesContract
payCalendar of a PrincipalHRAttributes
getPayCalendar
in interface PrincipalHRAttributesContract
public String getLeaveCalendar()
PrincipalHRAttributesContract
leaveCalendar of a PrincipalHRAttributes
getLeaveCalendar
in interface PrincipalHRAttributesContract
public Calendar.Builder getLeaveCalObj()
PrincipalHRAttributesContract
leave calendar of a PrincipalHRAttributes
getLeaveCalObj
in interface PrincipalHRAttributesContract
public String getHrPrincipalAttributeId()
PrincipalHRAttributesContract
hrPrincipalAttributeId of a PrincipalHRAttributes
getHrPrincipalAttributeId
in interface PrincipalHRAttributesContract
public Long getVersionNumber()
getVersionNumber
in interface org.kuali.rice.core.api.mo.common.Versioned
public String getObjectId()
getObjectId
in interface org.kuali.rice.core.api.mo.common.GloballyUnique
public boolean isActive()
isActive
in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
public String getId()
getId
in interface org.kuali.rice.core.api.mo.common.Identifiable
public org.joda.time.LocalDate getEffectiveLocalDate()
Effective
effectiveLocalDate of HrBusinessObject
getEffectiveLocalDate
in interface Effective
public org.joda.time.DateTime getCreateTime()
CreateTime
timestamp of HrBusinessObject
getCreateTime
in interface CreateTime
public String getUserPrincipalId()
UserModified
userPrincipalId of HrBusinessObject
getUserPrincipalId
in interface UserModified
public 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.