public class ObjectReference extends Object implements Serializable
Constructor and Description |
---|
ObjectReference(ISnapshot snapshot,
long address)
Create a reference to an object based on its address but in a form
where the object id can be found.
|
Modifier and Type | Method and Description |
---|---|
IObject |
getObject()
Get a detailed view of the object
|
long |
getObjectAddress()
The actual address of the object
|
int |
getObjectId()
The id of the object
|
String |
toString()
A simple view of the object as an address
|
public ObjectReference(ISnapshot snapshot, long address)
snapshot
- address
- public long getObjectAddress()
public int getObjectId() throws SnapshotException
SnapshotException
public IObject getObject() throws SnapshotException
SnapshotException