nl.vpro.domain.media.support.PomsImages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-domain Show documentation
Show all versions of media-domain Show documentation
The basic domain classes for 'media', the core of POMS. Also, the 'update' XML bindings for it.
It also contains some closely related domain classes like the enum to contain NICAM kijkwijzer settings.
package nl.vpro.domain.media.support;
import lombok.extern.slf4j.Slf4j;
import java.util.Optional;
import nl.vpro.domain.image.backend.PomsImageSourceCreator;
/**
* Wrapped for poms images.
*/
@Slf4j
public class PomsImages {
public static class Creator extends PomsImageSourceCreator {
@Override
protected Optional getId(Image metadata) {
return Optional.of(metadata.getImageId());
}
}
}