Package org.incenp.obofoundry.sssom.owl
Class StandardMapMetadataTransformer<T>
- java.lang.Object
-
- org.incenp.obofoundry.sssom.owl.StandardMapMetadataTransformer<T>
-
- All Implemented Interfaces:
IMetadataTransformer<T,org.semanticweb.owlapi.model.IRI>
public class StandardMapMetadataTransformer<T> extends Object implements IMetadataTransformer<T,org.semanticweb.owlapi.model.IRI>
A class to transform mapping metadata slots into into their mapped IRIs according to the SSSOM specification.This class differs from the
DirectMetadataTransformerclass in that it takes into account the value of theslot_urifield for the slot in the SSSOM schema, if the slot has such a field. For example, when applied to thecreator_idslot, this class will return the IRI fordcterms:creator, instead ofsssom:creator_id.
-
-
Constructor Summary
Constructors Constructor Description StandardMapMetadataTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.semanticweb.owlapi.model.IRItransform(Slot<T> slot)Transforms a metadata slot into something else.
-
-
-
Method Detail
-
transform
public org.semanticweb.owlapi.model.IRI transform(Slot<T> slot)
Description copied from interface:IMetadataTransformerTransforms a metadata slot into something else.- Specified by:
transformin interfaceIMetadataTransformer<T,org.semanticweb.owlapi.model.IRI>- Parameters:
slot- The slot to transform.- Returns:
- The object generated from the slot.
-
-