net.ontopia.topicmaps.webed.impl.basic
Class FieldInformation

java.lang.Object
  extended by net.ontopia.topicmaps.webed.impl.basic.FieldInformation
All Implemented Interfaces:
FieldInformationIF

public class FieldInformation
extends java.lang.Object
implements FieldInformationIF

INTERNAL: Default implementation of the FieldInformationIF interface.


Field Summary
protected  java.lang.String columns
           
protected  java.lang.String maxlength
           
protected  java.lang.String name
           
protected  java.lang.String rows
           
protected  java.lang.String type
           
 
Constructor Summary
FieldInformation(java.lang.String name, java.lang.String type, java.lang.String maxlength, java.lang.String columns, java.lang.String rows)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getColumns()
          INTERNAL: Gets the number of character columns for this field.
 java.lang.String getMaxLength()
          INTERNAL: Gets the maximum number of characters allowed for this field to be typed in by the user.
 java.lang.String getName()
          INTERNAL: Gets the name of the input field.
 java.lang.String getRows()
          INTERNAL: Gets the number of rows for this field.
 java.lang.String getType()
          INTERNAL: Gets the type of the input field.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

type

protected java.lang.String type

maxlength

protected java.lang.String maxlength

columns

protected java.lang.String columns

rows

protected java.lang.String rows
Constructor Detail

FieldInformation

public FieldInformation(java.lang.String name,
                        java.lang.String type,
                        java.lang.String maxlength,
                        java.lang.String columns,
                        java.lang.String rows)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: FieldInformationIF
INTERNAL: Gets the name of the input field.

Specified by:
getName in interface FieldInformationIF

getType

public java.lang.String getType()
Description copied from interface: FieldInformationIF
INTERNAL: Gets the type of the input field. Allowed values are "text" (default) and "textarea".

Specified by:
getType in interface FieldInformationIF

getMaxLength

public java.lang.String getMaxLength()
Description copied from interface: FieldInformationIF
INTERNAL: Gets the maximum number of characters allowed for this field to be typed in by the user.

Specified by:
getMaxLength in interface FieldInformationIF

getColumns

public java.lang.String getColumns()
Description copied from interface: FieldInformationIF
INTERNAL: Gets the number of character columns for this field.

Specified by:
getColumns in interface FieldInformationIF

getRows

public java.lang.String getRows()
Description copied from interface: FieldInformationIF
INTERNAL: Gets the number of rows for this field.

Specified by:
getRows in interface FieldInformationIF

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2012 Ontopia.