|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.weblab.core.extended.factory.PoKFactory
public class PoKFactory
To create PieceOfKnowledges we strongly encourage to use this class. It will enable the creation of an Annotation having an
URI compliant with the WebLabRI recommendations.
You may need PieceOfKnowledges in three main cases.
ResultSet and you need to add a PoK in it. In that case you shall use this class.PieceOfKnowledge. In that case, we encourage you to use the method createResource in
ResourceFactory.Annotation. In that case, we encourage you to use the method createAndLinkAnnotation of the
AnnotationFactory class.
AnnotationFactory,
ResourceFactory| Method Summary | |
|---|---|
static PieceOfKnowledge |
createAndLinkPoK(ResultSet resultSet)
Automatically set a valid WebLabRI to the created PieceOfKnowledge using the ResultSet in parameter to generate an
unique id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PieceOfKnowledge createAndLinkPoK(ResultSet resultSet)
WebLabRI to the created PieceOfKnowledge using the ResultSet in parameter to generate an
unique id. Created PoK will be added to resultSet.
resultSet - the ResultSet that will contains the created PieceOfKnowledge
PieceOfKnowledge with a valid WebLabRI and added to resultSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||