package org.biomoby.client.rdf.vocabulary;
import java.util.Properties;

import org.biomoby.registry.properties.MobyProperties;

import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.ModelFactory;
import com.hp.hpl.jena.rdf.model.Property;

/*
 * Created on Nov 8, 2004 <p>
 * By Eddie <p>
 */

/**
 * @deprecated Replaced by {@link
 * Predicates}. The reason is that this class was 
 * redundant and ill conceived. From now on the 
 * BioMoby predicates, under the namespace moby,
 * are located in Predicates.java.
 * @author Eddie Kawas
 * <p>For questions, comments, or bugs
 * <p>email me at edward.kawas@gmail.com
 */
public class MobyResources {
    private final static Properties properties = MobyProperties.PROPERTIES();
    private static final String uri = "http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#";
    private static Model _model = ModelFactory.createDefaultModel();
    
    /**
     * @deprecated Replaced by {@link
     * Predicates#Simple}. The reason is that this property
     * should not be under a different RDF document URI
     */
    public static final Property SimpleArticle = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Simple");
    /**
     * @deprecated Replaced by {@link
     * Predicates#articleName}. The reason is that this property
     * is never utilized and is redundant.
     */
    public static final Property CollectionArticle = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#articleName");
    /**
     * @deprecated Replaced by {@link
     * Predicates#Secondary}. The reason is that this property
     * should not be under a different RDF document URI
     */
    public static final Property SecondaryArticle = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Secondary");
    /**
     * @deprecated Replaced by {@link
     * Predicates#Collection}. The reason is that this property
     * should not be under a different RDF document URI
     */
    public static final Property Collection = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Collection");
    public final static String getURI() {
        return uri;
    }
}

