Thanks. 
I guess the same applies to org.apache.tuscany.sdo.util.SDOUtil.  We
should be using org.apache.tuscany.sdo.api.SDOUtil?

-----Original Message-----
From: Frank Budinsky [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2007 3:06 PM
To: [email protected]
Subject: Re: DataObjectUtil.getProperty

DataObjectUtil.getProperty() has been renamed 
DataObjectUtil.getInstanceProperty(), but you should never be calling 
either of these internal implementation methods.

The proper SDO API is in commonj.sdo.DataObject:

  /**
   * Returns the named Property from the current instance properties,
   * or null if not found.  The instance properties are 
getInstanceProperties(). 
   * @param propertyName the name of the Property
   * @return the named Property from the DataObject's current instance 
properties, or null.
   */
  Property getInstanceProperty(String propertyName);

Frank.

"Murtaza Goga" <[EMAIL PROTECTED]> wrote on 08/14/2007
02:46:52 
PM:

> What would be the equivalent operation(s) to replace the following
> method which we have been using since the M2 release:
> 
> 
> 
> public static Property getProperty(DataObject dataObject, String
> propertyName)
> 
> 
> 
> Thanks,
> 
> Murtaza
> 
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to