class OrderTypePropertyEditor<T extends HasOrderTypeProperty> implements PropertyEditor<T>{
    
    @Override
    public Stream<Item> fieldsFor(T document) {<FILL_FUNCTION_BODY>}
    
}

        final ObservableList<OrderType> alternatives = 
            FXCollections.observableArrayList(OrderType.values());
        
        return Stream.of(
            new ChoiceBoxItem<>(
                "Order Type",
                document.orderTypeProperty(),
                alternatives,
                "The order in which elements will be considered.",
                editor -> ItemUtil.lockDecorator(editor, document, ItemUtil.DATABASE_RELATION_TOOLTIP)
                
            )
        );
    
<no_super_class>