@Override
  public String getLabel() {
    setCurrentGraphInThreadLocal();

    if (settings.isUseClassForVertexLabel()) {
      final String clsName = getRecord().getClassName();
      if (!OrientVertexType.CLASS_NAME.equals(clsName))
        // RETURN THE CLASS NAME
        return clsName;
    }
    return getRecord().field(OrientElement.LABEL_FIELD_NAME);
  }
@Override
  public String getLabel() {
    setCurrentGraphInThreadLocal();

    if (settings.isUseClassForVertexLabel()) {
      final String clsName = getRecord().getClassName();
      if (!OrientVertexType.CLASS_NAME.equals(clsName))
        
        return clsName;
    }
    return getRecord().field(OrientElement.LABEL_FIELD_NAME);
  }
@ Override public String getLabel ( ) { setCurrentGraphInThreadLocal ( ) ; if ( settings . isUseClassForVertexLabel ( ) ) { final String clsName = getRecord ( ) . getClassName ( ) ; if ( ! OrientVertexType . CLASS_NAME . equals ( clsName ) ) // RETURN THE CLASS NAME return clsName ; } return getRecord ( ) . field ( OrientElement . LABEL_FIELD_NAME ) ; }
(Blueprints Extension) Returns the Vertex's label. By default OrientDB binds the Blueprints Label concept to Vertex Class. To
disable this feature execute this at database level <code>alter database custom useClassForVertexLabel=false </code>
( Blueprints Extension ) Returns the Vertex s label . By default OrientDB binds the Blueprints Label concept to Vertex Class . To disable this feature execute this at database level <code > alter database custom useClassForVertexLabel = false < / code >