KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > vocabulary > DCTypes


1 /*
2  * (c) Copyright 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
3  * [See end of file]
4  */

5
6 /* CVS $Id: DCTypes.java,v 1.5 2005/02/21 12:21:30 andy_seaborne Exp $ */
7 package com.hp.hpl.jena.vocabulary;
8  
9 import com.hp.hpl.jena.rdf.model.*;
10  
11 /**
12  * Vocabulary definitions from vocabularies/dublin-core_types.xml
13  * @author Auto-generated by schemagen on 13 May 2003 08:53
14  */

15 public class DCTypes {
16     /** <p>The RDF model that holds the vocabulary terms</p> */
17     private static Model m_model = ModelFactory.createDefaultModel();
18     
19     /** <p>The namespace of the vocabalary as a string ({@value})</p> */
20     public static final String JavaDoc NS = "http://purl.org/dc/dcmitype/";
21     
22     /** <p>The namespace of the vocabalary as a string</p>
23      * @see #NS */

24     public static String JavaDoc getURI() {return NS;}
25     
26     /** <p>The namespace of the vocabalary as a resource</p> */
27     public static final Resource NAMESPACE = m_model.createResource( NS );
28     
29     /** <p>A collection is an aggregation of items. The term collection means that the
30      * resource is described as a group; its parts may be separately described and
31      * navigated.</p>
32      */

33     public static final Resource Collection = m_model.createResource( "http://purl.org/dc/dcmitype/Collection" );
34     
35     /** <p>A dataset is information encoded in a defined structure (for example, lists,
36      * tables, and databases), intended to be useful for direct machine processing.</p>
37      */

38     public static final Resource Dataset = m_model.createResource( "http://purl.org/dc/dcmitype/Dataset" );
39     
40     /** <p>An event is a non-persistent, time-based occurrence. Metadata for an event
41      * provides descriptive information that is the basis for discovery of the purpose,
42      * location, duration, responsible agents, and links to related events and resources.
43      * The resource of type event may not be retrievable if the described instantiation
44      * has expired or is yet to occur. Examples - exhibition, web-cast, conference,
45      * workshop, open-day, performance, battle, trial, wedding, tea-party, conflagration.</p>
46      */

47     public static final Resource Event = m_model.createResource( "http://purl.org/dc/dcmitype/Event" );
48     
49     /** <p>An image is a primarily symbolic visual representation other than text. For
50      * example - images and photographs of physical objects, paintings, prints, drawings,
51      * other images and graphics, animations and moving pictures, film, diagrams,
52      * maps, musical notation. Note that image may include both electronic and physical
53      * representations.</p>
54      */

55     public static final Resource Image = m_model.createResource( "http://purl.org/dc/dcmitype/Image" );
56     
57     /** <p>An interactive resource is a resource which requires interaction from the
58      * user to be understood, executed, or experienced. For example - forms on web
59      * pages, applets, multimedia learning objects, chat services, virtual reality.</p>
60      */

61     public static final Resource InteractiveResource = m_model.createResource( "http://purl.org/dc/dcmitype/InteractiveResource" );
62     
63     /** <p>A service is a system that provides one or more functions of value to the
64      * end-user. Examples include: a photocopying service, a banking service, an
65      * authentication service, interlibrary loans, a Z39.50 or Web server.</p>
66      */

67     public static final Resource Service = m_model.createResource( "http://purl.org/dc/dcmitype/Service" );
68     
69     /** <p>Software is a computer program in source or compiled form which may be available
70      * for installation non-transiently on another machine. For software which exists
71      * only to create an interactive environment, use interactive instead.</p>
72      */

73     public static final Resource Software = m_model.createResource( "http://purl.org/dc/dcmitype/Software" );
74     
75     /** <p>A sound is a resource whose content is primarily intended to be rendered as
76      * audio. For example - a music playback file format, an audio compact disc,
77      * and recorded speech or sounds.</p>
78      */

79     public static final Resource Sound = m_model.createResource( "http://purl.org/dc/dcmitype/Sound" );
80     
81     /** <p>A text is a resource whose content is primarily words for reading. For example
82      * - books, letters, dissertations, poems, newspapers, articles, archives of
83      * mailing lists. Note that facsimiles or images of texts are still of the genre
84      * text.</p>
85      */

86     public static final Resource Text = m_model.createResource( "http://purl.org/dc/dcmitype/Text" );
87     
88     /** <p>An inanimate, three-dimensional object or substance. For example -- a computer,
89      * the great pyramid, a sculpture. Note that digital representations of, or surrogates
90      * for, these things should use Image, Text or one of the other types.</p>
91      */

92     public static final Resource PhysicalObject = m_model.createResource( "http://purl.org/dc/dcmitype/PhysicalObject" );
93     
94 }
95
96 /*
97  * (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
98  * All rights reserved.
99  *
100  * Redistribution and use in source and binary forms, with or without
101  * modification, are permitted provided that the following conditions
102  * are met:
103  * 1. Redistributions of source code must retain the above copyright
104  * notice, this list of conditions and the following disclaimer.
105  * 2. Redistributions in binary form must reproduce the above copyright
106  * notice, this list of conditions and the following disclaimer in the
107  * documentation and/or other materials provided with the distribution.
108  * 3. The name of the author may not be used to endorse or promote products
109  * derived from this software without specific prior written permission.
110
111  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
112  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
113  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
114  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
115  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
116  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
117  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
118  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
119  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
120  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
121  */

122
Popular Tags