nl.tudelft.simulation.introspection.beans
Class BeanUtils
java.lang.Object
nl.tudelft.simulation.introspection.beans.BeanUtils
public class BeanUtils
- extends Object
Utility class for bean tests.
(c) copyright 2002-2005-2004 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Since:
- 1.4
- Version:
- 1.1 Apr 15, 2004
- Author:
- Niels
Lang Peter
Jacobs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanUtils
public BeanUtils()
isNull
public static boolean isNull(Object bean,
PropertyDescriptor pd)
- resolves whether the bean is null
- Parameters:
bean
- A bean instance.pd
- A PropertyDescriptor for the property to be examined.
- Returns:
- True, if the value of the property described by 'pd' for the
instance 'bean' is null indeed. Returns false otherwise.
Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.