net.sf.jasperreports.engine.base
Class JRBaseField

java.lang.Object
  extended bynet.sf.jasperreports.engine.base.JRBaseField
All Implemented Interfaces:
JRField, java.io.Serializable
Direct Known Subclasses:
JRDesignField

public class JRBaseField
extends java.lang.Object
implements JRField, java.io.Serializable

Version:
$Id: JRBaseField.java,v 1.24 2005/09/07 13:58:25 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
protected  java.lang.String description
           
protected  java.lang.String name
           
protected  java.lang.Class valueClass
           
protected  java.lang.String valueClassName
           
 
Constructor Summary
protected JRBaseField()
           
protected JRBaseField(JRField field, JRBaseObjectFactory factory)
           
 
Method Summary
 java.lang.String getDescription()
          Gets the field optional description.
 java.lang.String getName()
          Gets the field unique name.
 java.lang.Class getValueClass()
          Gets the field value class.
 java.lang.String getValueClassName()
          Gets the field value class name.
 void setDescription(java.lang.String description)
          Sets the field description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

description

protected java.lang.String description

valueClassName

protected java.lang.String valueClassName

valueClass

protected transient java.lang.Class valueClass
Constructor Detail

JRBaseField

protected JRBaseField()

JRBaseField

protected JRBaseField(JRField field,
                      JRBaseObjectFactory factory)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: JRField
Gets the field unique name.

Specified by:
getName in interface JRField

getDescription

public java.lang.String getDescription()
Description copied from interface: JRField
Gets the field optional description.

Specified by:
getDescription in interface JRField

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: JRField
Sets the field description.

Specified by:
setDescription in interface JRField

getValueClass

public java.lang.Class getValueClass()
Description copied from interface: JRField
Gets the field value class. Field types cannot be primitives.

Specified by:
getValueClass in interface JRField

getValueClassName

public java.lang.String getValueClassName()
Description copied from interface: JRField
Gets the field value class name.

Specified by:
getValueClassName in interface JRField


© 2001-2005 JasperSoft Corporation www.jaspersoft.com