10public class SFBool
extends Field {
15 public SFBool(
boolean value) {
19 public boolean getValue() {
24 public void setValue(
boolean value) {
31 sfBool.__updateRead();
36 public void setValue(SFBool sfBool) {
37 sfBool.__updateRead();
43 public String toString() {
45 return value ?
"TRUE" :
"FALSE";
48 public void __fromPerl(BufferedReader in)
throws IOException {
52 myline = in.readLine();
54 value = (myline.equals(
"TRUE") || myline.equals(
"1"));
60 public void __toPerl(PrintWriter out)
throws IOException {