com.waveset.adapter
Class TopSecretResourceAdapter.Event

java.lang.Object
  extended bycom.waveset.adapter.TopSecretResourceAdapter.Event
Enclosing class:
TopSecretResourceAdapter

protected static class TopSecretResourceAdapter.Event
extends java.lang.Object

Contains the information that is parsed out of a line of the TSSAUDIT output. It corresponds to a create, update, or delete operation on a TopSecret account.


Field Summary
static int CREATE
           
protected static java.lang.String CREATE_STR
           
static int DELETE
           
protected static java.lang.String DELETE_STR
           
protected static java.lang.String UNKNOWN_STR
           
static int UPDATE
           
protected static java.lang.String UPDATE_STR
           
 
Constructor Summary
TopSecretResourceAdapter.Event(java.lang.String account, int type, java.lang.String reportData, long timeStamp, java.lang.String admin)
           
 
Method Summary
 void checkValid(int type)
           
 java.lang.String getAccount()
           
 java.lang.String getAdmin()
           
 java.lang.String getReportData()
           
 long getTimeStamp()
           
 int getType()
           
 java.lang.String getTypeString()
           
 boolean isValid(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATE

public static final int CREATE
See Also:
Constant Field Values

UPDATE

public static final int UPDATE
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

CREATE_STR

protected static final java.lang.String CREATE_STR
See Also:
Constant Field Values

UPDATE_STR

protected static final java.lang.String UPDATE_STR
See Also:
Constant Field Values

DELETE_STR

protected static final java.lang.String DELETE_STR
See Also:
Constant Field Values

UNKNOWN_STR

protected static final java.lang.String UNKNOWN_STR
See Also:
Constant Field Values
Constructor Detail

TopSecretResourceAdapter.Event

public TopSecretResourceAdapter.Event(java.lang.String account,
                                      int type,
                                      java.lang.String reportData,
                                      long timeStamp,
                                      java.lang.String admin)
                               throws WavesetException
Method Detail

getAccount

public java.lang.String getAccount()

getType

public int getType()

getTypeString

public java.lang.String getTypeString()

getReportData

public java.lang.String getReportData()

getTimeStamp

public long getTimeStamp()

getAdmin

public java.lang.String getAdmin()

checkValid

public void checkValid(int type)
                throws WavesetException
Throws:
WavesetException

isValid

public boolean isValid(int type)

toString

public java.lang.String toString()