/** * @since 0.26 * @deprecated in 0.33 use integer constants in {@link KeyInfo} instead. For example * <code> KeyInfo.newBuilder().setWritable(true).setReadable(true).build()</code> * becomes <code> * {@link #READABLE READABLE} | {@link #MODIFIABLE MODIFIABLE} | {@link #INSERTABLE * INSERTABLE}</code> */ @Deprecated public static Builder newBuilder() { return new KeyInfo().new Builder(); }
/** * Set removability flag. * * @since 0.32 */ public Builder setRemovable(boolean removable) { setBit(5, removable); return this; }
/** * Set internal attribute flag. * * @since 0.26 */ public Builder setInternal(boolean readable) { setBit(4, readable); return this; }
/** * Set readability flag. * * @since 0.26 */ public Builder setReadable(boolean readable) { setBit(1, readable); return this; }
/** * Set internal attribute flag. * * @since 0.26 */ public Builder setInternal(boolean readable) { setBit(4, readable); return this; }
/** * Set readability flag. * * @since 0.26 */ public Builder setReadable(boolean readable) { setBit(1, readable); return this; }
/** * Set invocability flag. * * @since 0.26 */ public Builder setInvocable(boolean readable) { setBit(3, readable); return this; }
/** * Set writability flag. * * @since 0.26 */ public Builder setWritable(boolean readable) { setBit(2, readable); return this; }
/** * Set writability flag. * * @since 0.26 */ public Builder setWritable(boolean readable) { setBit(2, readable); return this; }
/** * @since 0.26 * @deprecated in 0.33 use integer constants in {@link KeyInfo} instead. For example * <code> KeyInfo.newBuilder().setWritable(true).setReadable(true).build()</code> * becomes <code> * {@link #READABLE READABLE} | {@link #MODIFIABLE MODIFIABLE} | {@link #INSERTABLE * INSERTABLE}</code> */ @Deprecated public static Builder newBuilder() { return new KeyInfo().new Builder(); }
/** * Set invocability flag. * * @since 0.26 */ public Builder setInvocable(boolean readable) { setBit(3, readable); return this; }
/** * Set removability flag. * * @since 0.32 */ public Builder setRemovable(boolean removable) { setBit(5, removable); return this; }