public class Item extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and 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.
|
public static final int STATE_OOD
public static final int STATE_READY
public static final int STATE_FAILED
public String getName()
public void setName(String name)
name - the new namepublic Exception getException()
public void setException(Exception exception)
exception - the new exceptionpublic long getCompileTime()
public void setCompileTime(long compileTime)
compileTime - the new compile timepublic int getState()
public void setState(int state)
state - the new statepublic int getLevel()
public void setLevel(int level)
level - the new levelpublic boolean isMissing()
public void setMissing(boolean missing)
missing - the new missingpublic long getSize()
public void setSize(long size)
size - the new sizepublic long getLastModified()
public void setLastModified(long lastModified)
lastModified - the new last modifiedpublic Date getTimestamp()
public String getEncoding()
public void setEncoding(String encoding)
encoding - the new encodingCopyright © 2009–2020 psi-probe. All rights reserved.