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 boolean
delete()
boolean
delete(User user)
boolean
equals(Object o)
boolean
exists()
boolean
exists(User user)
Long
getId()
String
getName()
User
getOwner()
String
getPath()
String
getPath(User user)
static String
getSafeName(String name)
FileType
getType()
int
hashCode()
Boolean
isShared()
void
setId(Long id)
void
setName(String name)
void
setOwner(User user)
void
setShared(Boolean shared)
void
setType(FileType type)
String
toString()
-
-
-
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()
-
-