The get method of SDO uses XPath expressions. In our case, it should be:

company.get("department[number=123 and name='Jack']")

________________________________________________________________ 
Raymond Feng
[email protected]
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________

On May 9, 2010, at 3:51 AM, fuguijie1985 wrote:

> Dear Sir or Madam:
>       I am a developer.I want some tuscany SDO help.In your DataObject 
> comment,I found this method:company.get("department[number=123]") . It's a 
> good method.But would you tell me if I need two or more properties like 
> [number=123 name='Jack'],etc,what could I do? Thank you very much!
> 
> 
> 网易为中小企业免费提供企业邮箱(自主域名)

Reply via email to