C# Class Dimi.InstantRDF.RDF.DataAccess.NodeNaming

Node naming methods
显示文件 Open project: coding3d/InstantRDF

Public Methods

Method Description
GetName ( int nodeId ) : string

Gets the name of a node.

IsNamed ( int nodeId ) : bool

Determines whether the specified node is named.

NameExists ( string name ) : bool

Checks if a name already exists.

SaveName ( int nodeId, string name ) : void

Saves the name for the given node id.

Method Details

GetName() public static method

Gets the name of a node.
public static GetName ( int nodeId ) : string
nodeId int The node id.
return string

IsNamed() public static method

Determines whether the specified node is named.
public static IsNamed ( int nodeId ) : bool
nodeId int The node id.
return bool

NameExists() public static method

Checks if a name already exists.
public static NameExists ( string name ) : bool
name string The name.
return bool

SaveName() public static method

Saves the name for the given node id.
public static SaveName ( int nodeId, string name ) : void
nodeId int The node id.
name string The name.
return void