public class PassivationDigest
extends java.lang.Object
implements java.io.Serializable
CustomPassivationMechanism
are free to serialize instances of this
class, but must pay careful attention to the serialVersionUID
if using Java Serialization. Two digests are considered equal when the have the same PassivationKey
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static long |
serialVersionUID |
static java.lang.String |
VERSION |
Constructor and Description |
---|
PassivationDigest()
Deserialization constructor.
|
PassivationDigest(PassivationKey aKey,
PassivationMetadata aMetadata)
Create a new digest.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
PassivationKey |
getKey() |
PassivationMetadata |
getMetadata() |
int |
hashCode() |
public static final java.lang.String VERSION
public static final java.lang.String COPYRIGHT
public static final long serialVersionUID
public PassivationDigest(PassivationKey aKey, PassivationMetadata aMetadata)
aKey
- The key to a PassivationRecord
object.aMetadata
- Metadata about a PassivationRecord
.public PassivationDigest()
public final PassivationKey getKey()
public final PassivationMetadata getMetadata()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Pegasystems Inc. All Rights Reserved.