Heracles.ts

@hydra-cg/heracles.ts > IPropertyMapping

Interface: IPropertyMapping

Describes a simple RDF mapping in Heracles’ data model.

interface:

Hierarchy

IPropertyMapping

Index

Properties


Properties

<Optional> default

● default: Literal | MappingsProcessor

Defined in JsonLd/IPropertyMapping.ts:37

Gets the either default literal value or a factory method to be used for this property.

readonly:

returns:


propertyName

● propertyName: string

Defined in JsonLd/IPropertyMapping.ts:16

Gets the property name.

readonly:

returns:


<Optional> required

● required: boolean

Defined in JsonLd/IPropertyMapping.ts:30

Gets a value indicating whether the property is required and needs to be created anyway.

readonly:

returns:


<Optional> type

● type: string[]

Defined in JsonLd/IPropertyMapping.ts:23

Gets the type of the resource that this property is valid for.

readonly:

returns: