use of org.olat.imsmd.xml.manifest.LomType in project openolat by klemens.
the class ManifestMetadataBuilder method getLom.
public LomType getLom(boolean create) {
LomType lom = getFromAny(LomType.class, getMetadataList());
if (lom == null && create) {
lom = mdObjectFactory.createLomType();
getMetadataList().add(mdObjectFactory.createLom(lom));
}
return lom;
}
use of org.olat.imsmd.xml.manifest.LomType in project openolat by klemens.
the class ManifestMetadataBuilder method getLifecycle.
public LifecycleType getLifecycle(boolean create) {
LomType lom = getLom(create);
if (lom == null)
return null;
LifecycleType lifecycle = lom.getLifecycle();
if (lifecycle == null && create) {
lifecycle = mdObjectFactory.createLifecycleType();
lom.setLifecycle(lifecycle);
}
return lifecycle;
}
use of org.olat.imsmd.xml.manifest.LomType in project OpenOLAT by OpenOLAT.
the class ManifestMetadataBuilder method getLom.
public LomType getLom(boolean create) {
LomType lom = getFromAny(LomType.class, getMetadataList());
if (lom == null && create) {
lom = mdObjectFactory.createLomType();
getMetadataList().add(mdObjectFactory.createLom(lom));
}
return lom;
}
use of org.olat.imsmd.xml.manifest.LomType in project OpenOLAT by OpenOLAT.
the class ManifestMetadataBuilder method getTechnical.
public TechnicalType getTechnical(boolean create) {
LomType lom = getLom(create);
if (lom == null)
return null;
TechnicalType technical = lom.getTechnical();
if (technical == null && create) {
technical = mdObjectFactory.createTechnicalType();
lom.setTechnical(technical);
}
return technical;
}
use of org.olat.imsmd.xml.manifest.LomType in project OpenOLAT by OpenOLAT.
the class ManifestMetadataBuilder method getEducational.
public EducationalType getEducational(boolean create) {
LomType lom = getLom(create);
if (lom == null)
return null;
EducationalType educational = lom.getEducational();
if (educational == null && create) {
educational = mdObjectFactory.createEducationalType();
lom.setEducational(educational);
}
return educational;
}
Aggregations