/** * Returns a new builder to build an additional value of the "HighlightFields" property. * Use {@link org.finra.herd.model.dto.IndexSearchHighlightField.Builder#end()} to return to the current builder. * * @return * a new builder to build an additional value of the "HighlightFields" property. * Use {@link org.finra.herd.model.dto.IndexSearchHighlightField.Builder#end()} to return to the current builder. */ public IndexSearchHighlightField.Builder<? extends IndexSearchHighlightFields.Builder<_B>> addHighlightFields() { if (this.highlightFields == null) { this.highlightFields = new ArrayList<IndexSearchHighlightField.Builder<IndexSearchHighlightFields.Builder<_B>>>(); } final IndexSearchHighlightField.Builder<IndexSearchHighlightFields.Builder<_B>> highlightFields_Builder = new IndexSearchHighlightField.Builder<IndexSearchHighlightFields.Builder<_B>>(this, null, false); this.highlightFields.add(highlightFields_Builder); return highlightFields_Builder; }
/** * Adds the given items to the value of "highlightFields" * * @param highlightFields * Items to add to the value of the "highlightFields" property */ public IndexSearchHighlightFields.Builder<_B> addHighlightFields(final Iterable<? extends IndexSearchHighlightField> highlightFields) { if (highlightFields!= null) { if (this.highlightFields == null) { this.highlightFields = new ArrayList<IndexSearchHighlightField.Builder<IndexSearchHighlightFields.Builder<_B>>>(); } for (IndexSearchHighlightField _item: highlightFields) { this.highlightFields.add(new IndexSearchHighlightField.Builder<IndexSearchHighlightFields.Builder<_B>>(this, _item, false)); } } return this; }
public static IndexSearchHighlightField.Builder<Void> builder() { return new IndexSearchHighlightField.Builder<Void>(null, null, false); }
public<_B >IndexSearchHighlightField.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new IndexSearchHighlightField.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); }
public<_B >IndexSearchHighlightField.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new IndexSearchHighlightField.Builder<_B>(_parentBuilder, this, true); }
public static<_B >IndexSearchHighlightField.Builder<_B> copyOf(final IndexSearchHighlightField _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final IndexSearchHighlightField.Builder<_B> _newBuilder = new IndexSearchHighlightField.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; }
public static<_B >IndexSearchHighlightField.Builder<_B> copyOf(final IndexSearchHighlightField _other) { final IndexSearchHighlightField.Builder<_B> _newBuilder = new IndexSearchHighlightField.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; }