Class AbstractProgramElementExporter.ProgramElementData
- java.lang.Object
-
- org.ametys.odf.ose.export.impl.odf.AbstractProgramElementExporter.ProgramElementData
-
- Enclosing class:
- AbstractProgramElementExporter<T extends Content & ProgramItem>
protected static class AbstractProgramElementExporter.ProgramElementData extends Object
An object to represent common computed data on the program element like orgunit, step holder, etc.
-
-
Field Summary
Fields Modifier and Type Field Description private String
_orgUnitCode
private String
_periodTypeCode
private String
_stepHolderCode
private Set<Container>
_steps
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProgramElementData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOrgUnit()
Get the orgunit code of the program element.String
getPeriodType()
Get the period type code of the program element.String
getStepHolder()
Get the step holder code of the program element.Set<Container>
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
setSteps(Set<Container> steps)
Set the steps attached to the program element.
-
-
-
Field Detail
-
_orgUnitCode
private String _orgUnitCode
-
_stepHolderCode
private String _stepHolderCode
-
_periodTypeCode
private String _periodTypeCode
-
-
Constructor Detail
-
ProgramElementData
protected ProgramElementData()
-
-
Method Detail
-
setOrgUnit
public void setOrgUnit(String orgUnitCode)
Set the orgunit code of the program element.- Parameters:
orgUnitCode
- The code of the orgunit
-
setStepHolder
public void setStepHolder(String stepHolderCode)
Set the step holder code of the program element.- Parameters:
stepHolderCode
- The code of the step holder
-
setPeriodType
public void setPeriodType(String periodTypeCode)
Set the period type code of the program element.- Parameters:
periodTypeCode
- The code of the period type
-
setSteps
public void setSteps(Set<Container> steps)
Set the steps attached to the program element.- Parameters:
steps
- The steps
-
getOrgUnit
public String getOrgUnit()
Get the orgunit code of the program element.- Returns:
- The code of the orgunit
-
getStepHolder
public String getStepHolder()
Get the step holder code of the program element.- Returns:
- The code of the step holder
-
getPeriodType
public String getPeriodType()
Get the period type code of the program element.- Returns:
- The code of the period type
-
-