Bean (Bean Scripting Framework API)
Keywords: org.apache.bsf.util.Bean class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.bsf.util
Class Bean

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

public class Bean
extends java.lang.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
`java.lang.Class` | `type`
`java.lang.Object` | `value`

Constructor Summary
`Bean(java.lang.Class type, java.lang.Object value)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### type

    public java.lang.Class type

### value

    public java.lang.Object value

Constructor Detail

### Bean

    public Bean(java.lang.Class type,
                java.lang.Object value)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD