class UniquePropertyEditor<T extends IndexProperty> implements PropertyEditor<T>{

    @Override
    public Stream<Item> fieldsFor(T document) {<FILL_FUNCTION_BODY>}
    
}

        return Stream.of(new SimpleCheckBoxItem(
                "Is Unique", 
                document.uniqueProperty(), 
                "True if elements in this index are unique.",
                editor -> ItemUtil.lockDecorator(editor, document, ItemUtil.DATABASE_RELATION_TOOLTIP)
            )
        );
    
<no_super_class>