C# Класс RDFSharp.Model.RDFTypedLiteral

RDFTypedLiteral represents a RDFLiteral which is denoted by a Datatype.
Наследование: RDFSharp.Model.RDFLiteral
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
RDFTypedLiteral ( String value, RDFModelEnums datatype ) : System

Default-ctor to build a typed literal with given value and given datatype. Semantic validation of given value against given datatype is performed.

ToString ( ) : String

Gives the string representation of the typed literal

Приватные методы

Метод Описание
HasBooleanDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with boolean

HasDatetimeDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with datetime

HasDecimalDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with decimal

HasStringDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with string

HasTimespanDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with timespan

Описание методов

RDFTypedLiteral() публичный Метод

Default-ctor to build a typed literal with given value and given datatype. Semantic validation of given value against given datatype is performed.
public RDFTypedLiteral ( String value, RDFModelEnums datatype ) : System
value String
datatype RDFModelEnums
Результат System

ToString() публичный Метод

Gives the string representation of the typed literal
public ToString ( ) : String
Результат String