public static final class Location.Builder extends Object implements Serializable, LocationContract, org.kuali.rice.core.api.mo.ModelBuilder
Location instances. Enforces the constraints of the LocationContract.CACHE_NAME| Modifier and Type | Method and Description |
|---|---|
Location |
build() |
static Location.Builder |
create(LocationContract contract) |
static Location.Builder |
create(String location) |
org.joda.time.DateTime |
getCreateTime()
The timestamp of when this HrBusinessObject was last created/updated
|
String |
getDescription()
Text which describes the location code
|
org.joda.time.LocalDate |
getEffectiveLocalDate()
The localDate format of the effective date of the HrBusinessObject
|
String |
getHrLocationId()
The Primary Key of a Location entry saved in a database
|
String |
getId() |
String |
getLocation()
Text field used to identify the location
|
String |
getObjectId() |
String |
getTimezone()
Indicates the timezone for this location
|
String |
getUserPrincipalId()
The userPrincipalId of when this HrBusinessObject was last created/updated
|
Long |
getVersionNumber() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setCreateTime(org.joda.time.DateTime createTime) |
void |
setDescription(String description) |
void |
setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate) |
void |
setHrLocationId(String hrLocationId) |
void |
setId(String id) |
void |
setLocation(String location) |
void |
setObjectId(String objectId) |
void |
setTimezone(String timezone) |
void |
setUserPrincipalId(String userPrincipalId) |
void |
setVersionNumber(Long versionNumber) |
public static Location.Builder create(String location)
public static Location.Builder create(LocationContract contract)
public Location build()
build in interface org.kuali.rice.core.api.mo.ModelBuilderpublic String getLocation()
LocationContractlocation of Location
getLocation in interface LocationContractpublic String getHrLocationId()
LocationContracthrLocationId of Location
getHrLocationId in interface LocationContractpublic String getTimezone()
LocationContracttimezone of Location
getTimezone in interface LocationContractpublic String getDescription()
LocationContractdescription of Location
getDescription in interface LocationContractpublic String getUserPrincipalId()
UserModifieduserPrincipalId of HrBusinessObject
getUserPrincipalId in interface LocationContractgetUserPrincipalId in interface UserModifiedpublic 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.DateTime getCreateTime()
CreateTimetimestamp of HrBusinessObject
getCreateTime in interface CreateTimepublic org.joda.time.LocalDate getEffectiveLocalDate()
EffectiveeffectiveLocalDate of HrBusinessObject
getEffectiveLocalDate in interface Effectivepublic void setLocation(String location)
public void setHrLocationId(String hrLocationId)
public void setTimezone(String timezone)
public void setDescription(String description)
public void setUserPrincipalId(String userPrincipalId)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
public void setCreateTime(org.joda.time.DateTime createTime)
public void setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.