| |
|
| java.lang.Object org.kuali.module.labor.util.LaborLedgerUnitOfWork
LaborLedgerUnitOfWork | public class LaborLedgerUnitOfWork (Code) | | This class is a working unit of labor origin entry. It is formed by a group of slimilar labor origin entries. If any two entries
have the same values for the given fields, then they are similar and can be grouped.
|
LaborLedgerUnitOfWork | public LaborLedgerUnitOfWork()(Code) | | Constructs a LaborLedgerUnitOfWork.java.
|
LaborLedgerUnitOfWork | public LaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry)(Code) | | Constructs a LaborLedgerUnitOfWork.java.
Parameters: laborOriginEntry - the given origin entry |
addEntryIntoUnit | public boolean addEntryIntoUnit(LaborOriginEntry laborOriginEntry)(Code) | | add the given origin entry as a member of the working unit
Parameters: laborOriginEntry - the given origin entry true if the given origin entry is successfully added into the current unit of work; otherwise, false |
canContain | public boolean canContain(LaborOriginEntry laborOriginEntry)(Code) | | Determine if the given origin entry belongs to the current unit of work
Parameters: laborOriginEntry - the given origin entry true if the given origin entry belongs to the current unit of work; otherwise, false |
getKeyFields | public List<String> getKeyFields()(Code) | | Gets the keyFields attribute.
Returns the keyFields. |
getNumOfMember | public int getNumOfMember()(Code) | | Gets the numOfMember attribute.
Returns the numOfMember. |
getWorkingEntry | public LaborOriginEntry getWorkingEntry()(Code) | | Gets the workingEntry attribute.
Returns the workingEntry. |
hasSameKey | public boolean hasSameKey(LaborOriginEntry laborOriginEntry)(Code) | | Determine if the given origin entry has the same key as the current unit of work
Parameters: laborOriginEntry - the given origin entry true if the given origin entry has the same key as the current unit of work; otherwise, false |
resetLaborLedgerUnitOfWork | public void resetLaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry)(Code) | | Intialize the default key fields of the labor ledger unit of work with the given origin entry
Parameters: laborOriginEntry - the given origin entry |
resetLaborLedgerUnitOfWork | public void resetLaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry, List<String> keyFields)(Code) | | Intialize the specified key fields of the labor ledger unit of work with the given origin entry
Parameters: laborOriginEntry - the given origin entry Parameters: keyFields - the keys to which values will be assigned |
setKeyFields | public void setKeyFields(List<String> keyFields)(Code) | | Sets the keyFields attribute value.
Parameters: keyFields - The keyFields to set. |
setNumOfMember | public void setNumOfMember(int numOfMember)(Code) | | Sets the numOfMember attribute value.
Parameters: numOfMember - The numOfMember to set. |
setWorkingEntry | public void setWorkingEntry(LaborOriginEntry workingEntry)(Code) | | Sets the workingEntry attribute value.
Parameters: workingEntry - The workingEntry to set. |
|
|
|