[oslc-cm] State predicates

Steve K Speicher sspeiche at us.ibm.com
Fri Jul 23 10:24:35 EDT 2010


> From: Jay Gillibrand/Irvine/IBM at IBMUS
> To: oslc-cm at open-services.net
> Date: 07/22/2010 05:53 PM
> Subject: [oslc-cm] State predicates
> Sent by: oslc-cm-bounces at open-services.net
> 
> I'm looking for clarification on how to use state predicates. I've 
> only seen an example of them in an email, where it said they could 
> be used in a query like "oslc_cm:inprogress=true". Is this correct? 

That is correct, the primary scenario where this is used is query.

> Also, the spec say they should be exposed as read-only properties of
> ChangeRequests. I assume they are boolean properties, right? Should 
> they be included in the default properties of a ChangeRequest (i.e.,
> no oslc.properties param). 

Yes, according to the spec they are read-only and Boolean.

An example of the usage would be:

GET  http://example.com/bugs?oslc.where=oslc_cm:inprogress="true"


Thanks,
Steve Speicher | IBM Rational Software | (919) 254-0645





More information about the Oslc-Cm mailing list