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

io.sphere.sdk.models.SimpleVersioned Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.models;

class SimpleVersioned extends Base implements Versioned {
    private final String id;
    private final Long version;

    SimpleVersioned(final String id, final Long version) {
        this.id = id;
        this.version = version;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public Long getVersion() {
        return version;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy