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