public class HandleCodes extends Object
Handles codes
Modifier and Type | Field and Description |
---|---|
static int |
HANDLE_MINUS_OFFSET_REFERENCE
The handle minus offset reference.
|
static int |
HANDLE_MINUS_ONE_REFERENCE
The handle minus one reference.
|
static int |
HANDLE_PLUS_OFFSET_REFERENCE
The handle plus offset reference.
|
static int |
HANDLE_PLUS_ONE_REFERENCE
The handle plus one reference.
|
static int |
HARD_OWNERSHIP_REFERENCE
Hard ownership reference: the owner needs the owned object.
|
static int |
HARD_POINTER_REFERENCE
Hard pointer reference: the referencing object needs the referenced object, but both are
owned by another object.
|
static int |
SOFT_OWNERSHIP_REFERENCE
Soft ownership reference: the owner does not need the owned object.
|
static int |
SOFT_POINTER_REFERENCE
Soft pointer reference: the referencing object does not need the referenced object and vice
versa.
|
Constructor and Description |
---|
HandleCodes()
Initializes a new instance of the
HandleCodes class. |
public static int SOFT_OWNERSHIP_REFERENCE
Soft ownership reference: the owner does not need the owned object. The owned object cannot exist by itself. Code - 2
public static int HARD_OWNERSHIP_REFERENCE
Hard ownership reference: the owner needs the owned object. The owned object cannot exist by itself. Code - 3
public static int SOFT_POINTER_REFERENCE
Soft pointer reference: the referencing object does not need the referenced object and vice versa. Code - 4
public static int HARD_POINTER_REFERENCE
Hard pointer reference: the referencing object needs the referenced object, but both are owned by another object. Code - 5
public static int HANDLE_PLUS_ONE_REFERENCE
The handle plus one reference. Code - 6
public static int HANDLE_MINUS_ONE_REFERENCE
The handle minus one reference. Code - 8
public static int HANDLE_PLUS_OFFSET_REFERENCE
The handle plus offset reference. Code - 10 (0xA)
public static int HANDLE_MINUS_OFFSET_REFERENCE
The handle minus offset reference. Code - 12 (0xC)
public HandleCodes()
Initializes a new instance of the HandleCodes
class.