public class DatabaseAction extends Object
| Constructor and Description |
|---|
DatabaseAction(DatabaseActionType databaseActionType,
Ownable ownable,
User user)
Instantiates a new DatabaseAction.
|
DatabaseAction(Ownable ownable)
Creates a unown action
|
DatabaseAction(User user)
Creates a user drop action
|
| 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(Ownable ownable)
ownable - the ownablepublic DatabaseAction(User user)
user - the user whos data will be droppedpublic User getUser()
public Ownable getOwnable()
public long getTimeStamp()
public DatabaseActionType getActionType()
Copyright © 2015. All rights reserved.