|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.agena.minerva.util.model.ModificationLog
public class ModificationLog
Nested Class Summary | |
---|---|
class |
ModificationLog.ModificationLogItem
Inner class for the items which go into the modification log |
Field Summary | |
---|---|
static double |
version
|
Fields inherited from interface uk.co.agena.minerva.util.model.Writable |
---|
FIELD_SEPARATOR |
Constructor Summary | |
---|---|
ModificationLog()
empty constructor |
Method Summary | |
---|---|
ModificationLog.ModificationLogItem |
addLog(NameDescription description)
Adds a modifiatcion item to the log, and returns it |
void |
clearLog()
Removes all items from the log |
java.util.List |
getModificationItems()
A list of the modifications for the log |
java.lang.String |
getTitle()
The title of the modification log |
double |
getVersion()
Returns the version of the class. |
int |
read(java.util.List strings,
int currentLineNumber)
|
void |
setModificationItems(java.util.List modificationItems)
A list of the modifications for the log |
void |
setTitle(java.lang.String title)
The title of the modification log |
void |
setVersion(double version)
Sets the version number of the class. |
java.lang.String |
toString()
returns the log as a string |
java.util.List |
write()
Writes the object in question to a List of Strings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static double version
Constructor Detail |
---|
public ModificationLog()
Method Detail |
---|
public ModificationLog.ModificationLogItem addLog(NameDescription description)
description
-
public void clearLog()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List getModificationItems()
public void setModificationItems(java.util.List modificationItems)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.util.List write() throws MinervaReadWriteException
Writable
write
in interface Writable
MinervaReadWriteException
- if therepublic int read(java.util.List strings, int currentLineNumber) throws MinervaReadWriteException
read
in interface Writable
MinervaReadWriteException
public double getVersion()
Writable
getVersion
in interface Writable
public void setVersion(double version)
Writable
setVersion
in interface Writable
version
- the version number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |