nl.gx.webmanager.handler.forms
Interface FormPart


public interface FormPart

The interface represents a simple part of a form definition. It can be used to represent textfields, radio buttons etc.


Method Summary
 java.lang.String getCode()
          Returns the code of the formpart, which uniquely identifies the part.
 int getDataType()
          Return the datatype of this part as defined in FormPartDataType.
 java.lang.String getDescription()
           
 int getId()
          Returns the id of the formpart, which uniquely identifies the part.
 java.util.List getQueryMappings()
          Method to retrieve any associated querymappings.
 ResourceEntry getResourceEntry()
           
 int getType()
          Return the type of this part as defined in FormPartType.
 java.lang.String getXslTag()
           
 

Method Detail

getId

int getId()
Returns the id of the formpart, which uniquely identifies the part.

Returns:
The id of the formpart.

getType

int getType()
Return the type of this part as defined in FormPartType.

Returns:
the type of this formpart.
See Also:
FormPartType

getDataType

int getDataType()
Return the datatype of this part as defined in FormPartDataType.

Returns:
the datatype of this formpart, eg DATATYPE_STRING or DATATYPE_PASSWORD.
See Also:
FormPartDataType

getCode

java.lang.String getCode()
Returns the code of the formpart, which uniquely identifies the part. This code corresponds with the names of the inputs in the actual form.

Returns:
The code of the formpart.

getDescription

java.lang.String getDescription()

getXslTag

java.lang.String getXslTag()

getResourceEntry

ResourceEntry getResourceEntry()

getQueryMappings

java.util.List getQueryMappings()
Method to retrieve any associated querymappings. Typically only used in DBEntryFormHandler

Returns:
a list of QueryMappingImpl objects or null if no QueryMappingImpl objects have been defined


Copyright © 2007-2011 GX Software BV. All Rights Reserved.