Class AbstractProgramElementExporter.ProgramElementData
java.lang.Object
org.ametys.odf.ose.export.impl.odf.AbstractProgramElementExporter.ProgramElementData
- Enclosing class:
- AbstractProgramElementExporter<T extends Content & ProgramItem>
An object to represent common computed data on the program element like orgunit, step holder, etc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the orgunit code of the program element.Get the period type code of the program element.Get the step holder code of the program element.getSteps()
Get the steps attached to the program element.void
setOrgUnit
(String orgUnitCode) Set the orgunit code of the program element.void
setPeriodType
(String periodTypeCode) Set the period type code of the program element.void
setStepHolder
(String stepHolderCode) Set the step holder code of the program element.void
Set the steps attached to the program element.
-
Constructor Details
-
ProgramElementData
protected ProgramElementData()
-
-
Method Details
-
setOrgUnit
Set the orgunit code of the program element.- Parameters:
orgUnitCode
- The code of the orgunit
-
setStepHolder
Set the step holder code of the program element.- Parameters:
stepHolderCode
- The code of the step holder
-
setPeriodType
Set the period type code of the program element.- Parameters:
periodTypeCode
- The code of the period type
-
setSteps
Set the steps attached to the program element.- Parameters:
steps
- The steps
-
getOrgUnit
Get the orgunit code of the program element.- Returns:
- The code of the orgunit
-
getStepHolder
Get the step holder code of the program element.- Returns:
- The code of the step holder
-
getPeriodType
Get the period type code of the program element.- Returns:
- The code of the period type
-
getSteps
Get the steps attached to the program element.- Returns:
- The steps
-