/*******************************************************************************
 * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Distribution License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *******************************************************************************/
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.ValueFactory;
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;

/**
 * Constants for DOAP primitives and for the DOAP namespace.
 */
public class DOAP {

	public static final String NAMESPACE = "http://usefulinc.com/ns/doap#";

	/**
	 * Classes
	 */

	public final static IRI PROJECT;

	public final static IRI VERSION;

	/**
	 * Properties
	 */

	public final static IRI NAME;

	public final static IRI HOMEPAGE;

	public final static IRI OLD_HOMEPAGE;

	public final static IRI LICENSE;

	public final static IRI DESCRIPTION;

	public final static IRI PROGRAMMING_LANGUAGE;

	public final static IRI IMPLEMENTS;

	public final static IRI CATEGORY;

	public final static IRI DOWNLOAD_PAGE;

	public final static IRI MAILING_LIST;

	public final static IRI BUG_DATABASE;

	public final static IRI BLOG;

	public final static IRI DEVELOPER;

	public final static IRI MAINTAINER;

	public final static IRI DOCUMENTER;

	public final static IRI RELEASE;

	public final static IRI CREATED;

	static {
		ValueFactory factory = SimpleValueFactory.getInstance();
		PROJECT = factory.createIRI(DOAP.NAMESPACE, "Project");
		VERSION = factory.createIRI(DOAP.NAMESPACE, "Version");

		NAME = factory.createIRI(DOAP.NAMESPACE, "name");
		HOMEPAGE = factory.createIRI(DOAP.NAMESPACE, "homepage");
		OLD_HOMEPAGE = factory.createIRI(DOAP.NAMESPACE, "old-homepage");
		LICENSE = factory.createIRI(DOAP.NAMESPACE, "license");
		DESCRIPTION = factory.createIRI(DOAP.NAMESPACE, "description");
		PROGRAMMING_LANGUAGE = factory.createIRI(DOAP.NAMESPACE, "programming-language");
		IMPLEMENTS = factory.createIRI(DOAP.NAMESPACE, "implements");
		CATEGORY = factory.createIRI(DOAP.NAMESPACE, "category");
		DOWNLOAD_PAGE = factory.createIRI(DOAP.NAMESPACE, "download-page");
		MAILING_LIST = factory.createIRI(DOAP.NAMESPACE, "mailing-list");
		BUG_DATABASE = factory.createIRI(DOAP.NAMESPACE, "bug-database");
		BLOG = factory.createIRI(DOAP.NAMESPACE, "blog");
		DEVELOPER = factory.createIRI(DOAP.NAMESPACE, "developer");
		MAINTAINER = factory.createIRI(DOAP.NAMESPACE, "maintainer");
		DOCUMENTER = factory.createIRI(DOAP.NAMESPACE, "documenter");
		RELEASE = factory.createIRI(DOAP.NAMESPACE, "release");
		CREATED = factory.createIRI(DOAP.NAMESPACE, "created");
	}
}

@@ -763,80 +763,427 @@
 %7B%0A%0A%09
-public static final String NAMESPACE = %22http://usefulinc.com/ns/doap#%22;%0A
+/**%0A%09 * The recommended prefix for the DOAP namespace: %22doap%22%0A%09 */%0A%09public static final String PREFIX = %22doap%22;%0A%09%0A%09/**%0A%09 * The DOAP namespace: http://usefulinc.com/ns/doap#%0A%09 */%0A%09public static final String NAMESPACE = %22http://usefulinc.com/ns/doap#%22;%0A%0A%09/**%0A%09 * An immutable %7B@link Namespace%7D constant that represents the DOAP namespace.%0A%09 */%0A%09public static final Namespace NS = new SimpleNamespace(PREFIX, NAMESPACE);%0A%09
 %0A%09/*

update DOAP.java with default prefix