org.kuali.kpme.tklm.time.rules.lunch.sys
Class SystemLunchRule

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.tklm.time.rules.TkRule
                  extended by org.kuali.kpme.tklm.time.rules.lunch.sys.SystemLunchRule
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, SystemLunchRuleContract, TkRuleContract, 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 SystemLunchRule
extends TkRule
implements SystemLunchRuleContract

See Also:
Serialized Form

Field Summary
static String CACHE_NAME
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
SystemLunchRule()
           
 
Method Summary
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 Boolean getShowLunchButton()
          The flag to indicate if the lunch buttons will be presented or not
 String getTkSystemLunchRuleId()
          The primary key of a SystemLunchRule entry saved in a database
 String getUniqueKey()
           
 String getUserPrincipalId()
          The principal id of the user who set up the SystemLunchRule
 boolean isHistory()
          The history flag of the SystemLunchRule
 void setHistory(boolean history)
           
 void setId(String id)
           
 void setShowLunchButton(Boolean showLunchButton)
           
 void setTkSystemLunchRuleId(String tkSystemLunchRuleId)
           
 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

CACHE_NAME

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

SystemLunchRule

public SystemLunchRule()
Method Detail

getTkSystemLunchRuleId

public String getTkSystemLunchRuleId()
Description copied from interface: SystemLunchRuleContract
The primary key of a SystemLunchRule entry saved in a database

tkSystemLunchRuleId of a SystemLunchRule

Specified by:
getTkSystemLunchRuleId in interface SystemLunchRuleContract
Returns:
tkSystemLunchRuleId for SystemLunchRule

setTkSystemLunchRuleId

public void setTkSystemLunchRuleId(String tkSystemLunchRuleId)

isHistory

public boolean isHistory()
Description copied from interface: SystemLunchRuleContract
The history flag of the SystemLunchRule

history flag of a SystemLunchRule

Specified by:
isHistory in interface SystemLunchRuleContract
Returns:
Y if on, N if not

setHistory

public void setHistory(boolean history)

getUserPrincipalId

public String getUserPrincipalId()
Description copied from interface: SystemLunchRuleContract
The principal id of the user who set up the SystemLunchRule

userPrincipalId of a SystemLunchRule

Specified by:
getUserPrincipalId in interface SystemLunchRuleContract
Returns:
userPrincipalId for SystemLunchRule

setUserPrincipalId

public void setUserPrincipalId(String userPrincipalId)

getShowLunchButton

public Boolean getShowLunchButton()
Description copied from interface: SystemLunchRuleContract
The flag to indicate if the lunch buttons will be presented or not

showLunchButton of a SystemLunchRule

Specified by:
getShowLunchButton in interface SystemLunchRuleContract
Returns:
Y if presented, N if not

setShowLunchButton

public void setShowLunchButton(Boolean showLunchButton)

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


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