C# Class RDFSharp.Model.RDFCollection

RDFCollection represents a generic collection in the RDF model. It is made up of items, which must be all resources or all literals.
Inheritance: IEnumerable
Afficher le fichier Open project: mdesalvo/RDFSharp Class Usage Examples

Private Properties

Свойство Type Description
IEnumerable IEnumerator

Méthodes publiques

Méthode Description
AddItem ( Object item ) : RDFCollection

Adds the given item to the collection, avoiding duplicate insertions

ClearItems ( ) : void

Removes all the items from the collection

RDFCollection ( RDFModelEnums itemType ) : System

Default ctor to build an empty collection of the given type

ReifyCollection ( ) : RDFGraph

Builds the reification graph of the collection

RemoveItem ( Object item ) : RDFCollection

Removes the given item from the collection

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Exposes an untyped enumerator on the collection's items

Method Details

AddItem() public méthode

Adds the given item to the collection, avoiding duplicate insertions
public AddItem ( Object item ) : RDFCollection
item Object
Résultat RDFCollection

ClearItems() public méthode

Removes all the items from the collection
public ClearItems ( ) : void
Résultat void

RDFCollection() public méthode

Default ctor to build an empty collection of the given type
public RDFCollection ( RDFModelEnums itemType ) : System
itemType RDFModelEnums
Résultat System

ReifyCollection() public méthode

Builds the reification graph of the collection
public ReifyCollection ( ) : RDFGraph
Résultat RDFGraph

RemoveItem() public méthode

Removes the given item from the collection
public RemoveItem ( Object item ) : RDFCollection
item Object
Résultat RDFCollection