com.arsdigita.formbuilder
Class AttributeType

java.lang.Object
  extended bycom.arsdigita.formbuilder.AttributeType

public class AttributeType
extends Object

This class contains the attribute data type that are used for form generation by the Form Builder.

Version:
$Id: //core-platform/dev/src/com/arsdigita/formbuilder/AttributeType.java#9 $
Author:
Peter Marklund

Field Summary
static AttributeType DATE
           
static AttributeType INTEGER
          Standard attribute types
static AttributeType TEXT
           
static String versionId
           
 
Constructor Summary
AttributeType(Class parameterModelClass)
           
 
Method Summary
 void addValidationListener(ParameterListener validationListener)
          Note that a not null validation listener needs not be added here.
 Class getParameterModelClass()
           
 List getValidationListeners()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

INTEGER

public static AttributeType INTEGER
Standard attribute types


TEXT

public static AttributeType TEXT

DATE

public static AttributeType DATE
Constructor Detail

AttributeType

public AttributeType(Class parameterModelClass)
Method Detail

getParameterModelClass

public Class getParameterModelClass()

addValidationListener

public void addValidationListener(ParameterListener validationListener)
Note that a not null validation listener needs not be added here. If the attribute is required a NotEmptyValidationListener will be added to to the widget.


getValidationListeners

public List getValidationListeners()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC