ALBPM Process API

fuego.papi
Enum ViewType

java.lang.Object
  extended by java.lang.Enum<ViewType>
      extended by fuego.papi.ViewType
All Implemented Interfaces:
fuego.resources.Internationalizable, Serializable, Comparable<ViewType>

public enum ViewType
extends Enum<ViewType>
implements fuego.resources.Internationalizable


Enum Constant Summary
ACTIVITY_INSTANCES
           
APPLICATIONS
           
ATTACHMENTS
           
BOOKMARKS
           
CONSULTATIONS
           
FOLDER
           
HISTORY
           
INSTANCES
           
 
Method Summary
static ViewType fixOldViewType(String viewTypeStr)
           
 int getIn()
           
 fuego.resources.Msg getMsg()
           
 String getString()
           
 String getString(Locale locale)
           
 boolean isBookmark()
           
 boolean isConsultation()
           
 boolean isHistory()
           
static boolean isSubtype(ViewType son, ViewType parent)
           
 boolean isType(ViewType viewType)
           
static ViewType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ViewType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

APPLICATIONS

public static final ViewType APPLICATIONS

ATTACHMENTS

public static final ViewType ATTACHMENTS

INSTANCES

public static final ViewType INSTANCES

ACTIVITY_INSTANCES

public static final ViewType ACTIVITY_INSTANCES

FOLDER

public static final ViewType FOLDER

HISTORY

public static final ViewType HISTORY

BOOKMARKS

public static final ViewType BOOKMARKS

CONSULTATIONS

public static final ViewType CONSULTATIONS
Method Detail

values

public static final ViewType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ViewType c : ViewType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ViewType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

getString

public String getString()
Specified by:
getString in interface fuego.resources.Internationalizable

getString

public String getString(Locale locale)

isSubtype

public static final boolean isSubtype(ViewType son,
                                      ViewType parent)

isType

public boolean isType(ViewType viewType)

getIn

public int getIn()

getMsg

public fuego.resources.Msg getMsg()

isBookmark

public boolean isBookmark()

isConsultation

public boolean isConsultation()

isHistory

public boolean isHistory()

fixOldViewType

public static ViewType fixOldViewType(@NonNls
                                      String viewTypeStr)

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved