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)
Argument | Type | Description |
---|---|---|
name |
String |
Defines the new property name |
Return Value
This method returns an updated OProperty
instance.