PropertyBuilderMore
Description
Object that allows to add more properties to the triple related.
Methods
and( property: string | Resource | Variable | Path<PathToken>, objects: string | number | boolean | Date | Resource | Literal | Variable | Collection | BlankNodeProperty | (string | number | boolean | Date | Resource | Literal | Variable | Collection | BlankNodeProperty)[] ): PropertyBuilderMore<T> & TAdded another property and values to the triple.
Parameters
| Name | Type | Description |
|---|---|---|
| string | Resource | Variable | Path<PathToken> | The property to be added in the triple. | |
| string | number | boolean | Date | Resource | Literal | Variable | Collection | BlankNodeProperty | (string | number | boolean | Date | Resource | Literal | Variable | Collection | BlankNodeProperty)[] | The value(s) the property added have. |
Returns
Object that allows to add more data to the triple.
PropertyBuilderMore
Description
Constant with the utils for PropertyBuilderMore objects.
Methods
createFrom<T extends object, C extends Container<TripleToken | BlankNodePropertyToken>, O extends object>( genericFactory: Factory<C, T>, container: C, object: O ): O & PropertyBuilderMore<T>Factory function that allows to crete a PropertyBuilderMore from the object provided.
Parameters
| Name | Type | Description |
|---|---|---|
| Factory<C, T> | The factory of the generic expected to be returned by the | |
| C | The related container with the data for the | |
| O | The base base from where to create the |
Returns
The PropertyBuilderMore statement created from the object provided.