com.cc.framework.ui
Class FormMethod

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

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

Enumeration for methods how a form can be submitted.

Since:
1.0
Version:
$Revision: 1.13 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static FormMethod[] ALL
          Collection with all types
static FormMethod GET
          method: GET
private  java.lang.String method
          The internal type
static FormMethod POST
          method: POST
private static long serialVersionUID
          Serial Version UID
 
Constructor Summary
private FormMethod(java.lang.String method)
          Constructor for FormMethod
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static FormMethod parse(java.lang.String code)
          Creates for the argument an object of type FormMethod
 java.lang.String toString()
          Returns a string representation for the object
 
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

GET

public static final FormMethod GET
method: GET


POST

public static final FormMethod POST
method: POST


method

private java.lang.String method
The internal type


ALL

private static final FormMethod[] ALL
Collection with all types

Constructor Detail

FormMethod

private FormMethod(java.lang.String method)
Constructor for FormMethod

Parameters:
method - The method
Method Detail

equals

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

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

hashCode

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

parse

public static FormMethod parse(java.lang.String code)
Creates for the argument an object of type FormMethod

Parameters:
code - String to parse
Returns:
The new Object

toString

public java.lang.String toString()
Returns a string representation for the object

Returns:
The mehode


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