public class

WebBeanUtils

extends Object
java.lang.Object
   ↳ com.microstrategy.web.beans.WebBeanUtils

Class Overview

This class provides some utility functions for the bean package.

Summary

Nested Classes
class WebBeanUtils.SimpleRequestKeys  
Constants
int FIELD_NAME_SEPARATOR_CHAR
Public Constructors
WebBeanUtils()
Public Methods
static ObjectBean getObjectBean(WebObjectInfo _target, WebBean parentBean)
static String getObjectTypeName(BeanContext beanContext, WebObjectInfo obj)
Returns a localized string with the object type name
static String getObjectTypeName(BeanContext beanContext, int type, int subType)
static Object getStaticFieldValue(String fieldName)
Returns the integer value of a public static field of a class or interface.
static int getStaticFieldValueInt(String fieldName)
Returns the integer value of a public static field of a class or interface.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int FIELD_NAME_SEPARATOR_CHAR

Constant Value: 46 (0x0000002e)

Public Constructors

public WebBeanUtils ()

Public Methods

public static ObjectBean getObjectBean (WebObjectInfo _target, WebBean parentBean)

public static String getObjectTypeName (BeanContext beanContext, WebObjectInfo obj)

Returns a localized string with the object type name

Parameters
beanContext BeanContext
obj WebObjectInfo
Returns
  • String

public static String getObjectTypeName (BeanContext beanContext, int type, int subType)

public static Object getStaticFieldValue (String fieldName)

Returns the integer value of a public static field of a class or interface.

Parameters
fieldName the fully qualified name for a public static field.
Returns
  • the value of the static field
Throws
WebBeanException thrown if any error occurs.

public static int getStaticFieldValueInt (String fieldName)

Returns the integer value of a public static field of a class or interface.

Parameters
fieldName the fully qualified name for a public static field.
Returns
  • the value of the static field of type int.
Throws
WebBeanException thrown if any error occurs.