Class ImportRequest
- java.lang.Object
-
- de.unirostock.sems.cbarchive.web.dataholder.ImportRequest
-
- All Implemented Interfaces:
Serializable
public class ImportRequest extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportRequest.AdditionalFile
-
Constructor Summary
Constructors Constructor Description ImportRequest()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ImportRequest.AdditionalFile>
getAdditionalFiles()
String
getArchiveName()
String
getRemoteUrl()
String
getType()
de.unirostock.sems.cbarchive.meta.omex.VCard
getVcard()
boolean
isArchiveImport()
Checks if an import of an already packed archive is requested (remoteUrl and type is set).boolean
isOwnVCard()
boolean
isValid()
Checks whether this import request is valid or not.void
setAdditionalFiles(List<ImportRequest.AdditionalFile> additionalFiles)
void
setArchiveName(String archiveName)
void
setOwnVCard(boolean ownVCard)
void
setRemoteUrl(String remoteUrl)
void
setType(String type)
void
setVcard(de.unirostock.sems.cbarchive.meta.omex.VCard vcard)
-
-
-
Method Detail
-
isValid
public boolean isValid()
Checks whether this import request is valid or not.- Returns:
- true, if is valid
-
isArchiveImport
public boolean isArchiveImport()
Checks if an import of an already packed archive is requested (remoteUrl and type is set).- Returns:
- true, if is archive import
-
getArchiveName
public String getArchiveName()
-
setArchiveName
public void setArchiveName(String archiveName)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getRemoteUrl
public String getRemoteUrl()
-
setRemoteUrl
public void setRemoteUrl(String remoteUrl)
-
isOwnVCard
public boolean isOwnVCard()
-
setOwnVCard
public void setOwnVCard(boolean ownVCard)
-
getVcard
public de.unirostock.sems.cbarchive.meta.omex.VCard getVcard()
-
setVcard
public void setVcard(de.unirostock.sems.cbarchive.meta.omex.VCard vcard)
-
getAdditionalFiles
public List<ImportRequest.AdditionalFile> getAdditionalFiles()
-
setAdditionalFiles
public void setAdditionalFiles(List<ImportRequest.AdditionalFile> additionalFiles)
-
-