Package org.ametys.odf.data
Class EducationalPath
java.lang.Object
org.ametys.odf.data.EducationalPath
Class representing an educational path of a
ProgramItem
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Retrieves the program item ids that are the segment of this pathgetProgramItems
(AmetysObjectResolver resolver) GetProgramItem
s that composed this educational path as an unmodifiable listint
hashCode()
static EducationalPath
Build a educational pathstatic EducationalPath
of
(EducationalPath parentPath, String... programItemIds) Build a educational path from a parent education pathstatic EducationalPath
of
(EducationalPath parentPath, ProgramItem... programItem) Build a educational path from a parent education pathstatic EducationalPath
of
(ProgramItem... programItems) Build a educational pathresolveProgramItems
(AmetysObjectResolver resolver) ResolveProgramItem
s that composed this educational pathtoString()
-
Field Details
-
PATH_SEGMENTS_IDENTIFIER
The program items identifier- See Also:
-
PATH_SEGMENT_SEPARATOR
The separator for path segment- See Also:
-
-
Method Details
-
of
Build a educational path- Parameters:
programItemIds
- the ids of program items- Returns:
- the educational path
-
of
Build a educational path from a parent education path- Parameters:
parentPath
- The parent educational pathprogramItemIds
- the ids of program items- Returns:
- the educational path
-
of
Build a educational path from a parent education path- Parameters:
parentPath
- The parent educational pathprogramItem
- the program items- Returns:
- the educational path
-
of
Build a educational path- Parameters:
programItems
- the program items- Returns:
- the educational path
-
getProgramItemIds
Retrieves the program item ids that are the segment of this path- Returns:
- the program item ids
-
getProgramItems
GetProgramItem
s that composed this educational path as an unmodifiable list- Parameters:
resolver
- the ametys object resolver- Returns:
- the
ProgramItem
s of this path
-
resolveProgramItems
ResolveProgramItem
s that composed this educational path- Parameters:
resolver
- the ametys object resolver- Returns:
- the
ProgramItem
s of this path
-
toString
-
hashCode
-
equals
-