public class WrappedJavaInlineable<T> extends java.lang.Object implements JavaInlineable
JavaInlineable._Proxy
Object._Impl, Object._Static
Modifier and Type | Method and Description |
---|---|
void |
$forceRenumber(long onum)
This method changes the onum of the object.
|
long |
$getOnum()
The object's onum.
|
Object._Proxy |
$getProxy() |
Store |
$getStore()
The store where the object resides.
|
Object |
$initLabels()
Initializes the object's update label and access policy.
|
void |
$initPartitions()
Initializes the object's partitions (if any) by calling their initializer
methods.
|
T |
$unwrap()
Unwraps a wrapped Java inlineable.
|
static java.lang.Object |
$unwrap(Object obj)
Given a Fabric object, returns an unwrapped version of that object.
|
static Object |
$wrap(java.lang.Object obj)
Given an object that, in the Fabric type system, implements
fabric.lang.JavaInlineable, returns a wrapped version of that object.
|
static ObjectArray |
$wrap(Store store,
Label label,
ConfPolicy accessPolicy,
java.lang.Object[] array)
Creates a Fabric version of the given array.
|
Statistics |
createStatistics()
Creates a Statistics object to determine promises for this Object.
|
boolean |
equals(Object o)
Whether this object is "equal" to another object.
|
boolean |
equals(java.lang.Object obj) |
Object |
fabric$lang$Object$()
Calls $initLabels
|
Object |
fetch()
Fetches the object if this is a proxy; returns itself if it's an impl.
|
ConfPolicy |
get$$accessPolicy()
The object's access policy, specifying the program contexts in which it is
safe to use this object.
|
Label |
get$$updateLabel()
The label that protects this object at run time.
|
int |
hashCode() |
boolean |
idEquals(Object other)
Whether this object has the same identity as another object.
|
int |
oidHashCode()
A hash of the object's oid.
|
ConfPolicy |
set$$accessPolicy(ConfPolicy val) |
Label |
set$$updateLabel(Label val) |
java.lang.String |
toString() |
public final T obj
public static final Object $wrap(java.lang.Object obj)
public static final java.lang.Object $unwrap(Object obj)
public static ObjectArray $wrap(Store store, Label label, ConfPolicy accessPolicy, java.lang.Object[] array)
public Store $getStore()
Object
public long $getOnum()
Object
public Label get$$updateLabel()
Object
get$$updateLabel
in interface Object
public Label set$$updateLabel(Label val)
set$$updateLabel
in interface Object
public ConfPolicy get$$accessPolicy()
Object
get$$accessPolicy
in interface Object
public ConfPolicy set$$accessPolicy(ConfPolicy val)
set$$accessPolicy
in interface Object
public Object $initLabels()
Object
$initLabels
in interface Object
public void $initPartitions()
Object
$initPartitions
in interface Object
public Object fabric$lang$Object$()
Object
fabric$lang$Object$
in interface Object
public boolean idEquals(Object other)
Object
public int oidHashCode()
Object
oidHashCode
in interface Object
public Object._Proxy $getProxy()
public Object fetch()
Object
public T $unwrap()
Object
public boolean equals(Object o)
Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void $forceRenumber(long onum)
Object
This method changes the onum of the object. Unless if you really know what you're doing, you should not call this, as it leaves the system in an inconsistent state.
This method is used to initialize object databases with objects at well-known onums (e.g., naming map and store principal).
$forceRenumber
in interface Object
public Statistics createStatistics()
Object
createStatistics
in interface Object