cst.common.businessLayer
Class TextFieldModel

java.lang.Object
  extended by cst.common.businessLayer.AbstractFieldModel
      extended by cst.common.businessLayer.TextFieldModel
All Implemented Interfaces:
java.lang.Cloneable

public class TextFieldModel
extends AbstractFieldModel
implements java.lang.Cloneable

A field which holds a String value. TextFieldModels are used to represent two kinds of concepts in the architecture:


 Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software 
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.  
 

Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Field Summary
 
Fields inherited from class cst.common.businessLayer.AbstractFieldModel
dataStorageName, displayName
 
Constructor Summary
TextFieldModel()
           
 
Method Summary
 java.lang.Object clone()
          performs a deep copy of the field.
 java.lang.String getValue()
           
 void print(java.io.PrintStream out)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class cst.common.businessLayer.AbstractFieldModel
getDataStorageName, getDisplayName, setCloneAttributes, setDataStorageName, setDisplayName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFieldModel

public TextFieldModel()
Method Detail

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set

clone

public java.lang.Object clone()
Description copied from class: AbstractFieldModel
performs a deep copy of the field.

Specified by:
clone in class AbstractFieldModel

print

public void print(java.io.PrintStream out)
Specified by:
print in class AbstractFieldModel