use of org.olat.imsmd.xml.manifest.TypicallearningtimeType in project OpenOLAT by OpenOLAT.
the class ManifestMetadataBuilder method setEducationalLearningTime.
public void setEducationalLearningTime(String datetime) {
EducationalType educational = getEducational(true);
if (educational != null) {
TypicallearningtimeType type = getFromAny(TypicallearningtimeType.class, educational.getContent());
if (type == null) {
type = mdObjectFactory.createTypicallearningtimeType();
educational.getContent().add(mdObjectFactory.createTypicallearningtime(type));
}
type.setDatetime(datetime);
}
}
use of org.olat.imsmd.xml.manifest.TypicallearningtimeType in project openolat by klemens.
the class ManifestMetadataBuilder method setEducationalLearningTime.
public void setEducationalLearningTime(String datetime) {
EducationalType educational = getEducational(true);
if (educational != null) {
TypicallearningtimeType type = getFromAny(TypicallearningtimeType.class, educational.getContent());
if (type == null) {
type = mdObjectFactory.createTypicallearningtimeType();
educational.getContent().add(mdObjectFactory.createTypicallearningtime(type));
}
type.setDatetime(datetime);
}
}
Aggregations