All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.envimate.mapmate.deserialization.builder.CustomPrimitiveDeserializationMethod Maven / Gradle / Ivy

Go to download

MapMate is a modern mapping framework in the scope of mapping data in Json, XML, or YAML format into DTOs composed and vice versa.

There is a newer version: 1.6.8
Show newest version
/*
 * Copyright (C) 2017 [Richard Hauswald, Nune Isabekyan] (envimate GmbH - https://envimate.com/)
 */

package com.envimate.mapmate.deserialization.builder;

import com.envimate.mapmate.MethodName;

public class CustomPrimitiveDeserializationMethod {
    private final DeserializationCPMethod deserializationMethod;
    private final MethodName methodName;

    CustomPrimitiveDeserializationMethod(final MethodName methodName) {
        this.methodName = methodName;
        this.deserializationMethod = null;
    }

    CustomPrimitiveDeserializationMethod(final DeserializationCPMethod deserializationMethod) {
        this.deserializationMethod = deserializationMethod;
        this.methodName = null;
    }

    public DeserializationCPMethod getDeserializationMethod() {
        return this.deserializationMethod;
    }

    public MethodName getMethodName() {
        return this.methodName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy