Package org.apache.bsf.util

# Class Bean

java.lang.Object
org.apache.bsf.util.Bean

public class Bean extends Object
A Bean is the class used to represent a bean: it holds a type and a value. This is needed because otherwise we can't represent the types of null-valued beans (or primitives) correctly. This was originally in the BML player.

Author:
  Sanjiva Weerawarana

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `Class`
  `type`
  `Object`
  `value`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Bean(Class type, Object value)`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### type

    public Class type

  - ### value

    public Object value

- ## Constructor Details

  - ### Bean

    public Bean(Class type, Object value)