org.ow2.weblab.core.model
Class PieceOfKnowledge
java.lang.Object
org.ow2.weblab.core.model.Resource
org.ow2.weblab.core.model.PieceOfKnowledge
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Annotation
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 CASSIDIAN - Version 1.2 - 2010/08
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.ow2.org/core/1.2/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-2010. All Rights Reserved.