public <T extends OrientElement> T setProperties(final Object... fields) {
    if (checkDeletedInTx())
      graph.throwRecordNotFoundException(getIdentity(), "The graph element " + getIdentity() + " has been deleted");

    setPropertiesInternal(fields);
    save();
    return (T) this;
  }
public <T extends OrientElement> T setProperties(final Object... fields) {
    if (checkDeletedInTx())
      graph.throwRecordNotFoundException(getIdentity(), "The graph element " + getIdentity() + " has been deleted");

    setPropertiesInternal(fields);
    save();
    return (T) this;
  }
public < T extends OrientElement > T setProperties ( final Object ... fields ) { if ( checkDeletedInTx ( ) ) graph . throwRecordNotFoundException ( getIdentity ( ) , "The graph element " + getIdentity ( ) + " has been deleted" ) ; setPropertiesInternal ( fields ) ; save ( ) ; return ( T ) this ; }
(Blueprints Extension) Sets multiple properties in one shot against Vertices and Edges. This improves performance avoiding to
save the graph element at every property set.<br>
Example:
<p>
<code>
vertex.setProperties( "name", "Jill", "age", 33, "city", "Rome", "born", "Victoria, TX" );
</code> You can also pass a Map of values as first argument. In this case all the map entries will be set as element
properties:
<p>
<code>
Map<String,Object> props = new HashMap<String,Object>();
props.put("name", "Jill");
props.put("age", 33);
props.put("city", "Rome");
props.put("born", "Victoria, TX");
vertex.setProperties(props);
</code>

@param fields Odd number of fields to set as repeating pairs of key, value, or if one parameter is received and it's a Map, the Map
entries are used as field key/value pairs.
@param <T>
@return
( Blueprints Extension ) Sets multiple properties in one shot against Vertices and Edges . This improves performance avoiding to save the graph element at every property set . <br > Example : <p > <code > vertex . setProperties ( name Jill age 33 city Rome born Victoria TX ) ; < / code > You can also pass a Map of values as first argument . In this case all the map entries will be set as element properties : <p > <code > Map<String Object > props = new HashMap<String Object > () ; props . put ( name Jill ) ; props . put ( age 33 ) ; props . put ( city Rome ) ; props . put ( born Victoria TX ) ; vertex . setProperties ( props ) ; < / code >