project35.mda.model
Class BooleanFieldModel

java.lang.Object
  extended by project35.mda.model.DataFieldModel
      extended by project35.mda.model.EditFieldModel
          extended by project35.mda.model.GroupFieldModel
              extended by project35.mda.model.BooleanFieldModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class BooleanFieldModel
extends GroupFieldModel

a group field model where the choices are constrained to be true or false.


Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.

Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net), code contributions from 2002 - September 30, 2007.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class project35.mda.model.DataFieldModel
containingRecord, isAttribute, isRequiredField
 
Constructor Summary
BooleanFieldModel()
           
 
Method Summary
 java.lang.Object clone()
           
 boolean getBooleanValue()
           
 void setBooleanValue(boolean value)
           
 void setValue(java.lang.String value)
          Set the value of value.
 
Methods inherited from class project35.mda.model.GroupFieldModel
getChoices, populateCloneAttributes, setChoices
 
Methods inherited from class project35.mda.model.EditFieldModel
addEditFieldValidationService, getDefaultValue, getEditFieldValidationServices, getUnits, getValue, isDisplayNameComponent, populateCloneAttributes, setDefaultValue, setDisplayNameComponent, setEditFieldValidationServices, setRequiredField, setUnits
 
Methods inherited from class project35.mda.model.DataFieldModel
getContainingRecord, getContainingRecordClassName, getFieldViewType, getHelpLink, getName, getNameSpacePrefix, getToolTip, isAttribute, isContent, isRequiredField, populateCloneAttributes, setAttribute, setContainingRecord, setContent, setFieldViewType, setHelpLink, setName, setNameSpacePrefix, setToolTipText, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanFieldModel

public BooleanFieldModel()
Method Detail

getBooleanValue

public boolean getBooleanValue()

setBooleanValue

public void setBooleanValue(boolean value)

setValue

public void setValue(java.lang.String value)
Description copied from class: EditFieldModel
Set the value of value. assumes that whatever calls this model method has already checked to see if it is in fact a different value than before

Overrides:
setValue in class EditFieldModel
Parameters:
value - the field value, which should be either "true" or "false".

clone

public java.lang.Object clone()
Overrides:
clone in class GroupFieldModel