/** * Sets a <code>boolean</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a boolean */ public void setBoolean(int tagType, boolean value) { setObject(tagType, value); }
/** * Sets an <code>int</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as an int */ public void setInt(int tagType, int value) { setObject(tagType, value); }
/** * Sets a <code>double</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a double */ public void setDouble(int tagType, double value) { setObject(tagType, value); }
/** * Sets a <code>float</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a float */ public void setFloat(int tagType, float value) { setObject(tagType, value); }
/** * Sets a <code>long</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a long */ public void setLong(int tagType, long value) { setObject(tagType, value); }
/** * Sets a <code>Rational</code> value for the specified tag. * * @param tagType the tag's value as an int * @param rational rational number */ public void setRational(int tagType, @NotNull Rational rational) { setObject(tagType, rational); }
/** * Sets a <code>java.util.Date</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a java.util.Date */ public void setDate(int tagType, @NotNull java.util.Date value) { setObject(tagType, value); }
/** * Sets an array <code>Object</code> for the specified tag. * * @param tagType the tag's value as an int * @param array the array of values for the specified tag */ public void setObjectArray(int tagType, @NotNull Object array) { // for now, we don't do anything special -- this method might be a candidate for removal once the dust settles setObject(tagType, array); }
/** * Sets a <code>String</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a String */ @java.lang.SuppressWarnings({ "ConstantConditions" }) public void setString(int tagType, @NotNull String value) { if (value == null) throw new NullPointerException("cannot set a null String"); setObject(tagType, value); }
/** * Sets a <code>StringValue</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a StringValue */ @java.lang.SuppressWarnings({ "ConstantConditions" }) public void setStringValue(int tagType, @NotNull StringValue value) { if (value == null) throw new NullPointerException("cannot set a null StringValue"); setObject(tagType, value); }
/** * Sets a <code>float</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a float */ public void setFloat(int tagType, float value) { setObject(tagType, value); }
/** * Sets a <code>boolean</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a boolean */ public void setBoolean(int tagType, boolean value) { setObject(tagType, value); }
/** * Sets a <code>long</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a long */ public void setLong(int tagType, long value) { setObject(tagType, value); }
/** * Sets an <code>int</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as an int */ public void setInt(int tagType, int value) { setObject(tagType, value); }
/** * Sets a <code>double</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a double */ public void setDouble(int tagType, double value) { setObject(tagType, value); }
/** * Sets a <code>java.util.Date</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a java.util.Date */ public void setDate(int tagType, @NotNull java.util.Date value) { setObject(tagType, value); }
/** * Sets an array <code>Object</code> for the specified tag. * * @param tagType the tag's value as an int * @param array the array of values for the specified tag */ public void setObjectArray(int tagType, @NotNull Object array) { // for now, we don't do anything special -- this method might be a candidate for removal once the dust settles setObject(tagType, array); }
/** * Sets a <code>Rational</code> value for the specified tag. * * @param tagType the tag's value as an int * @param rational rational number */ public void setRational(int tagType, @NotNull Rational rational) { setObject(tagType, rational); }
/** * Sets a <code>String</code> value for the specified tag. * * @param tagType the tag's value as an int * @param value the value for the specified tag as a String */ @java.lang.SuppressWarnings({ "ConstantConditions" }) public void setString(int tagType, @NotNull String value) { if (value == null) throw new NullPointerException("cannot set a null String"); setObject(tagType, value); }