org.intuitel.slom
public class KnowledgeObjectRelationship extends Object
The SLOM course description establishes that Knowledge Objects are sequenced with Micro Learning Pathways, and those MicroLP contains sequencing rules called KnowledgeObjectRelationships. Each KnowledgeObjectRelationship refers to two KnowledgeObjects: the predecessor and the successor.
This class provides a Java representation of the Knowledge Object Relationship.
Further information of the SLOM format can be found at the INTUITEL project page, at deliverable D4.1
Constructor and Description |
---|
KnowledgeObjectRelationship(String name)
Builds the KnowledgeObjectRelationship.
|
KnowledgeObjectRelationship(String name,
String microLP)
Builds the KnowledgeObjectRelationship.
|
Modifier and Type | Method and Description |
---|---|
String |
getHasPredecessorInMicroLp()
Returns the name of the KnowledgeObject that is the predecessor in the KnowledgeObjectRelationship.
|
String |
getHasSuccessorInMicroLp()
Returns the name of the KnowledgeObject that is the sucessor in the KnowledgeObjectRelationship.
|
String |
getMicroLP()
Returns the name of the MicroLP in this KnowledgeObjectRelationship.
|
String |
getName()
Returns the name of this KnowledgeObjectRelationship.
|
void |
setHasPredecessorInMicroLp(String hasPredecessorInMicroLp)
Establishes the name of the KnowledgeObject that is the predecessor in the KnowledgeObjectRelationship.
|
void |
setHasSuccessorInMicroLp(String hasSuccessorInMicroLp)
Establishes the name of the KnowledgeObject that is the sucessor in the KnowledgeObjectRelationship.
|
void |
setMicroLP(String microLP)
Establishes the name of the MicroLP of the KnowledgeObjectRelationship.
|
void |
setName(String name)
Establishes the name of the KnowledgeObjectRelationship.
|
String |
toString()
Provides a textual representation of the Relationship.
|
public KnowledgeObjectRelationship(String name)
Builds the KnowledgeObjectRelationship from its name
name
- the name of the Relationship to createpublic KnowledgeObjectRelationship(String name, String microLP)
Builds the KnowledgeObjectRelationship from its name and microLP
name
- the name of the Relationship to createmicroLP
- the name of the microLP in the Relationship to createpublic String toString()
The textual representation contains the name, the MicroLP, the predecessor KO and the sucessor KO
public String getName()
public void setName(String name)
name
- the name to set.public String getHasPredecessorInMicroLp()
public String getMicroLP()
public void setMicroLP(String microLP)
microLP
- the name to set.public void setHasPredecessorInMicroLp(String hasPredecessorInMicroLp)
hasPredecessorInMicroLp
- the name of the KO to set.public String getHasSuccessorInMicroLp()
public void setHasSuccessorInMicroLp(String hasSuccessorInMicroLp)
hasSuccessorInMicroLp
- the name of the KO to set.Copyright © 2014. All rights reserved.