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 Details

  • Method Details

    • 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

      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

      public Set<Container> getSteps()
      Get the steps attached to the program element.
      Returns:
      The steps