org.intuitel.slom
public class ConceptContainerRelationship extends Object
The SLOM course description establishes that Concept Containers are sequenced with Macro Learning Pathways, and those MacroLP contains sequencing rules called conceptContainerRelationships.Each ConceptContainerRelationship referst to two ConceptContainer, the predecessor and the successor.
This class provides a Java representation of the Concept Container Relationship.
Further information of the SLOM format can be found at the INTUITEL project page, at deliverable D4.1
Constructor and Description |
---|
ConceptContainerRelationship(String name,
String macroLP,
String hasPredecessorInMacroLp,
String hasSuccessorInMacroLp)
Builds the ConceptContainerRelationship.
|
Modifier and Type | Method and Description |
---|---|
String |
getHasPredecessorInMacroLp()
Returns the name of the ConceptContainer that is the predecessor in the ConceptContainerRelationship.
|
String |
getHasSuccessorInMacroLp()
Returns the name of the ConceptContainer that is the sucessor in the ConceptContainerRelationship.
|
String |
getMacroLP()
Returns the name of the macroLP of this ConceptContainerRelationship.
|
String |
getName()
Returns the name of this ConceptContainerRelationship.
|
void |
setHasPredecessorInMacroLp(String hasPredecessorInMacroLp)
Establishes the name of the ConceptContainer that is the predecessor in the ConceptContainerRelationship.
|
void |
setHasSuccessorInMacroLp(String hasSuccessorInMacroLp)
Establishes the name of the ConceptContainer that is the sucessor in the ConceptContainerRelationship.
|
void |
setMacroLP(String macroLP)
Establishes the name of the MacroLP of the ConceptContainerRelationship.
|
void |
setName(String name)
Establishes the name of the ConceptContainerRelationship.
|
String |
toString()
Provides a textual representation of the Relationship.
|
public ConceptContainerRelationship(String name, String macroLP, String hasPredecessorInMacroLp, String hasSuccessorInMacroLp)
Builds the ConceptContainerRelationship from its name, the macroLP that contains the relationship, the predecessor CC and the successor CC.
name
- the name of the Relationship to createmacroLP
- the macroLP that will contain the relationshiphasPredecessorInMacroLp
- The ConceptContainer with the predecessor role in the relationshiphasSuccessorInMacroLp
- The ConceptContainer with the sucessor role in the relationshippublic String toString()
The textual representation contains the name, the MacroLP, the predecessor CC and the sucessor CC
public String getName()
public void setName(String name)
name
- the name to set.public String getMacroLP()
public void setMacroLP(String macroLP)
macroLP
- the name to set.public String getHasPredecessorInMacroLp()
public void setHasPredecessorInMacroLp(String hasPredecessorInMacroLp)
hasPredecessorInMacroLp
- the name of the CC to set.public String getHasSuccessorInMacroLp()
public void setHasSuccessorInMacroLp(String hasSuccessorInMacroLp)
hasSuccessorInMacroLp
- the name of the CC to set.Copyright © 2014. All rights reserved.