fabric.lang
Interface Object

All Known Subinterfaces:
_booleanArray, _byteArray, _charArray, _doubleArray, _floatArray, _intArray, _longArray, _ObjectArray<T>, _shortArray, DelegatingPrincipal, Inlineable, JavaInlineable, Object._Static, Principal, Principal._Static
All Known Implementing Classes:
_booleanArray._Impl, _booleanArray._Proxy, _byteArray._Impl, _byteArray._Proxy, _charArray._Impl, _charArray._Proxy, _doubleArray._Impl, _doubleArray._Proxy, _floatArray._Impl, _floatArray._Proxy, _intArray._Impl, _intArray._Proxy, _longArray._Impl, _longArray._Proxy, _ObjectArray._Impl, _ObjectArray._Proxy, _shortArray._Impl, _shortArray._Proxy, DelegatingPrincipal._Impl, DelegatingPrincipal._Proxy, Inlineable._Proxy, JavaInlineable._Proxy, Object._Impl, Object._Proxy, Object._Static._Impl, Object._Static._Proxy, Principal._Impl, Principal._Proxy, Principal._Static._Impl, Principal._Static._Proxy, Surrogate, WrappedJavaInlineable

public interface Object

All Fabric objects implement this interface.


Nested Class Summary
static class Object._Impl
          _Impl objects hold the actual code and data of Fabric objects and may be evicted from memory.
static class Object._Proxy
          _Proxy objects behave like regular objects by delegating to _Impl objects, pointed to by a soft reference.
static interface Object._Static
          _Static objects hold all static state for the class.
 
Method Summary
 void $forceRenumber(long onum)
          Deprecated.  
 long $getOnum()
          The object's onum.
 Object._Proxy $getProxy()
          A proxy for this object.
 Store $getStore()
          The store where the object resides.
 java.lang.Object $unwrap()
          Unwraps a wrapped Java inlineable.
 Statistics createStatistics()
          Creates a Statistics object to determine promises for this Object.
 boolean equals(Object o)
          Whether this object is "equal" to another object.
 Object fetch()
          Fetches the object if this is a proxy; returns itself if it's an impl.
 Label get$label()
          Label for this object
 boolean idEquals(Object o)
          Whether this object has the same identity as another object.
 

Method Detail

$getStore

Store $getStore()
The store where the object resides.


$getOnum

long $getOnum()
The object's onum.


$getProxy

Object._Proxy $getProxy()
A proxy for this object.


get$label

Label get$label()
Label for this object


equals

boolean equals(Object o)
Whether this object is "equal" to another object.


idEquals

boolean idEquals(Object o)
Whether this object has the same identity as another object.


$unwrap

java.lang.Object $unwrap()
Unwraps a wrapped Java inlineable.


fetch

Object fetch()
Fetches the object if this is a proxy; returns itself if it's an impl.


$forceRenumber

void $forceRenumber(long onum)
Deprecated. 

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).


createStatistics

Statistics createStatistics()
Creates a Statistics object to determine promises for this Object.