com.hp.hpl.jena.vocabulary
Class JMS

java.lang.Object
  extended by com.hp.hpl.jena.vocabulary.JMS

public class JMS
extends Object

The Jena Model Specification vocabulary, schema, and some conversion methods. See the modelspec and modelspec-details HOWTOs for discussion on how these fit into the ModelSpec design and implementation. TODO ensure these have explicit tests [they were developed implicitly from the ModelSpec tests].

Author:
kers

Field Summary
static String baseURI
          The base URI for all the JMS vocabulary items.
static Property dbClass
          The property of an RDBMakerSpec that gives the string to use for class to load [if any] when making the connection.
static Property dbPassword
          The property of an RDBMakerSpec that gives the string to use for the password when making the connection.
static Property dbType
          The property of an RDBMakerSpec that gives the string to use for the database type when making the connection.
static Property dbURL
          The property of an RDBMakerSpec that gives the string to use for the database URL when making the connection.
static Property dbUser
          The property of an RDBMakerSpec that gives the string to use for the user name when making the connection.
static Resource DefaultModelSpec
          DefaultModelSpec, a dynamic default ModelSpec
static Property docManager
          The property of an OntModelSpec that gives the document manager resource.
static Property fileBase
          The property of a FileMakerSpec that gives the fileBase [root directory] of the FileModelMaker.
static Resource FileMakerSpec
          The class of FileMakerSpec resources [subclass of MakerSpec].
static Property hasRule
          The property of a RuleSet that specifies a rule.
static Property importMaker
          The property of an OntModelSpec that gives the MakerSpec used when manufacturing models for imports.
static Resource InfModelSpec
          The class of InfModelSpec resources [subclass of ModelSpec].
static Property loadWith
          The property of a ModelSpec that specifies the URI(s) from which it is to be loaded when it has been created.
static Property maker
          The property of a ModelSpec that specifies the resource which describes the maker.
static Resource MakerSpec
          The class of MakerSpec resources.
static Resource MemMakerSpec
          The class of MemMakerSpec resources [subclass of MakerSpec].
static Resource ModelSpec
          The class of ModelSpec resources.
static Property ontLanguage
          The property of an OntModelSpec that gives the language URI string.
static Resource OntModelSpec
          The class of OntModelSpec resources [subclass of InfModelSpec].
static Resource PlainModelSpec
          The class of PlainModelSpec resources [subclass of ModelSpec].
static Property policyPath
          The property of a document manager that gives its policy path string.
static Resource RDBMakerSpec
          The class of RDBMakerSpec resources [subclass of MakerSpec].
static Property reasoner
          The property of a ReasonerSpec that gives the resource who's URI is that of the reasoner to use.
static Property reasonsWith
          The property of an InfModelSpec that specifies the ReasonerSpec to use.
static Property reificationMode
          The property of a MakerSpec that gives the reification mode for all its models.
static Resource rsConvenient
          The resource representing reification mode Convenient.
static Resource rsMinimal
          The resource representing reification mode Minimal.
static Resource rsStandard
          The resource representing reification mode Standard.
static Property ruleSet
          The property of a reasoner spec that specifies in-line rule-sets.
static Property ruleSetURL
          The property of a reasoner spec that specifies a rule-set URL.
static Model schema
          The JMS schema encoded into a model.
static Property schemaURL
          The property of a reasoner spec that specifies a schema to load
 
Constructor Summary
JMS()
           
 
Method Summary
static ReificationStyle findStyle(Node style)
          Answer the Reifier.ReificationStyle value named by the argument, which should be a JMS.rs[something] Node
static ReificationStyle findStyle(RDFNode style)
          Answer the Reifier.ReificationStyle value named by the argument, which should be a JMS.rs[something] value
static String getURI()
          Answer the base URI for the JMS vocabulary items.
static Node styleAsJMS(ReificationStyle style)
          Answer the Node which corresponds to the supplied reification style.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseURI

public static final String baseURI
The base URI for all the JMS vocabulary items.

See Also:
Constant Field Values

loadWith

public static final Property loadWith
The property of a ModelSpec that specifies the URI(s) from which it is to be loaded when it has been created.


ontLanguage

public static final Property ontLanguage
The property of an OntModelSpec that gives the language URI string.


docManager

public static final Property docManager
The property of an OntModelSpec that gives the document manager resource.


importMaker

public static final Property importMaker
The property of an OntModelSpec that gives the MakerSpec used when manufacturing models for imports.


reasonsWith

public static final Property reasonsWith
The property of an InfModelSpec that specifies the ReasonerSpec to use.


ruleSetURL

public static final Property ruleSetURL
The property of a reasoner spec that specifies a rule-set URL.


ruleSet

public static final Property ruleSet
The property of a reasoner spec that specifies in-line rule-sets.


schemaURL

public static final Property schemaURL
The property of a reasoner spec that specifies a schema to load


hasRule

public static final Property hasRule
The property of a RuleSet that specifies a rule.


policyPath

public static final Property policyPath
The property of a document manager that gives its policy path string.


dbUser

public static final Property dbUser
The property of an RDBMakerSpec that gives the string to use for the user name when making the connection.


dbPassword

public static final Property dbPassword
The property of an RDBMakerSpec that gives the string to use for the password when making the connection.


dbURL

public static final Property dbURL
The property of an RDBMakerSpec that gives the string to use for the database URL when making the connection.


dbType

public static final Property dbType
The property of an RDBMakerSpec that gives the string to use for the database type when making the connection.


dbClass

public static final Property dbClass
The property of an RDBMakerSpec that gives the string to use for class to load [if any] when making the connection.


maker

public static final Property maker
The property of a ModelSpec that specifies the resource which describes the maker.


reificationMode

public static final Property reificationMode
The property of a MakerSpec that gives the reification mode for all its models.


reasoner

public static final Property reasoner
The property of a ReasonerSpec that gives the resource who's URI is that of the reasoner to use.


fileBase

public static final Property fileBase
The property of a FileMakerSpec that gives the fileBase [root directory] of the FileModelMaker.


MakerSpec

public static final Resource MakerSpec
The class of MakerSpec resources.


FileMakerSpec

public static final Resource FileMakerSpec
The class of FileMakerSpec resources [subclass of MakerSpec].


MemMakerSpec

public static final Resource MemMakerSpec
The class of MemMakerSpec resources [subclass of MakerSpec].


RDBMakerSpec

public static final Resource RDBMakerSpec
The class of RDBMakerSpec resources [subclass of MakerSpec].


ModelSpec

public static final Resource ModelSpec
The class of ModelSpec resources.


DefaultModelSpec

public static final Resource DefaultModelSpec
DefaultModelSpec, a dynamic default ModelSpec


PlainModelSpec

public static final Resource PlainModelSpec
The class of PlainModelSpec resources [subclass of ModelSpec].


InfModelSpec

public static final Resource InfModelSpec
The class of InfModelSpec resources [subclass of ModelSpec].


OntModelSpec

public static final Resource OntModelSpec
The class of OntModelSpec resources [subclass of InfModelSpec].


rsStandard

public static final Resource rsStandard
The resource representing reification mode Standard.


rsMinimal

public static final Resource rsMinimal
The resource representing reification mode Minimal.


rsConvenient

public static final Resource rsConvenient
The resource representing reification mode Convenient.


schema

public static final Model schema
The JMS schema encoded into a model. This defines the subclass hierarchy and the essential domains of the properties. ["Essential" means "relied on by the ModelSpec engines"]. TODO make this model immutable once created.

Constructor Detail

JMS

public JMS()
Method Detail

getURI

public static String getURI()
Answer the base URI for the JMS vocabulary items.


styleAsJMS

public static Node styleAsJMS(ReificationStyle style)
Answer the Node which corresponds to the supplied reification style. [Node, not resource, purely because the use happens in BaseGraphMaker, ie at the Graph level.]

Parameters:
style - the reification style for which the JMS representation is required
Returns:
the Node version of the appropriate JMS.rs[name] vocabulary item

findStyle

public static ReificationStyle findStyle(RDFNode style)
Answer the Reifier.ReificationStyle value named by the argument, which should be a JMS.rs[something] value

Parameters:
style - the JMS name of the reifier style
Returns:
the actual Reifier.ReificationStyle value

findStyle

public static ReificationStyle findStyle(Node style)
Answer the Reifier.ReificationStyle value named by the argument, which should be a JMS.rs[something] Node

Parameters:
style - the JMS name of the reifier style
Returns:
the actual Reifier.ReificationStyle value


Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP