Package nl.vpro.domain.image
Interface ImageMetadata
-
- All Superinterfaces:
Metadata<ImageMetadata>,Trackable
- All Known Implementing Classes:
ImageMetadataImpl
public interface ImageMetadata extends Metadata<ImageMetadata>
An extended version ofMetadata. Most noticeably, it addsgetSourceSet(), and alsogetAreaOfInterest()
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nl.vpro.domain.image.Metadata
Metadata.LombokBuilder<SELF extends Metadata.LombokBuilder<SELF>>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ImageMetadataImpl.Builderbuilder()@Nullable AreagetAreaOfInterest()default RelativePointgetPointOfInterest()The point of interest is just the exact middle point ofgetAreaOfInterest(), or if there is no such a thing is defined, thenRelativePoint.MIDDLEImageSourceSetgetSourceSet()As a map, for easier reference, but the causes a bit of pleonasm in key and value, we could also just do a set?-
Methods inherited from interface nl.vpro.domain.image.Metadata
getAlternative, getCredits, getCrids, getDescription, getHeight, getLicense, getSource, getSourceName, getTitle, getType, getWidth
-
Methods inherited from interface nl.vpro.domain.Trackable
getCreationInstant, getLastModifiedInstant
-
-
-
-
Method Detail
-
getSourceSet
ImageSourceSet getSourceSet()
As a map, for easier reference, but the causes a bit of pleonasm in key and value, we could also just do a set?
-
getAreaOfInterest
@Nullable Area getAreaOfInterest()
-
getPointOfInterest
default RelativePoint getPointOfInterest()
The point of interest is just the exact middle point ofgetAreaOfInterest(), or if there is no such a thing is defined, thenRelativePoint.MIDDLE
-
builder
static ImageMetadataImpl.Builder builder()
-
-