Sha256: 11184a2174a790282d92e87afa2551ad5de47e9fe0173f4a69cf51d2065b1bfe
Contents?: true
Size: 442 Bytes
Versions: 5
Compression:
Stored size: 442 Bytes
Contents
package org.rsos.openbill.util { import mx.utils.ObjectUtil; public class ValueObjectUtil { public static function updateAttributes (valueObject : Object, object : Object) : void { var attributes : Array = ObjectUtil.getClassInfo ( object ).properties; for each (var attribute : String in attributes) { if ( valueObject.hasOwnProperty (attribute) ) valueObject[attribute] = object[attribute] } } } }
Version data entries
5 entries across 5 versions & 2 rubygems