public class DatabaseAction extends Object
| Constructor and Description |
|---|
DatabaseAction(DatabaseActionType databaseActionType,
Ownable ownable)
May only be used with DatabaseActionType UNOWN
|
DatabaseAction(DatabaseActionType databaseActionType,
Ownable ownable,
User user)
Instantiates a new DatabaseAction.
|
DatabaseAction(DatabaseActionType databaseActionType,
User user)
May only be used with DatabaseActionType DROP
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DatabaseActionType |
getActionType() |
Ownable |
getOwnable() |
long |
getTimeStamp() |
User |
getUser() |
int |
hashCode() |
String |
toString() |
public DatabaseAction(DatabaseActionType databaseActionType, Ownable ownable, User user)
databaseActionType - the DatabaseActionTypeownable - the ownableuser - the user, may be null or left out if databaseActionType is UNOWNpublic DatabaseAction(DatabaseActionType databaseActionType, Ownable ownable)
databaseActionType - the DatabaseActionTypeownable - the ownablepublic DatabaseAction(DatabaseActionType databaseActionType, User user)
databaseActionType - the DatabaseActionTypeuser - the user whos data will be droppedpublic User getUser()
public Ownable getOwnable()
public long getTimeStamp()
public DatabaseActionType getActionType()
Copyright © 2015. All rights reserved.