public class ObjectStoreFile extends Object implements Serializable
Constructor and Description |
---|
ObjectStoreFile()
Instantiates a new object store file.
|
Modifier and Type | Method and Description |
---|---|
static ObjectStoreFile |
createObject(String jsonObject)
Return a new instance of the object from a json String.
|
Protocols |
getAccessProtocol()
Gets the access protocol.
|
String |
getDownloadedURL()
Gets the downloaded url.
|
long |
getFileSizeKB() |
String |
getMd5Sum() |
String |
getMetadataRelatedID()
Gets the related metadata id.
|
String |
getMimeType()
Gets the mime type.
|
String |
getObjectID()
Gets the object id.
|
String |
getPasswordAuth()
Gets the password auth.
|
String |
getURI()
Gets the uri.
|
String |
getUsernameAuth()
Gets the username auth.
|
void |
setAccessProtocol(Protocols accessProtocol)
Sets the access protocol.
|
void |
setDownloadedURL(String downloadedURL)
Sets the downloaded url.
|
void |
setFileSizeKB(long fileSizeKB) |
void |
setMd5Sum(String md5Sum) |
void |
setMetadataRelatedID(String metadataRelatedID)
Sets the related metadata id.
|
void |
setMimeType(String mimeType)
Sets the mime type.
|
void |
setObjectID(String objectID)
Sets the object id.
|
void |
setPasswordAuth(String passwordAuth)
Sets the password auth.
|
void |
setURI(String uri)
Sets the uri.
|
void |
setUsernameAuth(String usernameAuth)
Sets the username auth.
|
String |
toJSON()
Convert the object into a json String.
|
public String getDownloadedURL()
public void setDownloadedURL(String downloadedURL)
downloadedURL
- the new downloaded urlpublic static ObjectStoreFile createObject(String jsonObject)
jsonObject
- the json objectpublic String getObjectID()
public void setObjectID(String objectID)
objectID
- the new object idpublic String getMimeType()
public void setMimeType(String mimeType)
mimeType
- the new mime typepublic Protocols getAccessProtocol()
public void setAccessProtocol(Protocols accessProtocol)
accessProtocol
- the new access protocolpublic String getUsernameAuth()
public void setUsernameAuth(String usernameAuth)
usernameAuth
- the new username authpublic String getPasswordAuth()
public void setPasswordAuth(String passwordAuth)
passwordAuth
- the new password authpublic String getURI()
public void setURI(String uri)
uri
- the new uripublic String toJSON()
public String getMetadataRelatedID()
public void setMetadataRelatedID(String metadataRelatedID)
metadataRelatedID
- the related metadata id.public String getMd5Sum()
public void setMd5Sum(String md5Sum)
md5Sum
- the md5Sum to setpublic long getFileSizeKB()
public void setFileSizeKB(long fileSizeKB)
fileSizeKB
- the fileSizeKB to setCopyright © 2017. All rights reserved.