localResource property

LocalResourceMapping? localResource
final

Specifies how to treat the property's value as a nested anonymous resource.

Use this when the property represents a nested object that shouldn't have its own persistent identifier (IRI). The object will be serialized as a set of triples with an anonymous identifier (internally implemented as an RDF blank node).

Only needed when there is no LocalResourceMapper already registered globally for the property value's type, or when you need to override the standard mapping behavior for this specific relationship.

Implementation

final LocalResourceMapping? localResource;