Class OEdgeDocument

All Implemented Interfaces:
ODetachable, OIdentifiable, ORecordElement, OEdge, OElement, ORecord, ORecordSchemaAware, OSerializableStream, Externalizable, Serializable, Comparable<OIdentifiable>, Iterable<Map.Entry<String,Object>>, Comparator<OIdentifiable>

public class OEdgeDocument extends ODocument implements OEdge
See Also:
  • Constructor Details

    • OEdgeDocument

      public OEdgeDocument(OClass cl)
    • OEdgeDocument

      public OEdgeDocument(ODatabaseSession session, String cl)
    • OEdgeDocument

      public OEdgeDocument()
    • OEdgeDocument

      public OEdgeDocument(ODatabaseSession session)
  • Method Details

    • getFrom

      public OVertex getFrom()
      Specified by:
      getFrom in interface OEdge
    • getTo

      public OVertex getTo()
      Specified by:
      getTo in interface OEdge
    • isLightweight

      public boolean isLightweight()
      Specified by:
      isLightweight in interface OEdge
    • copy

      public OEdgeDocument copy()
      Description copied from class: ODocument
      Copies the current instance to a new one. Hasn't been choose the clone() to let ODocument return type. Once copied the new instance has the same identity and values but all the internal structure are totally independent by the source.
      Specified by:
      copy in interface ORecord
      Overrides:
      copy in class ODocument
      Returns:
      The Object instance itself giving a "fluent interface". Useful to call multiple methods in chain.
    • deleteLinks

      public static void deleteLinks(OEdge delegate)