Class VideoFileResourceImpl
java.lang.Object
de.digitalcollections.model.impl.identifiable.IdentifiableImpl
de.digitalcollections.model.impl.identifiable.resource.FileResourceImpl
de.digitalcollections.model.impl.identifiable.resource.VideoFileResourceImpl
- All Implemented Interfaces:
Identifiable,FileResource,VideoFileResource
public class VideoFileResourceImpl extends FileResourceImpl implements VideoFileResource
-
Field Summary
Fields inherited from class de.digitalcollections.model.impl.identifiable.resource.FileResourceImpl
fileResourceTypeFields inherited from class de.digitalcollections.model.impl.identifiable.IdentifiableImpl
created, description, identifiers, label, lastModified, previewImage, previewImageRenderingHints, type -
Constructor Summary
Constructors Constructor Description VideoFileResourceImpl() -
Method Summary
Modifier and Type Method Description intgetDuration()voidsetDuration(int duration)Methods inherited from class de.digitalcollections.model.impl.identifiable.resource.FileResourceImpl
equals, getFilename, getFilenameExtension, getFileResourceType, getHttpBaseUrl, getLicense, getMimeType, getSizeInBytes, getUri, hashCode, isReadonly, setFilename, setFileResourceType, setHttpBaseUrl, setLicense, setMimeType, setReadonly, setSizeInBytes, setUri, toStringMethods inherited from class de.digitalcollections.model.impl.identifiable.IdentifiableImpl
addIdentifier, getCreated, getDescription, getIdentifierByNamespace, getIdentifiers, getLabel, getLastModified, getPreviewImage, getPreviewImageRenderingHints, getType, getUuid, setCreated, setDescription, setIdentifiers, setLabel, setLastModified, setPreviewImage, setPreviewImageRenderingHints, setType, setUuidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.digitalcollections.model.api.identifiable.resource.FileResource
getFilename, getFilenameExtension, getFileResourceType, getHttpBaseUrl, getLicense, getMimeType, getSizeInBytes, getUri, isReadonly, setFilename, setFileResourceType, setHttpBaseUrl, setLicense, setMimeType, setReadonly, setSizeInBytes, setUriMethods inherited from interface de.digitalcollections.model.api.identifiable.Identifiable
addIdentifier, getCreated, getDescription, getIdentifierByNamespace, getIdentifiers, getLabel, getLastModified, getPreviewImage, getPreviewImageRenderingHints, getType, getUuid, setCreated, setDescription, setIdentifiers, setLabel, setLastModified, setPreviewImage, setPreviewImageRenderingHints, setType, setUuid
-
Constructor Details
-
VideoFileResourceImpl
public VideoFileResourceImpl()
-
-
Method Details
-
getDuration
public int getDuration()- Specified by:
getDurationin interfaceVideoFileResource- Returns:
- duration in seconds
-
setDuration
public void setDuration(int duration)- Specified by:
setDurationin interfaceVideoFileResource- Parameters:
duration- duration in seconds
-