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.

Syntax

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

Return Value

This method returns an updated OProperty instance.