code: public static Object extract(final DeviceAttribute da) throws DevFailed {
  	if (da == null) {
  		throw DevFailedUtils.newDevFailed(ERROR_MSG_DA);
  	}
  	return InsertExtractFactory.getAttributeExtractor(da.getType()).extract(da);
      }
docs: Extract read and write part values to an object for SCALAR, SPECTRUM and IMAGE
  
  @param da
  @return array of primitives for SCALAR, array of primitives for SPECTRUM, array of primitives array of primitives
  for IMAGE
  @throws DevFailed