public class MembershipDescriptor extends Object implements Serializable
Constructor and Description |
---|
MembershipDescriptor()
Default constructor.
|
MembershipDescriptor(ObjectIdentity context)
MembershipDescriptor constructor given a MembershipContext.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
ObjectIdentity |
getContext()
Get the context that this MembershipDescriptor represents.
|
long |
getRevision()
Get the internal revision number of this object.
|
int |
hashCode()
Return a hash code value for the object.
|
void |
setContext(ObjectIdentity context)
Set the context that this MembershipDescriptor represents.
|
void |
setRevision(long revision)
Set the internal revision number of this object.
|
String |
toString()
Return a string representation of the object.
|
public MembershipDescriptor()
public MembershipDescriptor(ObjectIdentity context)
context
- The context for which to create a MembershipDescriptor.public long getRevision()
public void setRevision(long revision)
revision
- the revision to setpublic void setContext(ObjectIdentity context)
context
- the context that this membership represents.public ObjectIdentity getContext()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA