org.argouml.persistence
Class LastLoadInfo

java.lang.Object
  extended byorg.argouml.persistence.LastLoadInfo

public class LastLoadInfo
extends Object

The results of the last project load.


Field Summary
private static LastLoadInfo INSTANCE
           
private  String lastLoadMessage
           
private  boolean lastLoadStatus
           
 
Constructor Summary
private LastLoadInfo()
           
 
Method Summary
static LastLoadInfo getInstance()
          Get the singletone instance.
 String getLastLoadMessage()
          Get the last message which caused loading to fail.
 boolean getLastLoadStatus()
           
 void setLastLoadMessage(String msg)
          Set the last load message.
 void setLastLoadStatus(boolean status)
          Set the status of the last load attempt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastLoadStatus

private boolean lastLoadStatus

lastLoadMessage

private String lastLoadMessage

INSTANCE

private static final LastLoadInfo INSTANCE
Constructor Detail

LastLoadInfo

private LastLoadInfo()
Method Detail

getInstance

public static LastLoadInfo getInstance()
Get the singletone instance.

Returns:
the singletone instance.

getLastLoadMessage

public String getLastLoadMessage()
Get the last message which caused loading to fail. Used for junit tests.

Returns:
the last message which caused loading to fail

setLastLoadMessage

public void setLastLoadMessage(String msg)
Set the last load message. Used for junit tests.

Parameters:
msg - the last load message

getLastLoadStatus

public boolean getLastLoadStatus()
Returns:
the status of the last load attempt. Used for junit tests.

setLastLoadStatus

public void setLastLoadStatus(boolean status)
Set the status of the last load attempt. Used for junit tests.

Parameters:
status - the status of the last load attempt


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook