I'm trying to update to the latest TBC and SPIN libraries and had the following
questions pertaining to changes in the SPIN API:
1. The QueryWrapper constructor has changed and I'm not sure what to pass in
for the statement and thisUnbound parameters:
QueryWrapper(Query query, String text, org.topbraid.spin.model.Query spinQuery,
String label, Statement statement, boolean thisUnbound)
2. In the org.topbraid.spin.vocabulary.SPIN class I used to use the below
function:
public static int getRuleIndex(Resource rule) {
Statement s = rule.getProperty(SPIN.ruleIndex);
if(s != null && s.getObject().isLiteral()) {
return s.getInt();
}
else {
return 100000;
}
After updating my SPIN library it's now gone. However, this might have been
something I added to my local copy. If not, is there an alternate function I
can use now?
Thanks,
Jeff
--
You received this message because you are subscribed to the Google Groups
"TopBraid Composer Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/topbraid-composer-users?hl=en.