|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.muni.fi.pclis.commons.domain.DomainObject
cz.muni.fi.pclis.commons.domain.NamedDomainObject
cz.muni.fi.pclis.domain.UploadedFile
public class UploadedFile
Entity representing file uploaded to the server. User: Ľuboš Pecho Date: 27.3.2010 Time: 22:19:37
Field Summary | |
---|---|
private String |
contentType
content type of the file |
private String |
location
location of the file |
Constructor Summary | |
---|---|
UploadedFile()
constructs new uplodaed file |
|
UploadedFile(String name,
String location,
String contentType)
constructs new uploaded file |
Method Summary | |
---|---|
String |
getContentType()
|
String |
getLocation()
|
void |
setContentType(String contentType)
Sets the content type of the file |
void |
setLocation(String location)
Sets the location of the file |
Methods inherited from class cz.muni.fi.pclis.commons.domain.NamedDomainObject |
---|
getName, setName |
Methods inherited from class cz.muni.fi.pclis.commons.domain.DomainObject |
---|
equals, getId, hashCode, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String location
private String contentType
Constructor Detail |
---|
public UploadedFile()
public UploadedFile(String name, String location, String contentType)
name
- location
- contentType
- Method Detail |
---|
public String getLocation()
public void setLocation(String location)
location
- public String getContentType()
public void setContentType(String contentType)
contentType
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |