public static int copyProperty ( final Object dst , final Object src , final String propertyName ) { int count = 0 ; if ( isPropertyGettable ( src , propertyName ) && isPropertySettable ( dst , propertyName ) ) { Object value = getProperty ( src , propertyName ) ; setProperty ( dst , propertyName , value ) ; count ++ ; } return count ; }
Copies the property from the object to the other object .