org.ecocean
Class SinglePhotoVideo

java.lang.Object
  extended by org.ecocean.DataCollectionEvent
      extended by org.ecocean.SinglePhotoVideo
All Implemented Interfaces:
Serializable

public class SinglePhotoVideo
extends DataCollectionEvent

See Also:
Serialized Form

Field Summary
private  String copyrightOwner
           
private  String copyrightStatement
           
private  String filename
           
private  String fullFileSystemPath
           
private  List<Keyword> keywords
           
private static long serialVersionUID
           
private static String type
           
 
Constructor Summary
SinglePhotoVideo()
          Empty constructor required for JDO persistence
SinglePhotoVideo(String correspondingEncounterNumber, File file)
           
SinglePhotoVideo(String correspondingEncounterNumber, String filename, String fullFileSystemPath)
           
 
Method Summary
 void addKeyword(Keyword dce)
           
 String getCopyrightOwner()
           
 String getCopyrightStatement()
           
 File getFile()
          Returns the photo or video represented by this object as a java.io.File This is a convenience method.
 String getFilename()
           
 String getFullFileSystemPath()
           
 List<Keyword> getKeywords()
           
 void removeKeyword(int num)
           
 void removeKeyword(Keyword num)
           
 void setCopyrightOwner(String owner)
           
 void setCopyrightStatement(String statement)
           
 void setFilename(String newName)
           
 void setFullFileSystemPath(String newPath)
           
 
Methods inherited from class org.ecocean.DataCollectionEvent
getCollectionCode, getCollectionID, getCorrespondingEncounterNumber, getDataCollectionEventID, getDatasetID, getDatasetName, getEventEndDate, getEventRemarks, getEventStartDate, getFieldNotes, getFieldNumber, getHTMLString, getInstitutionCode, getInstitutionID, getSamplingEffort, getSamplingProtocol, getType, resetAbstractClassParameters, setCollectionCode, setCollectionID, setCorrespondingEncounterNumber, setDataCollectionEventID, setDatasetID, setDatasetName, setEventEndDate, setEventRemarks, setEventStartDate, setFieldNotes, setFieldNumber, setInstitutionCode, setInstitutionID, setSamplingEffort, setSamplingProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

filename

private String filename

fullFileSystemPath

private String fullFileSystemPath

type

private static String type

copyrightOwner

private String copyrightOwner

copyrightStatement

private String copyrightStatement

keywords

private List<Keyword> keywords
Constructor Detail

SinglePhotoVideo

public SinglePhotoVideo()
Empty constructor required for JDO persistence


SinglePhotoVideo

public SinglePhotoVideo(String correspondingEncounterNumber,
                        String filename,
                        String fullFileSystemPath)

SinglePhotoVideo

public SinglePhotoVideo(String correspondingEncounterNumber,
                        File file)
Method Detail

getFile

public File getFile()
Returns the photo or video represented by this object as a java.io.File This is a convenience method.

Returns:
java.io.File

getFilename

public String getFilename()

setFilename

public void setFilename(String newName)

getFullFileSystemPath

public String getFullFileSystemPath()

setFullFileSystemPath

public void setFullFileSystemPath(String newPath)

getCopyrightOwner

public String getCopyrightOwner()

setCopyrightOwner

public void setCopyrightOwner(String owner)

getCopyrightStatement

public String getCopyrightStatement()

setCopyrightStatement

public void setCopyrightStatement(String statement)

addKeyword

public void addKeyword(Keyword dce)

removeKeyword

public void removeKeyword(int num)

getKeywords

public List<Keyword> getKeywords()

removeKeyword

public void removeKeyword(Keyword num)


Copyright © 2012. All Rights Reserved.