/** * Convenience method returning the value of a boolean property with the * specified ID. If the property is not available, {@code false} is returned. * A subsequent call to {@link #wasNull} will return {@code true} to let the * caller distinguish that case from a real property value of {@code false}. * * @param id The property ID * @return The property value * @throws NoSingleSectionException if the {@link PropertySet} has * more or less than one {@link Section}. */ boolean getPropertyBooleanValue(final int id) throws NoSingleSectionException { return getFirstSection().getPropertyBooleanValue(id); }
/** * Convenience method returning the value of a boolean property with the * specified ID. If the property is not available, {@code false} is returned. * A subsequent call to {@link #wasNull} will return {@code true} to let the * caller distinguish that case from a real property value of {@code false}. * * @param id The property ID * @return The property value * @throws NoSingleSectionException if the {@link PropertySet} has * more or less than one {@link Section}. */ boolean getPropertyBooleanValue(final int id) throws NoSingleSectionException { return getFirstSection().getPropertyBooleanValue(id); }
/** * <p>Convenience method returning the value of a boolean property * with the specified ID. If the property is not available, * <code>false</code> is returned. A subsequent call to {@link * #wasNull} will return <code>true</code> to let the caller * distinguish that case from a real property value of * <code>false</code>.</p> * * @param id The property ID * @return The property value * @throws NoSingleSectionException if the {@link PropertySet} has * more or less than one {@link Section}. */ protected boolean getPropertyBooleanValue(final int id) throws NoSingleSectionException { return getFirstSection().getPropertyBooleanValue(id); }
/** * <p>Convenience method returning the value of a boolean property * with the specified ID. If the property is not available, * <code>false</code> is returned. A subsequent call to {@link * #wasNull} will return <code>true</code> to let the caller * distinguish that case from a real property value of * <code>false</code>.</p> * * @param id The property ID * @return The property value * @throws NoSingleSectionException if the {@link PropertySet} has * more or less than one {@link Section}. */ protected boolean getPropertyBooleanValue(final int id) throws NoSingleSectionException { return getFirstSection().getPropertyBooleanValue(id); }