code: @Deprecated
    public OIndex<?> getIndex() {
      Set<OIndex<?>> indexes = owner.getInvolvedIndexes(name);
      if (indexes != null && !indexes.isEmpty())
        return indexes.iterator().next();
      return null;
    }
docs: Returns the first index defined for the property.
  
  @deprecated Use {@link OClass#getInvolvedIndexes(String...)} instead.