OClass - setName()

This method sets the name for the class.

Setting the Class Name

Database classes in OrientDB have names, allowing you to reference them and request the OClass instance using a simple string. This method allows you to define the string OrientDB uses as its class name.

Syntax

OClass OClass().setName(String name)
Argument Type Description
name String Defines the new class name

Return Value

This method returns the updated OClass instance.

results matching ""

    No results matching ""