edu.wisc.ssec.mcidasv.servermanager
Class RemoteEntryEditor.StatusWrapper

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.servermanager.RemoteEntryEditor.StatusWrapper
Enclosing class:
RemoteEntryEditor

private static class RemoteEntryEditor.StatusWrapper
extends Object

Associates a RemoteAddeEntry with one of the states from RemoteEntryEditor.AddeStatus.


Field Summary
private  RemoteAddeEntry entry
           
private  RemoteEntryEditor.AddeStatus status
          Current "status" of entry.
 
Constructor Summary
RemoteEntryEditor.StatusWrapper(RemoteAddeEntry entry)
          Builds an entry/status pairing.
 
Method Summary
 RemoteAddeEntry getEntry()
          Returns the RemoteAddeEntry stored in this wrapper.
 RemoteEntryEditor.AddeStatus getStatus()
          Returns the current "status" of entry.
 void setStatus(RemoteEntryEditor.AddeStatus status)
          Set the "status" of this entry to a given RemoteEntryEditor.AddeStatus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

private final RemoteAddeEntry entry

status

private RemoteEntryEditor.AddeStatus status
Current "status" of entry.

Constructor Detail

RemoteEntryEditor.StatusWrapper

public RemoteEntryEditor.StatusWrapper(RemoteAddeEntry entry)
Builds an entry/status pairing.

Parameters:
entry - The RemoteAddeEntry to wrap up.
Throws:
NullPointerException - if entry is null.
Method Detail

setStatus

public void setStatus(RemoteEntryEditor.AddeStatus status)
Set the "status" of this entry to a given RemoteEntryEditor.AddeStatus.

Parameters:
status - New status of entry.

getStatus

public RemoteEntryEditor.AddeStatus getStatus()
Returns the current "status" of entry.

Returns:
One of RemoteEntryEditor.AddeStatus.

getEntry

public RemoteAddeEntry getEntry()
Returns the RemoteAddeEntry stored in this wrapper.

Returns:
entry