org.intuitel.slom
public class MacroLP extends Object
The SLOM course description establishes that Concept Containers are sequenced with Macro Learning Pathways.
Each Macro Learning Pathway contains a collection of Concept Containers and also the relationships among them.
This class provides a Java representation of the Macro Learning Pathway.
Further information of the SLOM format can be found at the INTUITEL project page, at deliverable D4.1
Constructor and Description |
---|
MacroLP(String name)
Creates an empty MacroLP.
|
Modifier and Type | Method and Description |
---|---|
void |
addConceptContainer(ConceptContainer cc)
Adds a concept container to this MacroLP.
|
void |
addConceptContainerRelationship(ConceptContainerRelationship ccr)
Adds a concept container relationshiop to this MacroLP.
|
boolean |
equals(Object o)
Two MacroLP are equal if the have the same name.
|
List<ConceptContainerRelationship> |
getConceptContainerRelationships()
Get a list of the ConceptContainerRelationship in this MacroLP.
|
List<ConceptContainer> |
getConceptContainers()
Returns a list of the ConceptContainers in this this MacroLP.
|
List<String> |
getConceptContainersAsString()
Provides a list of Strings representing the ConceptContainers in this MacroLP.
|
String |
getDescription()
Returns the description of this MacroLP.
|
String |
getId()
Returns the id of this MacroLP.
|
String |
getName()
Returns the name of this MacroLP.
|
String |
getPathToDiagramFile() |
String |
getPredefinedMacroLP() |
void |
setConceptContainerRelationships(List<ConceptContainerRelationship> conceptContainerRelationships)
Establishes the ConceptContainerRelationships of this MacroLP.
|
void |
setConceptContainers(List<ConceptContainer> conceptContainers)
Establishes the ConceptContainers of this MacroLP.
|
void |
setDescription(String description)
Establishes the description of this MacroLP.
|
void |
setId(String id)
Establishes the identifier of this MacroLP.
|
void |
setName(String name)
Establishes the name of this MacroLP.
|
void |
setPathToDiagramFile(String pathToDiagramFile) |
void |
setPredefinedMacroLP(String predefinedMacroLP) |
String |
toString()
Provides a textual description of this MacroLP.
|
public MacroLP(String name)
Creates a MacroLP object, with the name given as parameter and with empty lists of ConceptContainers and ConceptContainerRelationships
Therefore, MacroLP configuration is required to complete the object setup
name
- The name of the MacroLPpublic List<String> getConceptContainersAsString()
Builds and returns a list of the textual representation of the ConceptContainers in this MacroLP.
public String toString()
The textual description of this MacroLP contains its name and a list of the textual description of all ConceptContainerRelationship in the MacroLP
public boolean equals(Object o)
public String getId()
public void setId(String id)
id
- The String to be set as identifier.public String getName()
public void setName(String name)
name
- The String to be set as name.public String getDescription()
public void setDescription(String description)
description
- The String to be set as description.public List<ConceptContainer> getConceptContainers()
public void setConceptContainers(List<ConceptContainer> conceptContainers)
conceptContainers
- a list witht the ConceptContainers to set.public void addConceptContainer(ConceptContainer cc)
cc
- The ConceptContainer to addpublic List<ConceptContainerRelationship> getConceptContainerRelationships()
public void setConceptContainerRelationships(List<ConceptContainerRelationship> conceptContainerRelationships)
conceptContainerRelationships
- a list witht the ConceptContainerRelationship to set.public void addConceptContainerRelationship(ConceptContainerRelationship ccr)
ccr
- The ConceptContainerRelationship to addpublic String getPathToDiagramFile()
public void setPathToDiagramFile(String pathToDiagramFile)
public String getPredefinedMacroLP()
public void setPredefinedMacroLP(String predefinedMacroLP)
Copyright © 2014. All rights reserved.