All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.domain.media.search.ImageListItem Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 8.3.1
Show newest version
package nl.vpro.domain.media.search;

import lombok.*;

import nl.vpro.domain.media.support.Image;
import nl.vpro.domain.media.support.OwnerType;
import nl.vpro.domain.support.License;

/**
 * @since 3.5
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@lombok.Builder
public class ImageListItem extends PublishableListItem {
    private String title;

    private String description;

    private String imageUri;

    private License license;

    private String sourceName;

    private OwnerType owner;

    public ImageListItem() {
    }

    public ImageListItem(Image image) {
        super(image);
        setUrn(image.getUrn());
        this.title = image.getTitle();
        this.description = image.getDescription();
        this.imageUri = image.getImageUri();
        this.license = image.getLicense();
        this.sourceName = image.getSourceName();
        this.owner = image.getOwner();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy