C# Class FluidDB.FluidTag

A FluidDB user, for example named Sara, can tag as many different objects as she likes with her tags, using whatever values she likes. For example, she might tag an object representing The Eiffel Tower, with a sara/opinion of beautiful and another object representing Quantum Electrodynamics, with the sara/opinion of hard.
Mostra file Open project: ntoll/FluidDB.NET Class Usage Examples

Private Properties

Property Type Description
FluidTag System

Public Methods

Method Description
CreateTag ( FluidConnector c, FluidNamespace f_namespace, string name, string description, bool indexed ) : FluidTag

Creates the tag in the namespace

GetTag ( FluidConnector c, FluidNamespace f_namespace, string name, bool returnDescription ) : FluidTag

Returns an object reference to the tag with the specified name in the specified namespace

GetTagInformation ( ) : void

Loads the ID, description and index of the tag (gets the tags of the fluiddb/tag object)

GetValue ( FluidDBGUID objectID ) : string

Returns the value of the tag as a string

GetValue ( FluidDBGUID objectID, string contentType ) : string

Returns the tag value as a string, must use this method if value is stored with a custom content type

Private Methods

Method Description
FluidTag ( FluidConnector c, string name ) : System

Method Details

CreateTag() public static method

Creates the tag in the namespace
public static CreateTag ( FluidConnector c, FluidNamespace f_namespace, string name, string description, bool indexed ) : FluidTag
c FluidConnector
f_namespace FluidNamespace
name string
description string
indexed bool
return FluidTag

GetTag() public static method

Returns an object reference to the tag with the specified name in the specified namespace
public static GetTag ( FluidConnector c, FluidNamespace f_namespace, string name, bool returnDescription ) : FluidTag
c FluidConnector
f_namespace FluidNamespace
name string
returnDescription bool
return FluidTag

GetTagInformation() public method

Loads the ID, description and index of the tag (gets the tags of the fluiddb/tag object)
public GetTagInformation ( ) : void
return void

GetValue() public method

Returns the value of the tag as a string
public GetValue ( FluidDBGUID objectID ) : string
objectID FluidDBGUID
return string

GetValue() public method

Returns the tag value as a string, must use this method if value is stored with a custom content type
public GetValue ( FluidDBGUID objectID, string contentType ) : string
objectID FluidDBGUID
contentType string
return string