@org.simplemes.eframe.domain.annotation.DomainEntity @io.micronaut.data.annotation.MappedEntity(value: lsn_oper_state) @java.lang.SuppressWarnings(value: unused) @groovy.transform.ToString(includeNames: true, includePackage: false) @groovy.transform.EqualsAndHashCode(includes: [lsn, sequence]) class LSNOperState extends java.lang.Object implements WorkStateTrait, WorkableInterface
This object holds the work state of an operation for an LSN.
This Work State contains the quantities in queue, work and done. This object also implements the WorkableInterface to encapsulate the process of working on various objects.Type | Name and description |
---|---|
private java.util.Date |
dateCreated |
private java.util.Date |
dateFirstQueued The date/time any quantity was first queued at this point (operation or top-level). |
private java.util.Date |
dateFirstStarted The date/time any quantity was first started at this point (operation or top-level). |
private java.util.Date |
dateQtyQueued The date/time any quantity was queued at this point (operation or top-level). |
private java.util.Date |
dateQtyStarted The date/time any quantity was started at this point (operation or top-level). |
private java.util.Date |
dateUpdated |
private java.lang.String |
fields The custom field holder. |
private LSN |
lsn This operation state always belongs to a single LSN. |
private BigDecimal |
qtyDone The number of pieces to completed (done) on this object. |
private BigDecimal |
qtyInQueue The number of pieces waiting to be worked (in queue) for this object. |
private BigDecimal |
qtyInWork The number of pieces actively in work for this object. |
private int |
sequence A copy of the sequence for the operation this state applies to. |
private java.util.UUID |
uuid |
private java.lang.Integer |
version |
Constructor and description |
---|
LSNOperState
() The empty constructor. |
LSNOperState
(OperationTrait operation) A copy constructor to copy the operation info from another operation. |
LSNOperState
() |
Type Params | Return Type | Name and description |
---|---|---|
|
WorkableInterface |
determineNextWorkable() Determines the next workable to be performed after this workable is completed. |
|
void |
saveChanges() Saves any changes to this record. |
|
java.lang.String |
toString() Provides a human readable string for this object. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The date/time any quantity was first queued at this point (operation or top-level).
WorkStateTrait field.The date/time any quantity was first started at this point (operation or top-level).
WorkStateTrait field.The date/time any quantity was queued at this point (operation or top-level). Can be null if the nothing is in queue.
WorkStateTrait field.The date/time any quantity was started at this point (operation or top-level). Can be null if the nothing is in work.
WorkStateTrait field.The custom field holder.
This operation state always belongs to a single LSN.
The number of pieces to completed (done) on this object.
WorkStateTrait field.The number of pieces waiting to be worked (in queue) for this object.
WorkStateTrait field.The number of pieces actively in work for this object.
WorkStateTrait field.A copy of the sequence for the operation this state applies to.
The empty constructor.
A copy constructor to copy the operation info from another operation.
operation
- The routing to copy from.Determines the next workable to be performed after this workable is completed. This operation state delegates to the order/routing to figure this out.
Saves any changes to this record.
Provides a human readable string for this object.
Groovy Documentation