com.cc.framework.http
Class HttpScope

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

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

Defines HTTP scope types used in the common controls framework

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

Field Summary
private static HttpScope[] ALL
          collection with all kinds of HttpScopes
static HttpScope ANY
          HttpScope: Any - no scope specified
static HttpScope APPLICATION
          HttpScope: Application
static HttpScope DIALOG
          HttpScope: Dialog
static HttpScope PAGE
          HttpScope: Page
static HttpScope REQUEST
          HttpScope: Request
private static long serialVersionUID
          Serial Version UID
static HttpScope SESSION
          HttpScope: Session
private  java.lang.String value
          The display value
 
Constructor Summary
private HttpScope(java.lang.String value)
          Constructor for HttpScope
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static HttpScope parse(java.lang.String code)
          Creates for the argument an Object of type HttpScope
 java.lang.String toString()
          Returns the display value
 
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

ANY

public static final HttpScope ANY
HttpScope: Any - no scope specified


SESSION

public static final HttpScope SESSION
HttpScope: Session


REQUEST

public static final HttpScope REQUEST
HttpScope: Request


PAGE

public static final HttpScope PAGE
HttpScope: Page


DIALOG

public static final HttpScope DIALOG
HttpScope: Dialog


APPLICATION

public static final HttpScope APPLICATION
HttpScope: Application


ALL

private static final HttpScope[] ALL
collection with all kinds of HttpScopes


value

private java.lang.String value
The display value

Constructor Detail

HttpScope

private HttpScope(java.lang.String value)
Constructor for HttpScope

Parameters:
value - the display value
Method Detail

equals

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

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

hashCode

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

parse

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

Parameters:
code - String to parse
Returns:
HttpScope

toString

public java.lang.String toString()
Returns the display value

Returns:
the display value


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