org.kuali.kpme.core.location
Class Location

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.kpme.core.bo.HrBusinessObject
              extended by org.kuali.kpme.core.location.Location
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, LocationContract, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.PersistableBusinessObject

public class Location
extends HrBusinessObject
implements LocationContract

See Also:
Serialized Form

Field Summary
static String CACHE_NAME
           
static com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Location()
           
 
Method Summary
 void addInactiveRoleMember(LocationPrincipalRoleMemberBo inactiveRoleMemberBo)
           
 void addRoleMember(LocationPrincipalRoleMemberBo roleMemberBo)
           
 String getDescription()
          Text which describes the location code
 String getHistory()
          History flag for Location lookups
 String getHrLocationId()
          The Primary Key of a Location entry saved in a database
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 List<LocationPrincipalRoleMemberBo> getInactiveRoleMembers()
          Inactive Role member list for the Location
 String getLocation()
          Text field used to identify the location
 List<LocationPrincipalRoleMemberBo> getRoleMembers()
          Active Role member list for the Location
 String getTimezone()
          Indicates the timezone for this location
 String getUniqueKey()
           
 String getUserPrincipalId()
           
 void removeInactiveRoleMember(LocationPrincipalRoleMemberBo inactiveRoleMemberBo)
           
 void removeRoleMember(LocationPrincipalRoleMemberBo roleMemberBo)
           
 void setDescription(String description)
           
 void setHistory(String history)
           
 void setHrLocationId(String hrLocationId)
           
 void setId(String id)
           
 void setInactiveRoleMembers(List<LocationPrincipalRoleMemberBo> inactiveRoleMembers)
           
 void setLocation(String location)
           
 void setRoleMembers(List<LocationPrincipalRoleMemberBo> roleMembers)
           
 void setTimezone(String timezone)
           
 void setUserPrincipalId(String userPrincipalId)
           
 
Methods inherited from class org.kuali.kpme.core.bo.HrBusinessObject
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp, isActive, setActive, setEffectiveDate, setEffectiveLocalDate, setRelativeEffectiveDate, setTimestamp
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kpme.core.api.bo.HrBusinessObjectContract
getEffectiveDate, getEffectiveLocalDate, 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
 

Field Detail

EQUAL_TO_FIELDS

public static final com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS

CACHE_NAME

public static final String CACHE_NAME
See Also:
Constant Field Values
Constructor Detail

Location

public Location()
Method Detail

getUniqueKey

public String getUniqueKey()
Specified by:
getUniqueKey in class HrBusinessObject

getId

public String getId()
Description copied from interface: HrBusinessObjectContract
The unique id defined by the object, could be a combination of multiple fields

id of HrBusinessObject

Specified by:
getId in interface HrBusinessObjectContract
Specified by:
getId in class HrBusinessObject
Returns:
id of HrBusinessObject

setId

public void setId(String id)
Specified by:
setId in class HrBusinessObject

getHrLocationId

public String getHrLocationId()
Description copied from interface: LocationContract
The Primary Key of a Location entry saved in a database

hrLocationId of Location

Specified by:
getHrLocationId in interface LocationContract
Returns:
hrLocationId for Location

setHrLocationId

public void setHrLocationId(String hrLocationId)

getLocation

public String getLocation()
Description copied from interface: LocationContract
Text field used to identify the location

location of Location

Specified by:
getLocation in interface LocationContract
Returns:
location for Location

setLocation

public void setLocation(String location)

getTimezone

public String getTimezone()
Description copied from interface: LocationContract
Indicates the timezone for this location

timezone of Location

Specified by:
getTimezone in interface LocationContract
Returns:
timezone for Location

setTimezone

public void setTimezone(String timezone)

getDescription

public String getDescription()
Description copied from interface: LocationContract
Text which describes the location code

description of Location

Specified by:
getDescription in interface LocationContract
Returns:
description for Location

setDescription

public void setDescription(String description)

getUserPrincipalId

public String getUserPrincipalId()
Specified by:
getUserPrincipalId in interface LocationContract

setUserPrincipalId

public void setUserPrincipalId(String userPrincipalId)

getHistory

public String getHistory()
Description copied from interface: LocationContract
History flag for Location lookups

history of Location

Specified by:
getHistory in interface LocationContract
Returns:
Y if want to show history, N if not

setHistory

public void setHistory(String history)

getRoleMembers

public List<LocationPrincipalRoleMemberBo> getRoleMembers()
Description copied from interface: LocationContract
Active Role member list for the Location

roleMembers of Location

Specified by:
getRoleMembers in interface LocationContract
Returns:
roleMembers for Location

addRoleMember

public void addRoleMember(LocationPrincipalRoleMemberBo roleMemberBo)

removeRoleMember

public void removeRoleMember(LocationPrincipalRoleMemberBo roleMemberBo)

setRoleMembers

public void setRoleMembers(List<LocationPrincipalRoleMemberBo> roleMembers)

getInactiveRoleMembers

public List<LocationPrincipalRoleMemberBo> getInactiveRoleMembers()
Description copied from interface: LocationContract
Inactive Role member list for the Location

roleMembers of Location

Specified by:
getInactiveRoleMembers in interface LocationContract
Returns:
roleMembers for Location

addInactiveRoleMember

public void addInactiveRoleMember(LocationPrincipalRoleMemberBo inactiveRoleMemberBo)

removeInactiveRoleMember

public void removeInactiveRoleMember(LocationPrincipalRoleMemberBo inactiveRoleMemberBo)

setInactiveRoleMembers

public void setInactiveRoleMembers(List<LocationPrincipalRoleMemberBo> inactiveRoleMembers)


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