Package nl.vpro.domain.image
Interface Metadata<T extends Metadata<T>>
-
- Type Parameters:
T- self reference
- All Superinterfaces:
Trackable
- All Known Subinterfaces:
BackendImageMetadata<T>,ImageMetadata,MutableMetadata<T>
- All Known Implementing Classes:
BackendImage,BasicBackendImageMetadata,ImageMetadataImpl
public interface Metadata<T extends Metadata<T>> extends Trackable
All our known image types implement at least this. An immutable representation of its metadata.It does not contain any information about how to display it.
- Since:
- 5.13
- Author:
- Michiel Meeuwissen
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMetadata.LombokBuilder<SELF extends Metadata.LombokBuilder<SELF>>When making an implementation ofMetadata, you can define aBuilderwhich may implement this interface.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringgetAlternative()StringgetCredits()Who or what has credits.default List<@CRID String>getCrids()StringgetDescription()IntegergetHeight()nl.vpro.domain.support.LicensegetLicense()@URI StringgetSource()Some URI describing where this image was original coming from.StringgetSourceName()A description for the source of this image.StringgetTitle()ImageTypegetType()IntegergetWidth()-
Methods inherited from interface nl.vpro.domain.Trackable
getCreationInstant, getLastModifiedInstant
-
-
-
-
Method Detail
-
getType
ImageType getType()
-
getTitle
String getTitle()
-
getDescription
String getDescription()
-
getAlternative
@Beta default String getAlternative()
- Since:
- 5.32
-
getLicense
nl.vpro.domain.support.License getLicense()
-
getSource
@URI @URI String getSource()
Some URI describing where this image was original coming from.
-
getSourceName
String getSourceName()
A description for the source of this image.
-
getCredits
String getCredits()
Who or what has credits.
-
getHeight
Integer getHeight()
-
getWidth
Integer getWidth()
-
-