summaryrefslogtreecommitdiffstats
path: root/versioning-lib/src/main/java/org/onap/sdc/common/versioning/services/convertors/VersionConvertor.java
blob: beab1d931cd005d3f1f22b158fdb456b737062af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.onap.sdc.common.versioning.services.convertors;

import org.onap.sdc.common.versioning.services.types.Version;

public interface VersionConvertor<T> {

    String getItemType();

    //Version toVersion(T model);

    void toVersion(T source, Version target);

    //void fromVersion(Version source, T target);

    T fromVersion(Version version);
}