Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


search: keywords: ['Java API', 'OProperty', 'set name', 'property name', 'setName']

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.