- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 12 Aug 2009 13:15:22 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist In directory hutz:/tmp/cvs-serv22119/src/org/w3c/unicorn/tasklist Modified Files: Tag: dev2 RDFUnmarshallerJena.java Log Message: All initialization actions moved to Framework.java Index: RDFUnmarshallerJena.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/Attic/RDFUnmarshallerJena.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- RDFUnmarshallerJena.java 11 Aug 2009 16:05:40 -0000 1.1.2.1 +++ RDFUnmarshallerJena.java 12 Aug 2009 13:15:20 -0000 1.1.2.2 @@ -4,20 +4,15 @@ // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.tasklist; -import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileReader; import java.io.IOException; import java.net.URL; import java.util.Map; - import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.w3c.unicorn.contract.Observer; import org.w3c.unicorn.tasklist.parameters.Mapping; import org.w3c.unicorn.tasklist.parameters.Parameter; import org.w3c.unicorn.tasklist.parameters.Value; - import com.hp.hpl.jena.rdf.model.Literal; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.ModelFactory; @@ -62,7 +57,7 @@ private static Property PROPERTY_VALUE = null; - public static void init() throws FileNotFoundException { + /*public static void init() throws FileNotFoundException { FileReader fr = new FileReader(org.w3c.unicorn.util.Property .get("TASKLIST_RDF_MODEL")); @@ -97,7 +92,7 @@ RDFUnmarshallerJena.PROPERTY_VALUE = RDFUnmarshallerJena.MODEL .getProperty(RDFUnmarshallerJena.UCN_NAMESPACE + "value"); - } + }*/ private Map<String, Observer> mapOfObserver = null; @@ -398,4 +393,102 @@ this.mapOfTask = mapOfTask; } + + public static Resource getRESOURCE_TASK() { + return RESOURCE_TASK; + } + + public static void setRESOURCE_TASK(Resource rESOURCETASK) { + RESOURCE_TASK = rESOURCETASK; + } + + public static Property getPROPERTY_DESCRIPTION() { + return PROPERTY_DESCRIPTION; + } + + public static void setPROPERTY_DESCRIPTION(Property pROPERTYDESCRIPTION) { + PROPERTY_DESCRIPTION = pROPERTYDESCRIPTION; + } + + public static Property getPROPERTY_HASMAPPING() { + return PROPERTY_HASMAPPING; + } + + public static void setPROPERTY_HASMAPPING(Property pROPERTYHASMAPPING) { + PROPERTY_HASMAPPING = pROPERTYHASMAPPING; + } + + public static Property getPROPERTY_HASPARAMETER() { + return PROPERTY_HASPARAMETER; + } + + public static void setPROPERTY_HASPARAMETER(Property pROPERTYHASPARAMETER) { + PROPERTY_HASPARAMETER = pROPERTYHASPARAMETER; + } + + public static Property getPROPERTY_HASVALUE() { + return PROPERTY_HASVALUE; + } + + public static void setPROPERTY_HASVALUE(Property pROPERTYHASVALUE) { + PROPERTY_HASVALUE = pROPERTYHASVALUE; + } + + public static Property getPROPERTY_LONGNAME() { + return PROPERTY_LONGNAME; + } + + public static void setPROPERTY_LONGNAME(Property pROPERTYLONGNAME) { + PROPERTY_LONGNAME = pROPERTYLONGNAME; + } + + public static Property getPROPERTY_OBSERVER() { + return PROPERTY_OBSERVER; + } + + public static void setPROPERTY_OBSERVER(Property pROPERTYOBSERVER) { + PROPERTY_OBSERVER = pROPERTYOBSERVER; + } + + public static Property getPROPERTY_PARAMETER() { + return PROPERTY_PARAMETER; + } + + public static void setPROPERTY_PARAMETER(Property pROPERTYPARAMETER) { + PROPERTY_PARAMETER = pROPERTYPARAMETER; + } + + public static Property getPROPERTY_REFERENCE() { + return PROPERTY_REFERENCE; + } + + public static void setPROPERTY_REFERENCE(Property pROPERTYREFERENCE) { + PROPERTY_REFERENCE = pROPERTYREFERENCE; + } + + public static Property getPROPERTY_TYPE() { + return PROPERTY_TYPE; + } + + public static void setPROPERTY_TYPE(Property pROPERTYTYPE) { + PROPERTY_TYPE = pROPERTYTYPE; + } + + public static Property getPROPERTY_VALUE() { + return PROPERTY_VALUE; + } + + public static void setPROPERTY_VALUE(Property pROPERTYVALUE) { + PROPERTY_VALUE = pROPERTYVALUE; + } + + public static Model getModel() { + return MODEL; + } + + public static String getUcnNamespace() { + return UCN_NAMESPACE; + } + + }
Received on Wednesday, 12 August 2009 13:15:31 UTC