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.ModelBuilder
public String getLocation()
LocationContract
location of Location
getLocation
in interface LocationContract
public String getHrLocationId()
LocationContract
hrLocationId of Location
getHrLocationId
in interface LocationContract
public String getTimezone()
LocationContract
timezone of Location
getTimezone
in interface LocationContract
public String getDescription()
LocationContract
description of Location
getDescription
in interface LocationContract
public String getUserPrincipalId()
UserModified
userPrincipalId of HrBusinessObject
getUserPrincipalId
in interface LocationContract
getUserPrincipalId
in interface UserModified
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.DateTime getCreateTime()
CreateTime
timestamp of HrBusinessObject
getCreateTime
in interface CreateTime
public org.joda.time.LocalDate getEffectiveLocalDate()
Effective
effectiveLocalDate of HrBusinessObject
getEffectiveLocalDate
in interface Effective
public 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.