uk.ac.ic.doc.automed.modelmanagement.modeldef
Class RDFSModelDef
java.lang.Object
uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
uk.ac.ic.doc.automed.modelmanagement.modeldef.RDFSModelDef
public class RDFSModelDef
- extends ModelDef
- Author:
- Andrew Charles Smith - acs203
The model definition for RDF
Constructor Summary |
RDFSModelDef()
Creates a new instance of RDFSModelDef |
Method Summary |
void |
createAutoMedModel()
Create the automed model for RDFS. |
void |
createModel()
Define the RDFS model in the Automed MDR database |
java.lang.String[] |
getFeatureNames()
Return a string list of features supported by this wrapper, where the first
one is bit zero in the feature bit map, second bit one, etc |
Methods inherited from class uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef |
clearFeatures, getAutoMedModel, getAutoMedModelName, getFeatures, getModel, getModelBaseName, getModelName, isFeatureInUse, setFeatures, setFeatures, setModelBaseName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
featureNames
private static final java.lang.String[] featureNames
- Constants
RDFS_MODEL_NAME
public static final java.lang.String RDFS_MODEL_NAME
- See Also:
- Constant Field Values
RDFS_MODEL_CLASS
public static final java.lang.String RDFS_MODEL_CLASS
- See Also:
- Constant Field Values
RDFS_MODEL_PROPERTY
public static final java.lang.String RDFS_MODEL_PROPERTY
- See Also:
- Constant Field Values
RDFS_MODEL_SUBCLASSOF
public static final java.lang.String RDFS_MODEL_SUBCLASSOF
- See Also:
- Constant Field Values
RDFS_MODEL_SUBPROPERTYOF
public static final java.lang.String RDFS_MODEL_SUBPROPERTYOF
- See Also:
- Constant Field Values
RDFS_MODEL_RANGE
public static final java.lang.String RDFS_MODEL_RANGE
- See Also:
- Constant Field Values
RDFS_MODEL_DOMAIN
public static final java.lang.String RDFS_MODEL_DOMAIN
- See Also:
- Constant Field Values
RDFS_MODEL_LITERAL
public static final java.lang.String RDFS_MODEL_LITERAL
- See Also:
- Constant Field Values
RDFS_MODEL_CLASSORLITERAL
public static final java.lang.String RDFS_MODEL_CLASSORLITERAL
- See Also:
- Constant Field Values
RDFS_MODEL_COLOUR
public static final java.awt.Color RDFS_MODEL_COLOUR
rdfs
private Model rdfs
rdfsClass
private Construct rdfsClass
property
private Construct property
subClassOf
private Construct subClassOf
subPropertyOf
private Construct subPropertyOf
range
private Construct range
domain
private Construct domain
literal
private Construct literal
RDFSModelDef
public RDFSModelDef()
- Creates a new instance of RDFSModelDef
getFeatureNames
public java.lang.String[] getFeatureNames()
- Return a string list of features supported by this wrapper, where the first
one is bit zero in the feature bit map, second bit one, etc
- Specified by:
getFeatureNames
in class ModelDef
createModel
public void createModel()
throws InconsistentException
- Define the RDFS model in the Automed MDR database
- Specified by:
createModel
in class ModelDef
- Throws:
InconsistentException
createAutoMedModel
public void createAutoMedModel()
throws InconsistentException
- Create the automed model for RDFS. In this case it is the same as the
source model so simply create that
- Specified by:
createAutoMedModel
in class ModelDef
- Throws:
InconsistentException