Package org.powertac.visualizer.domain
Class File
- java.lang.Object
 - 
- org.powertac.visualizer.domain.File
 
 
- 
- All Implemented Interfaces:
 Serializable
@Entity public class File extends Object implements Serializable
A File.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description File() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandelete()booleandelete(User user)booleanequals(Object o)booleanexists()booleanexists(User user)LonggetId()StringgetName()UsergetOwner()StringgetPath()StringgetPath(User user)static StringgetSafeName(String name)FileTypegetType()inthashCode()BooleanisShared()voidsetId(Long id)voidsetName(String name)voidsetOwner(User user)voidsetShared(Boolean shared)voidsetType(FileType type)StringtoString() 
 - 
 
- 
- 
Field Detail
- 
separator
public static final String separator
 
 - 
 
- 
Method Detail
- 
getId
public Long getId()
 
- 
setId
public void setId(Long id)
 
- 
getType
public FileType getType()
 
- 
setType
public void setType(FileType type)
 
- 
getName
public String getName()
 
- 
setName
public void setName(String name)
 
- 
isShared
public Boolean isShared()
 
- 
setShared
public void setShared(Boolean shared)
 
- 
getOwner
public User getOwner()
 
- 
setOwner
public void setOwner(User user)
 
- 
exists
public boolean exists()
 
- 
exists
public boolean exists(User user)
 
- 
delete
public boolean delete()
 
- 
delete
public boolean delete(User user)
 
- 
getPath
public String getPath()
 
 - 
 
 -