public final class JIPointer extends Object implements Serializable
| Constructor and Description |
|---|
JIPointer(Class value,
boolean isReferenceTypePtr)
Creates an instance of this class where the referent is of the type
value. |
JIPointer(Object value)
Creates an instance of this class where the referent is
value. |
JIPointer(Object value,
boolean isReferenceTypePtr)
Creates an instance of this class where the referent is
value. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getReferent()
Returns the referent encapsulated by this pointer.
|
Integer |
getReferentIdentifier()
Returns the referent identifier.
|
boolean |
isNull()
Returns status if this pointer is
null. |
boolean |
isReference()
Returns status whether this is a reference type pointer or not.
|
String |
toString() |
public JIPointer(Class value, boolean isReferenceTypePtr)
value.
Used when deserializing this pointer.value - null is acceptableisReferenceTypePtr - true if a referent identifier will not precede this ptr.public JIPointer(Object value, boolean isReferenceTypePtr)
value.
Used when serializing this pointer.value - null is acceptableisReferenceTypePtr - true if a referent Identifier will not precede this ptr.public JIPointer(Object value)
value.
Used when serializing this pointer. This pointer is not of reference type.value - public Object getReferent()
public boolean isReference()
true if this is a reference type pointer.public Integer getReferentIdentifier()
public boolean isNull()
null.true if the pointer is null.Copyright © 2017 LSST. All rights reserved.