com.sap.tc.webdynpro.progmodel.repository.enums

Class WDViewLifespanEnumInfo

java.lang.Object
  extended bycom.sap.tc.webdynpro.progmodel.repository.enums.WDViewLifespanEnumInfo
Direct Known Subclasses:
WDViewLifespanEnumInfo

public class WDViewLifespanEnumInfo
extends Object

Enumeration for view lifecycle control values.

Type Classification Type Classification:

Applications can call methods on this class. Applications must not extend this class or create instances of it.

For a detailed explanation of API classification see the Web Dynpro Compatibility Guide

Field Summary
static WDViewLifespanEnumInfo FRAMEWORK_CONTROLLED
          A view instance is created like for WHEN_VISIBLE and deleted on a point in time decided by the Web Dynpro framework (but not before it would be deleted in case of WHEN_VISIBLE.
static WDViewLifespanEnumInfo WHEN_VISIBLE
          A view instance is created when it gets part of the view assembly and is deleted, if it is no longer part of the view assembly.
 
Constructor Summary
protected WDViewLifespanEnumInfo(String value)
          Deprecated. This constructor is not part of the API!
 
Method Summary
static Enumeration enumerate()
          Returns an enumeration of the legal values of this enerumeration type.
 String toString()
          Returns the string representation for this enumeration value.
static WDViewLifespanEnumInfo valueOf(String string)
          Returns the enumeration value corresponding to the given string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FRAMEWORK_CONTROLLED

public static final WDViewLifespanEnumInfo FRAMEWORK_CONTROLLED
A view instance is created like for WHEN_VISIBLE and deleted on a point in time decided by the Web Dynpro framework (but not before it would be deleted in case of WHEN_VISIBLE.


WHEN_VISIBLE

public static final WDViewLifespanEnumInfo WHEN_VISIBLE
A view instance is created when it gets part of the view assembly and is deleted, if it is no longer part of the view assembly.

Constructor Detail

WDViewLifespanEnumInfo

protected WDViewLifespanEnumInfo(String value)
Deprecated. This constructor is not part of the API!

Method Detail

enumerate

public static Enumeration enumerate()
Returns an enumeration of the legal values of this enerumeration type.

Returns:
an enumeration of the legal values of this enerumeration type

toString

public String toString()
Returns the string representation for this enumeration value.

Returns:
the string representation for this enumeration value.

valueOf

public static WDViewLifespanEnumInfo valueOf(String string)
Returns the enumeration value corresponding to the given string representation.

Parameters:
string - string representation of an enumeration value
Returns:
the enumeration value corrseponding to the given string representation or null if it does not exist


Copyright 2006 SAP AG Complete Copyright Notice