public class ResourceValueObject extends Object implements Serializable
Constructor and Description |
---|
ResourceValueObject()
Basic constructor
|
ResourceValueObject(DocumentResource resource)
Constructor using a document resource object
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Returns the Content
|
String |
getContentType()
Returns the ContentType
|
String |
getFilename()
Returns the Filename
|
int |
getIdObject()
Returns the IdObject
|
long |
getLastModified()
Returns the Last modified time
|
void |
setContent(byte[] content)
Sets the Content
|
void |
setContentType(String strContentType)
Sets the ContentType
|
void |
setFilename(String strFilename)
Sets the Filename
|
void |
setIdObject(int nIdObject)
Sets the IdObject
|
void |
setLastModified(long lLastModified)
Sets the Last modified time
|
public ResourceValueObject()
public ResourceValueObject(DocumentResource resource)
resource
- The document resourcepublic int getIdObject()
public void setIdObject(int nIdObject)
nIdObject
- The IdObjectpublic byte[] getContent()
public void setContent(byte[] content)
content
- The contentpublic String getContentType()
public void setContentType(String strContentType)
strContentType
- The ContentTypepublic String getFilename()
public void setFilename(String strFilename)
strFilename
- The Filenamepublic void setLastModified(long lLastModified)
lLastModified
- Last modified timepublic long getLastModified()
Copyright © 2020 City of Paris. All rights reserved.