Package org.topbraid.spin.model

Examples of org.topbraid.spin.model.TemplateCall


  Resource queryOrTemplateCall = ontClass.getPropertyResourceValue(property);
 
        org.topbraid.spin.model.Query query = SPINFactory.asQuery(queryOrTemplateCall);
        if (query != null) return getQuery(query.toString(), getRealURI(), qsm);
               
        TemplateCall templateCall = SPINFactory.asTemplateCall(queryOrTemplateCall);
        if (templateCall != null) return getQuery(templateCall.getQueryString(), getRealURI(), qsm);
       
        return null;
    }
View Full Code Here


  Resource updateOrTemplateCall = ontClass.getPropertyResourceValue(ResourceFactory.createProperty(SPIN.NS, "update"));
 
        Update update = SPINFactory.asUpdate(updateOrTemplateCall);
        if (update != null) return getUpdateRequest(update.toString(), resource);

        TemplateCall templateCall = SPINFactory.asTemplateCall(updateOrTemplateCall);
        if (templateCall != null) return getUpdateRequest(templateCall.getQueryString(), resource);
       
        return null;
    }
View Full Code Here

TOP

Related Classes of org.topbraid.spin.model.TemplateCall

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.