project35.mda.model
Class GroupFieldModel
java.lang.Object
project35.mda.model.DataFieldModel
project35.mda.model.EditFieldModel
project35.mda.model.GroupFieldModel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- BooleanFieldModel
public class GroupFieldModel
- extends EditFieldModel
A model data structure representing edit fields whose domain is
characterised by a collection of terms.
Copyright (c) 2008 Kevin Garwood for Project35. The original code was
developed by Kevin Garwood for the University of Manchester. Revisions
have been made for Project35, a project that is independent of that
institution. This code is licensed under the Academic Free License
version 3.0. The code attribution for the original code is included here:
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)
- See Also:
- Serialized Form
Methods inherited from class project35.mda.model.EditFieldModel |
addEditFieldValidationService, getDefaultValue, getEditFieldValidationServices, getUnits, getValue, isDisplayNameComponent, populateCloneAttributes, setDefaultValue, setDisplayNameComponent, setEditFieldValidationServices, setRequiredField, setUnits, setValue |
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 |
GroupFieldModel
public GroupFieldModel()
getChoices
public java.lang.String[] getChoices()
- Returns:
- the list of choices available for this field
setChoices
public void setChoices(java.lang.String[] choices)
- sets the possible values for the field
- Parameters:
choices
- list of possible values for the field
populateCloneAttributes
protected void populateCloneAttributes(GroupFieldModel original,
GroupFieldModel copy)
clone
public java.lang.Object clone()
- Overrides:
clone
in class EditFieldModel