OProperty - setName()

This method defines the name of the property.

Retrieving the Property Name

OrientDB differentiates between properties by the property name. Using this method you can set the name from an OProperty instance.


OProperty OProperty().setName(String name)
nameStringDefines the new property name

Return Value

This method returns an updated OProperty instance.