Interface CDMEntity

All Superinterfaces:
AmetysObject, CDMFRTagsConstants
All Known Subinterfaces:
ProgramItem, ProgramPart, TraversableProgramPart
All Known Implementing Classes:
AbstractProgram, AbstractProgramPart, AbstractTraversableProgramPart, Container, Course, CourseList, OrgUnit, Person, Program, SubProgram

public interface CDMEntity extends CDMFRTagsConstants, AmetysObject
Object exportable in CDM-fr format.
  • Field Details

  • Method Details

    • getCDMId

      Returns the CDM id.
      Returns:
      the CDM id.
    • getLanguage

      Returns the main language of this object.
      Returns:
      the main language of this object.
    • getCdmCode

      Get the CDM code. This code is not empty only if the CDM entity was imported from a CDMfr file.
      Returns:
      the CDM code. Can be null;
    • setCdmCode

      void setCdmCode(String cdmCode)
      Set the CDM code. This code should be setted only when the CDM entity was imported from a CDMfr file.
      Parameters:
      cdmCode - the CDM code to set