graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java
public OrientElement detach() {
    // EARLY UNMARSHALL FIELDS
    getRecord().setLazyLoad(false);
    getRecord().fieldNames();
    // COPY GRAPH SETTINGS TO WORK OFFLINE
    if (graph != null) {
      settings = graph.settings.copy();
      graph = null;
    }
    classicDetachMode = true;
    return this;
  }
public OrientElement detach() {
    // EARLY UNMARSHALL FIELDS
    getRecord().setLazyLoad(false);
    getRecord().fieldNames();
    // COPY GRAPH SETTINGS TO WORK OFFLINE
    if (graph != null) {
      settings = graph.settings.copy();
      graph = null;
    }
    classicDetachMode = true;
    return this;
  }
public OrientElement detach ( ) { // EARLY UNMARSHALL FIELDS getRecord ( ) . setLazyLoad ( false ) ; getRecord ( ) . fieldNames ( ) ; // COPY GRAPH SETTINGS TO WORK OFFLINE if ( graph != null ) { settings = graph . settings . copy ( ) ; graph = null ; } classicDetachMode = true ; return this ; }
(Blueprints Extension) Removes the reference to the current graph instance to let working offline. To reattach it use @attach.
<p>
This methods works only in "classic detach/attach mode" when dettachment/attachment is done manually, by default it is done
automatically, and currently active graph connection will be used as graph elements owner.

@return Current object to allow chained calls.
@see #attach(OrientBaseGraph), #isDetached
( Blueprints Extension ) Removes the reference to the current graph instance to let working offline . To reattach it use @attach . <p > This methods works only in classic detach / attach mode when dettachment / attachment is done manually by default it is done automatically and currently active graph connection will be used as graph elements owner .