OProperty - getName()

This method retrieves the name of the property.

Retrieving the Property Name

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

Syntax

String OProperty().getName()

Return Value

This method returns a String value that provides the name of the property.