org.weblab_project.core.model
Class PieceOfKnowledge
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.PieceOfKnowledge
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Annotation, Ontology
public class PieceOfKnowledge
- extends Resource
- implements java.io.Serializable
A PieceOfKnowledge (or PoK) object should be understood as the definition provided by the W3C in its resource description framework. One can note that we involve the RDF methodology
concepts and design formalism which should not be misunderstood as the RDF/XML serialisation format.
Each PoK is composed of a set of RDF statements composed of a set of triple: subject, property and object. Thus any description can be applied on any resource as soon as the property
and object element refer to a consistent vocabulary in a certain domain. This vocabulary could be expressed in accordance to a specified ontology. However, one of the project's
guidelines is extensibility, thus PieceOfKnowledge should be extendable using any OWLS or RDFS. The set of triple statements described a resource will be contained in the
PieceOfKnowledge object serialised in the RDF/XML format.
Since an PoK is a resource, it can also contain Annotations. The contained statements can be seen as meta-Annotations describing, for example, how and when the first level of
annotations has been created (which service with what resource or configuration).
Data Exchange Model for WebLab platform provided by EADS Core package - Version 1.1 - 2009/05
Java class for pieceOfKnowledge complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="pieceOfKnowledge">
<complexContent>
<extension base="{http://weblab-project.org/core/model/}resource">
<sequence>
<element name="data" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Object |
data
|
Method Summary |
java.lang.Object |
getData()
Gets the value of the data property. |
void |
setData(java.lang.Object value)
Sets the value of the data property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected java.lang.Object data
PieceOfKnowledge
public PieceOfKnowledge()
getData
public java.lang.Object getData()
- Gets the value of the data property.
- Returns:
- possible object is
Object
setData
public void setData(java.lang.Object value)
- Sets the value of the data property.
- Parameters:
value
- allowed object is
Object
Copyright © 2004-2009. All Rights Reserved.