|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.agena.minerva.util.model.Note
public class Note
Created by IntelliJ IDEA. User: Agena UK Ltd Date: May 27, 2004 Time: 3:39:32 PM To change this template use Options | File Templates.
Field Summary |
---|
Fields inherited from interface uk.co.agena.minerva.util.model.Writable |
---|
FIELD_SEPARATOR |
Constructor Summary | |
---|---|
Note()
|
|
Note(java.lang.String shortDescription,
java.lang.String longDescription)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones the note |
NameDescription |
getNd()
The name description that holds the contents of the note |
double |
getVersion()
Returns the version of the class. |
int |
read(java.util.List strings,
int currentLineNumber)
|
void |
setNd(NameDescription nd)
The name description that holds the contents of the note |
void |
setText(java.lang.String shortDescription,
java.lang.String longDescription)
Sets the text in the connected name / description |
void |
setVersion(double version)
Sets the version number of the class. |
java.lang.String |
toString()
Overrides the to string method and returns the short description of th note |
java.util.List |
write()
Writes the object in question to a List of Strings. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Note(java.lang.String shortDescription, java.lang.String longDescription)
public Note()
Method Detail |
---|
public void setText(java.lang.String shortDescription, java.lang.String longDescription)
shortDescription
- longDescription
- public NameDescription getNd()
public void setNd(NameDescription nd)
public double getVersion()
Writable
getVersion
in interface Writable
public void setVersion(double version)
Writable
setVersion
in interface Writable
version
- the version numberpublic 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 java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |