Package nl.vpro.domain.image
Interface MutableMetadata<T extends MutableMetadata<T>>
-
- All Superinterfaces:
Embargo,Metadata<T>,MutableEmbargo<T>,Trackable
- All Known Subinterfaces:
BackendImageMetadata<T>
- All Known Implementing Classes:
BackendImage,BasicBackendImageMetadata
public interface MutableMetadata<T extends MutableMetadata<T>> extends MutableEmbargo<T>, Metadata<T>
Mutable version ofMetadata.- Since:
- 5.5
- Author:
- Michiel Meeuwissen
-
-
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 Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChangeReportcopyFrom(Metadata<?> image)default ChangeReportcopyFrom(MutableMetadata<?> image)default ChangeReportcopyFromIfSourceSet(MutableMetadata<?> source)default ChangeReportcopyFromIfTargetUnset(MutableMetadata<?> source)StringgetDate()StringgetImageUri()voidsetCredits(@NoHtml @NotNull String credits)voidsetDate(String date)default voidsetDate(Instant instant)voidsetDescription(String description)voidsetHeight(@Positive Integer height)voidsetLastModifiedInstant(Instant lastModified)voidsetLicense(@NotNull nl.vpro.domain.support.License license)voidsetSource(@NotNull String source)voidsetSourceName(@NotNull String sourceName)voidsetTitle(@NotNull @Size(max=255,min=1) String title)voidsetType(@NotNull ImageType type)voidsetWidth(@Positive Integer width)-
Methods inherited from interface nl.vpro.domain.Embargo
asRange, getPublishStartInstant, getPublishStopInstant, inPublicationWindow, inPublicationWindow, isPublishable, isUnderEmbargo, isUnderEmbargo, wasUnderEmbargo, wasUnderEmbargo, willBePublished, willBePublished, willBeUnderEmbargo, willBeUnderEmbargo
-
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.MutableEmbargo
set, setPublishStartInstant, setPublishStopInstant
-
Methods inherited from interface nl.vpro.domain.Trackable
getCreationInstant, getLastModifiedInstant
-
-
-
-
Method Detail
-
getImageUri
String getImageUri()
-
getDate
String getDate()
-
setType
void setType(@NotNull @NotNull ImageType type)
-
setTitle
void setTitle(@NotNull @Size(max=255,min=1) @NotNull @Size(max=255,min=1) String title)
-
setDescription
void setDescription(String description)
-
setSource
void setSource(@NotNull @NotNull String source)
-
setSourceName
void setSourceName(@NotNull @NotNull String sourceName)
-
setLicense
void setLicense(@NotNull @NotNull nl.vpro.domain.support.License license)
-
setHeight
void setHeight(@Positive @Positive Integer height)
-
setWidth
void setWidth(@Positive @Positive Integer width)
-
setDate
void setDate(String date)
-
setDate
default void setDate(Instant instant)
-
setLastModifiedInstant
void setLastModifiedInstant(Instant lastModified)
-
copyFrom
default ChangeReport copyFrom(Metadata<?> image)
-
copyFrom
default ChangeReport copyFrom(MutableMetadata<?> image)
-
copyFromIfTargetUnset
default ChangeReport copyFromIfTargetUnset(MutableMetadata<?> source)
-
copyFromIfSourceSet
default ChangeReport copyFromIfSourceSet(MutableMetadata<?> source)
-
-