public interface HasOrderType extends Document
Document
implementations that implement the
getOrderType()
method.Modifier and Type | Field and Description |
---|---|
static String |
ORDER_TYPE
The key of the
orderType property. |
Modifier and Type | Method and Description |
---|---|
default OrderType |
getOrderType()
Returns the type of the ordering used in this
Document . |
static HasOrderType |
of(Document document)
Returns a wrapper of the specified document that implements the
HasOrderType trait. |
ancestors, children, children, get, getAsBoolean, getAsDouble, getAsInt, getAsLong, getAsString, getData, getParent, put
static final String ORDER_TYPE
orderType
property.default OrderType getOrderType()
Document
. The
orderType
is an enum value located under the ORDER_TYPE
key.static HasOrderType of(Document document)
HasOrderType
trait. If the specified document already implements
the trait, it is returned unwrapped.document
- the document to wrapCopyright © 2017 Speedment, Inc.. All rights reserved.