Class Image

All Implemented Interfaces:
Serializable, Accountable, Changeable, Child<MediaObject>, Embargo, Identifiable<Long>, Metadata, MutableMetadata<Image>, nl.vpro.domain.media.support.MutableOwnable, nl.vpro.domain.media.support.Ownable, TrackableObject, MutableEmbargo<Image>, MutableEmbargoDeprecated<Image>, Publishable<Image>, Trackable

@Entity public class Image extends PublishableObject<Image> implements MutableMetadata<Image>, nl.vpro.domain.media.support.MutableOwnable, Child<MediaObject>

A MediaObject can have more than one images. But among them getImageUri()/getType() is unique.

The image owner describes an origin of the image. Several media suppliers provide there own images. To prevent conflicts while updating for incoming data, images for those suppliers are kept in parallel.

TODO: I think we may elaborate a bit on image uniqueness. equals(Object) implements what is said above. But why e.g. a different getOwner() would not make a different image?

Since:
0.4
Author:
Roelof Jan Koekoek
See Also: