public class Expando extends GroovyObjectSupport
Represents a dynamically expandable bean.
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            protected Map | 
                            createMap()Factory method to create a new Map used to store the expando properties map  | 
                        
 | 
                            public boolean | 
                            equals(Object obj)This allows equals to be overridden by a closure field method attached to the expando object.  | 
                        
 | 
                            public List | 
                            getMetaPropertyValues() | 
                        
 | 
                            public Map | 
                            getProperties()
  | 
                        
 | 
                            public Object | 
                            getProperty(String property) | 
                        
 | 
                            public int | 
                            hashCode()This allows hashCode to be overridden by a closure field method attached to the expando object.  | 
                        
 | 
                            public Object | 
                            invokeMethod(String name, Object args) | 
                        
 | 
                            public void | 
                            setProperty(String property, Object newValue) | 
                        
 | 
                            public String | 
                            toString()This allows toString to be overridden by a closure field method attached to the expando object.  | 
                        
| Methods inherited from class | Name | 
|---|---|
class GroovyObjectSupport | 
                            getMetaClass, setMetaClass | 
                        
Factory method to create a new Map used to store the expando properties map
This allows equals to be overridden by a closure field method attached to the expando object.
This allows hashCode to be overridden by a closure field method attached to the expando object.
This allows toString to be overridden by a closure field method attached to the expando object.
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.