public Parameters leaves() { if (this.options == null) { this.options = new Options(); } this.options.leaves = true; return this; }
public Parameters noLeaves() { if (this.options == null) { this.options = new Options(); } this.options.leaves = false; return this; }
public Parameters orphan() { if (this.options == null) { this.options = new Options(); } this.options.orphan = true; return this; }
/** * Set queries to not be cacheable. This is the default. * @return this instance, for method chaining */ public Parameters noCache() { if (options == null) { options = new Options(); } options.cacheable = false; return this; }
public Parameters noOrphan() { if (this.options == null) { this.options = new Options(); } this.options.orphan = false; return this; }
/** * Set queries to be cacheable. Use with caution. * @return this instance, for method chaining * @deprecated experimental: may be wholly removed in next major version */ public Parameters cache() { if (options == null) { options = new Options(); } options.cacheable = true; return this; }
public static ome.parameters.Options convert(Options o) { if (o == null) { return null; } ome.parameters.Options options = new ome.parameters.Options(); if (o.orphan != null) { options.orphan = o.orphan.getValue(); } if (o.leaves != null) { options.leaves= o.leaves.getValue(); } if (o.cacheable != null) { options.cacheable = o.cacheable.getValue(); } if (o.acquisitionData != null) { options.acquisitionData = o.acquisitionData.getValue(); } return options; }