59606162636465
* Creates a instance and initializes the value * * @param value The initial value */ public BooleanModel(boolean value) { super(new SimpleType_boolean(value)); }
69707172737475
* * @param value The initial value * @param fieldName The initial field name */ public BooleanModel(boolean value, String fieldName) { super(new SimpleType_boolean(value), fieldName); }
150151152153154155156
* value differs from the new value. * * @param value The new boolean value which is represented by this model. */ public void setBoolean(boolean value) { setValue(new SimpleType_boolean(value)); }
161162163164165166167
* @param text The value as text (true or false) * @throws Exception If the specified String is not interpreted as a legal boolean */ public void setText(String text) throws Exception { setValue(new SimpleType_boolean(text)); }