Class EditorSchemaMapper
java.lang.Object
dev.getelements.elements.service.util.EditorSchemaMapper
- All Implemented Interfaces:
MapperRegistry.Mapper<MetadataSpec,
EditorSchema>
- Direct Known Subclasses:
EditorSchemaMapperImpl
public abstract class EditorSchemaMapper
extends Object
implements MapperRegistry.Mapper<MetadataSpec,EditorSchema>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract EditorSchema
forward
(MetadataSpec source) Maps the source to the destination.protected void
mapSchema
(EditorSchema editorSchema, MetadataSpec metadataSpec) void
setApiOutsideUrl
(String apiOutsideUrl) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.getelements.elements.sdk.model.util.MapperRegistry.Mapper
findDestinationType, findSourceType
-
Constructor Details
-
EditorSchemaMapper
public EditorSchemaMapper()
-
-
Method Details
-
forward
Description copied from interface:MapperRegistry.Mapper
Maps the source to the destination.- Specified by:
forward
in interfaceMapperRegistry.Mapper<MetadataSpec,
EditorSchema> - Parameters:
source
- the source to the destination- Returns:
- the destination
-
mapSchema
-
getApiOutsideUrl
-
setApiOutsideUrl
-