//(c):Matti Katila package org.fenfire.modules.pp; import com.hp.hpl.mesa.rdf.jena.model.*; import com.hp.hpl.mesa.rdf.jena.common.*; public class PPVocab { public static final String rcsid = "$Id: PPVocab.java,v 1.1 2003/03/07 16:47:21 mudyc Exp $"; public static final boolean dbg = true; protected static void p(String s) { if(dbg) pa(s); } protected static void pa(String s) { System.out.println(s); } // Propertys public Property Contains; public Property CreationTime; public Property CoordX; public Property CoordY; public Property Depth; // Resources public Resource PaperType; public Resource Note; public PPVocab() { String pp_voc = "http://fenfire.org/vocabulary/pp.html"; try { // Propertys Contains = new PropertyImpl(pp_voc+"#contains"); CreationTime = new PropertyImpl(pp_voc + "#creationTime"); CoordX = new PropertyImpl(pp_voc + "#coordX"); CoordY = new PropertyImpl(pp_voc + "#coordY"); Depth = new PropertyImpl(pp_voc + "#depth"); // Resources PaperType = new ResourceImpl(pp_voc + "#paper_type"); Note = new ResourceImpl(pp_voc + "#note"); } catch (RDFException e) { p("Failed: "+e); } } }