protected static void deleteEdgeIfAny(final OIdentifiable iRecord, boolean forceReload) {
    if (iRecord != null) {
      final ODocument doc = getDocument(iRecord, forceReload);
      if (doc != null) {
        final OImmutableClass clazz = ODocumentInternal.getImmutableSchemaClass(doc);
        if (clazz != null && clazz.isEdgeType())
          // DELETE THE EDGE RECORD TOO
          doc.delete();
      }
    }
  }
protected static void deleteEdgeIfAny(final OIdentifiable iRecord, boolean forceReload) {
    if (iRecord != null) {
      final ODocument doc = getDocument(iRecord, forceReload);
      if (doc != null) {
        final OImmutableClass clazz = ODocumentInternal.getImmutableSchemaClass(doc);
        if (clazz != null && clazz.isEdgeType())
          
          doc.delete();
      }
    }
  }
protected static void deleteEdgeIfAny ( final OIdentifiable iRecord , boolean forceReload ) { if ( iRecord != null ) { final ODocument doc = getDocument ( iRecord , forceReload ) ; if ( doc != null ) { final OImmutableClass clazz = ODocumentInternal . getImmutableSchemaClass ( doc ) ; if ( clazz != null && clazz . isEdgeType ( ) ) // DELETE THE EDGE RECORD TOO doc . delete ( ) ; } } }
(Internal only)
( Internal only )