org.jplate.tabular.impl.defaults
Class DefaultField

java.lang.Object
  extended by org.jplate.tabular.impl.defaults.DefaultField
All Implemented Interfaces:
FieldIfc

public class DefaultField
extends java.lang.Object
implements FieldIfc

Default implementation of FieldIfc.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/tabular/impl/defaults/DefaultField.java $
    


Field Summary
private  org.apache.commons.logging.Log _log
          Used for logging.
private  java.lang.String _value
          The value of the field.
 
Constructor Summary
DefaultField()
          Default constructor.
DefaultField(java.lang.String value)
          This constructor sets the value.
 
Method Summary
 java.lang.String getValue()
          Return the field's data.
 void setValue(java.lang.String value)
          Set the field's data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

private final transient org.apache.commons.logging.Log _log
Used for logging.


_value

private java.lang.String _value
The value of the field.

Constructor Detail

DefaultField

public DefaultField(java.lang.String value)
This constructor sets the value.

Parameters:
value - The value of the field.

DefaultField

public DefaultField()
Default constructor.

Method Detail

getValue

public java.lang.String getValue()
Return the field's data.

Specified by:
getValue in interface FieldIfc
Returns:
The field's data.

setValue

public void setValue(java.lang.String value)
Set the field's data.

Specified by:
setValue in interface FieldIfc
Parameters:
value - The field's data.