Package net.handle.hdllib
Class Transaction
- java.lang.Object
-
- net.handle.hdllib.Transaction
-
public class Transaction extends java.lang.Object
Class that holds the information known about a single transaction on a handle server. This is generally never used on the client side.
-
-
Field Summary
Fields Modifier and Type Field Description byte
action
static byte
ACTION_CREATE_HANDLE
static byte
ACTION_DELETE_ALL
static byte
ACTION_DELETE_HANDLE
static byte
ACTION_HOME_NA
static byte
ACTION_PLACEHOLDER
static byte
ACTION_UNHOME_NA
static byte
ACTION_UPDATE_HANDLE
long
date
byte[]
handle
int
hashOnAll
int
hashOnId
int
hashOnNA
long
txnId
HandleValue[]
values
-
Constructor Summary
Constructors Constructor Description Transaction()
Transaction(long txnId, byte[] handle, byte action, long date)
Transaction(long txnId, byte[] handle, HandleValue[] values, byte action, long date)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
actionToString(byte action)
static byte
stringToAction(java.lang.String action)
java.lang.String
toString()
-
-
-
Field Detail
-
ACTION_PLACEHOLDER
public static final byte ACTION_PLACEHOLDER
- See Also:
- Constant Field Values
-
ACTION_CREATE_HANDLE
public static final byte ACTION_CREATE_HANDLE
- See Also:
- Constant Field Values
-
ACTION_DELETE_HANDLE
public static final byte ACTION_DELETE_HANDLE
- See Also:
- Constant Field Values
-
ACTION_UPDATE_HANDLE
public static final byte ACTION_UPDATE_HANDLE
- See Also:
- Constant Field Values
-
ACTION_HOME_NA
public static final byte ACTION_HOME_NA
- See Also:
- Constant Field Values
-
ACTION_UNHOME_NA
public static final byte ACTION_UNHOME_NA
- See Also:
- Constant Field Values
-
ACTION_DELETE_ALL
public static final byte ACTION_DELETE_ALL
- See Also:
- Constant Field Values
-
txnId
public long txnId
-
handle
public byte[] handle
-
action
public byte action
-
date
public long date
-
hashOnAll
public int hashOnAll
-
hashOnNA
public int hashOnNA
-
hashOnId
public int hashOnId
-
values
public HandleValue[] values
-
-
Constructor Detail
-
Transaction
public Transaction()
-
Transaction
public Transaction(long txnId, byte[] handle, HandleValue[] values, byte action, long date)
-
Transaction
public Transaction(long txnId, byte[] handle, byte action, long date)
-
-