public class WrappedJavaInlineable<T> extends java.lang.Object implements JavaInlineable
JavaInlineable._ProxyObject._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()
Objectpublic long $getOnum()
Objectpublic Label get$$updateLabel()
Objectget$$updateLabel in interface Objectpublic Label set$$updateLabel(Label val)
set$$updateLabel in interface Objectpublic ConfPolicy get$$accessPolicy()
Objectget$$accessPolicy in interface Objectpublic ConfPolicy set$$accessPolicy(ConfPolicy val)
set$$accessPolicy in interface Objectpublic Object $initLabels()
Object$initLabels in interface Objectpublic void $initPartitions()
Object$initPartitions in interface Objectpublic Object fabric$lang$Object$()
Objectfabric$lang$Object$ in interface Objectpublic boolean idEquals(Object other)
Objectpublic int oidHashCode()
ObjectoidHashCode in interface Objectpublic Object._Proxy $getProxy()
public Object fetch()
Objectpublic T $unwrap()
Objectpublic boolean equals(Object o)
Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void $forceRenumber(long onum)
ObjectThis 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 Objectpublic Statistics createStatistics()
ObjectcreateStatistics in interface Object