Class 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

      Fields 
      Modifier and Type Field Description
      java.lang.Class type  
      java.lang.Object value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Bean​(java.lang.Class type, java.lang.Object value)  
    • Method Summary

      • 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)