org.kuali.kfs.module.bc.businessobject
Class BudgetConstructionLockStatus

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.TransientBusinessObjectBase
          extended by org.kuali.kfs.module.bc.businessobject.BudgetConstructionLockStatus
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.bo.BusinessObject

public class BudgetConstructionLockStatus
extends org.kuali.rice.kns.bo.TransientBusinessObjectBase

This class defines a BudgetConstructionLockStatus object. This object is used by many of the methods in the Budget module's LockService as a mechanism to pass status information associated with the various types of locks. LockStatus uses enum values SUCCESS, BY_OTHER, NO_DOOR, OPTIMISTIC_EX, FLOCK_FOUND LockStatus.BY_OTHER usually means one of the *LockOwner attributes is set with the uid associated with the lock. LockStatus.FLOCK_FOUND usually means the set of fundingLocks is also defined. See the LockService methods JavaDoc for more details.

See Also:
Serialized Form

Constructor Summary
BudgetConstructionLockStatus()
          Constructs a BudgetConstructionLockStatus object.
 
Method Summary
 String getAccountLockOwner()
          This gets the accountLockOwner attribute
 BudgetConstructionHeader getBudgetConstructionHeader()
          Gets the budgetConstructionHeader attribute.
 SortedSet<BudgetConstructionFundingLock> getFundingLocks()
          This gets the fundingLocks attribute
 BCConstants.LockStatus getLockStatus()
          This gets the lockStatus attribute
 String getPositionLockOwner()
          This gets the positionLockOwner attribute
 String getTransactionLockOwner()
          This gets the transactionLockOwner attribute
 void setAccountLockOwner(String accountLockOwner)
          This sets the accountLockOwner attribute
 void setBudgetConstructionHeader(BudgetConstructionHeader budgetConstructionHeader)
          Sets the budgetConstructionHeader attribute value.
 void setFundingLocks(SortedSet<BudgetConstructionFundingLock> fundingLocks)
          This sets the fundingLocks attribute
 void setLockStatus(BCConstants.LockStatus lockStatus)
          This sets the lockStatus attribute
 void setPositionLockOwner(String positionLockOwner)
          This gets the positionLockOwner attribute
 void setTransactionLockOwner(String transactionLockOwner)
          This gets the transactionLockOwner attribute
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.TransientBusinessObjectBase
refresh
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BudgetConstructionLockStatus

public BudgetConstructionLockStatus()
Constructs a BudgetConstructionLockStatus object.

Method Detail

getAccountLockOwner

public String getAccountLockOwner()
This gets the accountLockOwner attribute

Returns:
accountLockOwner

setAccountLockOwner

public void setAccountLockOwner(String accountLockOwner)
This sets the accountLockOwner attribute

Parameters:
accountLockOwner -

getLockStatus

public BCConstants.LockStatus getLockStatus()
This gets the lockStatus attribute

Returns:
lockStatus

setLockStatus

public void setLockStatus(BCConstants.LockStatus lockStatus)
This sets the lockStatus attribute

Parameters:
lockStatus -

getPositionLockOwner

public String getPositionLockOwner()
This gets the positionLockOwner attribute

Returns:
positionLockOwner

setPositionLockOwner

public void setPositionLockOwner(String positionLockOwner)
This gets the positionLockOwner attribute

Parameters:
positionLockOwner -

getFundingLocks

public SortedSet<BudgetConstructionFundingLock> getFundingLocks()
This gets the fundingLocks attribute

Returns:
fundingLocks

setFundingLocks

public void setFundingLocks(SortedSet<BudgetConstructionFundingLock> fundingLocks)
This sets the fundingLocks attribute

Parameters:
fundingLocks -

getTransactionLockOwner

public String getTransactionLockOwner()
This gets the transactionLockOwner attribute

Returns:
ansactionLockOwner

setTransactionLockOwner

public void setTransactionLockOwner(String transactionLockOwner)
This gets the transactionLockOwner attribute

Parameters:
transactionLockOwner -

getBudgetConstructionHeader

public BudgetConstructionHeader getBudgetConstructionHeader()
Gets the budgetConstructionHeader attribute.

Returns:
Returns the budgetConstructionHeader.

setBudgetConstructionHeader

public void setBudgetConstructionHeader(BudgetConstructionHeader budgetConstructionHeader)
Sets the budgetConstructionHeader attribute value.

Parameters:
budgetConstructionHeader - The budgetConstructionHeader to set.

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.