|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.ld.util.LaborLedgerUnitOfWork
public class LaborLedgerUnitOfWork
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.
| Constructor Summary | |
|---|---|
LaborLedgerUnitOfWork()
Constructs a LaborLedgerUnitOfWork.java. |
|
LaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry)
Constructs a LaborLedgerUnitOfWork.java. |
|
| Method Summary | |
|---|---|
boolean |
addEntryIntoUnit(LaborOriginEntry laborOriginEntry)
add the given origin entry as a member of the working unit |
boolean |
canContain(LaborOriginEntry laborOriginEntry)
Determine if the given origin entry belongs to the current unit of work |
protected List<String> |
getDefaultKeyFields()
Get the default key fields as a list |
List<String> |
getKeyFields()
Gets the keyFields attribute. |
int |
getNumOfMember()
Gets the numOfMember attribute. |
LaborOriginEntry |
getWorkingEntry()
Gets the workingEntry attribute. |
boolean |
hasSameKey(LaborOriginEntry laborOriginEntry)
Determine if the given origin entry has the same key as the current unit of work |
void |
resetLaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry)
Intialize the default key fields of the labor ledger unit of work with the given origin entry |
void |
resetLaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry,
List<String> keyFields)
Intialize the specified key fields of the labor ledger unit of work with the given origin entry |
void |
setKeyFields(List<String> keyFields)
Sets the keyFields attribute value. |
void |
setNumOfMember(int numOfMember)
Sets the numOfMember attribute value. |
void |
setWorkingEntry(LaborOriginEntry workingEntry)
Sets the workingEntry attribute value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LaborLedgerUnitOfWork()
public LaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry)
laborOriginEntry - the given origin entry| Method Detail |
|---|
public void resetLaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry)
laborOriginEntry - the given origin entry
public void resetLaborLedgerUnitOfWork(LaborOriginEntry laborOriginEntry,
List<String> keyFields)
laborOriginEntry - the given origin entrykeyFields - the keys to which values will be assignedpublic boolean addEntryIntoUnit(LaborOriginEntry laborOriginEntry)
laborOriginEntry - the given origin entry
public boolean canContain(LaborOriginEntry laborOriginEntry)
laborOriginEntry - the given origin entry
public boolean hasSameKey(LaborOriginEntry laborOriginEntry)
laborOriginEntry - the given origin entry
public String toString()
toString in class ObjectObject.toString()public LaborOriginEntry getWorkingEntry()
public void setWorkingEntry(LaborOriginEntry workingEntry)
workingEntry - The workingEntry to set.public List<String> getKeyFields()
public void setKeyFields(List<String> keyFields)
keyFields - The keyFields to set.public int getNumOfMember()
public void setNumOfMember(int numOfMember)
numOfMember - The numOfMember to set.protected List<String> getDefaultKeyFields()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||