Esempio n. 1
0
 static CuisineCodeImpl getCuisineCode(Resource resource, Model model) throws JastorException {
   if (!model.contains(resource, RDF.type, CuisineCode.TYPE)) return null;
   return new CuisineCodeImpl(resource, model);
 }
Esempio n. 2
0
 static ClassificationImpl getClassification(Resource resource, Model model)
     throws JastorException {
   if (!model.contains(resource, RDF.type, Classification.TYPE)) return null;
   return new ClassificationImpl(resource, model);
 }
 static ExtendedUserBehaviourImpl getExtendedUserBehaviour(Resource resource, Model model)
     throws JastorException {
   if (!model.contains(resource, RDF.type, ExtendedUserBehaviour.TYPE)) return null;
   return new ExtendedUserBehaviourImpl(resource, model);
 }
Esempio n. 4
0
 static AlcoholCodeImpl getAlcoholCode(Resource resource, Model model) throws JastorException {
   if (!model.contains(resource, RDF.type, AlcoholCode.TYPE)) return null;
   return new AlcoholCodeImpl(resource, model);
 }