fromLiteralTermMethod property

String? fromLiteralTermMethod
final

Optional static method name to use for converting a LiteralTerm back to the object type.

This method must be a static method on the annotated class that accepts a LiteralTerm and returns an instance of the annotated class. If not specified, the generator will look for a property marked with @RdfValue and attempt to deserialize the literal value into that property's type and pass it to the class's constructor.

Implementation

final String? fromLiteralTermMethod;