com.cc.framework.ui.model
Class InputFieldType

java.lang.Object
  extended bycom.cc.framework.ui.model.InputFieldType
All Implemented Interfaces:
java.io.Serializable, SimpleEnumType

public final class InputFieldType
extends java.lang.Object
implements SimpleEnumType, java.io.Serializable

Enumeration Input-Types

Version:
$Revision: 1.16 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static InputFieldType[] ALL
          Collection with all elements
static InputFieldType CHECKBOX
          InputFieldType: CHECKBOX
static InputFieldType FILE
          InputFieldType: FILE
static InputFieldType HIDDEN
          InputFieldType: HIDDEN
static InputFieldType PASSWORD
          InputFieldType: PASSWORD
static InputFieldType RADIO
          InputFieldType: RADIO
private static long serialVersionUID
          Serial Version UID
static InputFieldType TEXT
          InputFieldType: TEXT
private  java.lang.String type
          Internal Type
 
Constructor Summary
private InputFieldType(java.lang.String type)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static InputFieldType parse(java.lang.String code)
          Creates for the argument an Object of Type InputFieldType
 java.lang.String toString()
          Returns the Type
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

TEXT

public static final InputFieldType TEXT
InputFieldType: TEXT


PASSWORD

public static final InputFieldType PASSWORD
InputFieldType: PASSWORD


FILE

public static final InputFieldType FILE
InputFieldType: FILE


RADIO

public static final InputFieldType RADIO
InputFieldType: RADIO


CHECKBOX

public static final InputFieldType CHECKBOX
InputFieldType: CHECKBOX


HIDDEN

public static final InputFieldType HIDDEN
InputFieldType: HIDDEN


type

private java.lang.String type
Internal Type


ALL

private static final InputFieldType[] ALL
Collection with all elements

Constructor Detail

InputFieldType

private InputFieldType(java.lang.String type)
Constructor

Parameters:
type - Type
Method Detail

toString

public java.lang.String toString()
Returns the Type

Returns:
String

equals

public boolean equals(java.lang.Object obj)
Compares this type to the specified object.

Parameters:
obj - The object to compare this InputFieldType object against.
Returns:
true if the internal types are equal; false otherwise.

hashCode

public int hashCode()
See Also:
Object.hashCode()

parse

public static InputFieldType parse(java.lang.String code)
Creates for the argument an Object of Type InputFieldType

Parameters:
code - String to parse
Returns:
InputFieldType


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.