@groovy.transform.Trait trait OperationTrait extends java.lang.Object implements java.lang.Comparable<OperationTrait>
Defines the common behavior for all operation definition classes (e.g. MasterOperation, a ProductOperation and OrderOperation routing).
Constructor and description |
---|
OperationTrait
() |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
compareTo(OperationTrait o) Compare two operations. |
|
java.lang.String |
getFields() Gets the operation's fields (JSON text). |
|
int |
getSequence() Gets the operation's sequence. |
|
java.lang.String |
getTitle() Gets the operation's title (display text). |
|
java.util.List<ValidationError> |
validateOperation() Validates the record before save. |
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() |
Compare two operations. Determines which should come first. Uses only the sequence for this comparison.
o
- The other operation to compare this one too.Gets the operation's fields (JSON text).
Gets the operation's sequence.
Gets the operation's title (display text).
Validates the record before save.