org.jcon.data
Class FieldDef

java.lang.Object
  extended by org.jcon.data.FieldDef
All Implemented Interfaces:
java.io.Serializable

public class FieldDef
extends java.lang.Object
implements java.io.Serializable

Field definition for a Record.

See Also:
Serialized Form

Constructor Summary
FieldDef()
          Create a new FieldDef.
FieldDef(java.beans.PropertyDescriptor descriptor)
          Create a new FieldDef to match a PropertyDescriptor.
 
Method Summary
 java.lang.String getDescription()
          Field description.
 java.lang.String getDisplayName()
          Display form of name.
 java.lang.String getName()
          Field name.
 java.util.Map getProperties()
           
 java.lang.Class getType()
          Type of field.
 void setDescription(java.lang.String newDescription)
          Field description.
 void setDisplayName(java.lang.String newDisplayName)
          Display form of name.
 void setName(java.lang.String newName)
          Field name.
 void setProperties(java.util.Map newProperties)
           
 void setType(java.lang.Class newType)
          Type of field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldDef

public FieldDef()
Create a new FieldDef.


FieldDef

public FieldDef(java.beans.PropertyDescriptor descriptor)
Create a new FieldDef to match a PropertyDescriptor.

Method Detail

getDisplayName

public java.lang.String getDisplayName()
Display form of name.


setDisplayName

public void setDisplayName(java.lang.String newDisplayName)
Display form of name.


getName

public java.lang.String getName()
Field name.


setName

public void setName(java.lang.String newName)
Field name.


getDescription

public java.lang.String getDescription()
Field description.


setDescription

public void setDescription(java.lang.String newDescription)
Field description.


getType

public java.lang.Class getType()
Type of field.


setType

public void setType(java.lang.Class newType)
Type of field.


getProperties

public java.util.Map getProperties()

setProperties

public void setProperties(java.util.Map newProperties)