liquibase.util
Class ObjectUtil

java.lang.Object
  extended by liquibase.util.ObjectUtil

public class ObjectUtil
extends Object


Constructor Summary
ObjectUtil()
           
 
Method Summary
static Object getProperty(Object object, String propertyName)
           
static Class getPropertyType(Object object, String propertyName)
           
static boolean hasProperty(Object object, String propertyName)
           
static boolean hasReadProperty(Object object, String propertyName)
           
static boolean hasWriteProperty(Object object, String propertyName)
           
static void setProperty(Object object, String propertyName, Object propertyValue)
           
static void setProperty(Object object, String propertyName, String propertyValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectUtil

public ObjectUtil()
Method Detail

getProperty

public static Object getProperty(Object object,
                                 String propertyName)
                          throws IllegalAccessException,
                                 InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException

getPropertyType

public static Class getPropertyType(Object object,
                                    String propertyName)

hasProperty

public static boolean hasProperty(Object object,
                                  String propertyName)

hasReadProperty

public static boolean hasReadProperty(Object object,
                                      String propertyName)

hasWriteProperty

public static boolean hasWriteProperty(Object object,
                                       String propertyName)

setProperty

public static void setProperty(Object object,
                               String propertyName,
                               String propertyValue)

setProperty

public static void setProperty(Object object,
                               String propertyName,
                               Object propertyValue)


Copyright © 2016 Liquibase.org. All rights reserved.