@DomainEntity @io.micronaut.data.annotation.MappedEntity @groovy.transform.ToString(includeNames: true, excludes: [order]) @groovy.transform.EqualsAndHashCode(includes: [uuid]) @java.lang.SuppressWarnings(value: unused) class OrderLine extends java.lang.Object implements java.lang.Comparable
A sample domain class that simulates an order line item. Fields include: order, sequence, qty, product, notes
Type | Name and description |
---|---|
private static java.lang.Object |
fieldOrder |
private static java.lang.Object |
keys |
private java.lang.String |
notes |
private Order |
order |
private java.lang.String |
product |
private BigDecimal |
qty |
private java.lang.Integer |
sequence |
private java.util.UUID |
uuid |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
compareTo(java.lang.Object o) Compares this object with the specified object for order. |
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() |
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
o
- the object to be compared.Groovy Documentation