Package psiprobe.model.jsp
Class Item
- java.lang.Object
-
- psiprobe.model.jsp.Item
-
- All Implemented Interfaces:
Serializable
public class Item extends Object implements Serializable
The Class Item.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private long
compileTime
The compile time.private String
encoding
The encoding.private Exception
exception
The exception.private long
lastModified
The last modified.private int
level
The level.private boolean
missing
The missing.private String
name
The name.private static long
serialVersionUID
The Constant serialVersionUID.private long
size
The size.private int
state
The state.static int
STATE_FAILED
Item failed to compile.static int
STATE_OOD
Item is Out Of Date and requires recompilation.static int
STATE_READY
Item is compiled and ready to use.private Date
timestamp
The timestamp.
-
Constructor Summary
Constructors Constructor Description Item()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCompileTime()
Gets the compile time.String
getEncoding()
Gets the encoding.Exception
getException()
Gets the exception.long
getLastModified()
Gets the last modified.int
getLevel()
Gets the level.String
getName()
Gets the name.long
getSize()
Gets the size.int
getState()
Gets the state.Date
getTimestamp()
Gets the timestamp.boolean
isMissing()
Checks if is missing.void
setCompileTime(long compileTime)
Sets the compile time.void
setEncoding(String encoding)
Sets the encoding.void
setException(Exception exception)
Sets the exception.void
setLastModified(long lastModified)
Sets the last modified.void
setLevel(int level)
Sets the level.void
setMissing(boolean missing)
Sets the missing.void
setName(String name)
Sets the name.void
setSize(long size)
Sets the size.void
setState(int state)
Sets the state.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The Constant serialVersionUID.- See Also:
- Constant Field Values
-
STATE_OOD
public static final int STATE_OOD
Item is Out Of Date and requires recompilation.- See Also:
- Constant Field Values
-
STATE_READY
public static final int STATE_READY
Item is compiled and ready to use.- See Also:
- Constant Field Values
-
STATE_FAILED
public static final int STATE_FAILED
Item failed to compile.- See Also:
- Constant Field Values
-
name
private String name
The name.
-
exception
private Exception exception
The exception.
-
compileTime
private long compileTime
The compile time.
-
state
private int state
The state.
-
level
private int level
The level.
-
missing
private boolean missing
The missing.
-
size
private long size
The size.
-
lastModified
private long lastModified
The last modified.
-
timestamp
private Date timestamp
The timestamp.
-
encoding
private String encoding
The encoding.
-
-
Method Detail
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
setName
public void setName(String name)
Sets the name.- Parameters:
name
- the new name
-
getException
public Exception getException()
Gets the exception.- Returns:
- the exception
-
setException
public void setException(Exception exception)
Sets the exception.- Parameters:
exception
- the new exception
-
getCompileTime
public long getCompileTime()
Gets the compile time.- Returns:
- the compile time
-
setCompileTime
public void setCompileTime(long compileTime)
Sets the compile time.- Parameters:
compileTime
- the new compile time
-
getState
public int getState()
Gets the state.- Returns:
- the state
-
setState
public void setState(int state)
Sets the state.- Parameters:
state
- the new state
-
getLevel
public int getLevel()
Gets the level.- Returns:
- the level
-
setLevel
public void setLevel(int level)
Sets the level.- Parameters:
level
- the new level
-
isMissing
public boolean isMissing()
Checks if is missing.- Returns:
- true, if is missing
-
setMissing
public void setMissing(boolean missing)
Sets the missing.- Parameters:
missing
- the new missing
-
getSize
public long getSize()
Gets the size.- Returns:
- the size
-
setSize
public void setSize(long size)
Sets the size.- Parameters:
size
- the new size
-
getLastModified
public long getLastModified()
Gets the last modified.- Returns:
- the last modified
-
setLastModified
public void setLastModified(long lastModified)
Sets the last modified.- Parameters:
lastModified
- the new last modified
-
getTimestamp
public Date getTimestamp()
Gets the timestamp.- Returns:
- the timestamp
-
getEncoding
public String getEncoding()
Gets the encoding.- Returns:
- the encoding
-
setEncoding
public void setEncoding(String encoding)
Sets the encoding.- Parameters:
encoding
- the new encoding
-
-