@groovy.util.logging.Slf4j @java.lang.SuppressWarnings(value: unused) @org.simplemes.eframe.domain.annotation.DomainEntity @io.micronaut.data.annotation.MappedEntity(value: lsn_sequence) @groovy.transform.ToString(includeNames: true, includePackage: false) class LSNSequence extends java.lang.Object implements CodeSequenceTrait
Defines the sequence used to generate new lot/serial numbers (LSN).
The default LSN naming sequence is 'SERIAL'.Type | Name and description |
---|---|
private long |
currentSequence The current sequence. |
private java.util.Date |
dateCreated |
private java.util.Date |
dateUpdated |
private boolean |
defaultSequence If true, then this sequence is the default used for new orders. |
private static java.lang.Object |
fieldOrder Defines the default general field ordering for GUIs and other field listings/reports. |
private java.lang.String |
fields The custom field holder. |
private java.lang.String |
formatString The Format string. |
private static java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
initialDataRecords A list of the records created by the initial data load. |
private java.lang.String |
sequence The primary key for this sequence. |
private java.lang.String |
title The title (short description) of this object. |
private java.util.UUID |
uuid |
private java.lang.Integer |
version |
Constructor and description |
---|
LSNSequence
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static LSNSequence |
findDefaultSequence() Returns the order name sequence that is flagged as the default. |
|
static java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
initialDataLoad() Loads initial naming sequence(s). |
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 current sequence.
If true, then this sequence is the default used for new orders.
Defines the default general field ordering for GUIs and other field listings/reports.
The custom field holder.
The Format string. Supports these replaceable parameters: $currentSequence
A list of the records created by the initial data load. Used only for test cleanup by org.simplemes.eframe.test.BaseSpecification.
The primary key for this sequence.
The title (short description) of this object. This is usually visible users.
Returns the order name sequence that is flagged as the default.
Loads initial naming sequence(s). Default sequence is:
Groovy Documentation