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

poussecafe.doc.model.domainprocessdoc.StepNameAdapter Maven / Gradle / Ivy

There is a newer version: 0.29.0
Show newest version
package poussecafe.doc.model.domainprocessdoc;

import poussecafe.attribute.adapters.DataAdapter;

public class StepNameAdapter implements DataAdapter {

    @Override
    public StepName adaptGet(String storedValue) {
        return new StepName(storedValue);
    }

    @Override
    public String adaptSet(StepName valueToStore) {
        return valueToStore.stringValue();
    }

    public static StepNameAdapter instance() {
        return INSTANCE;
    }

    private static final StepNameAdapter INSTANCE = new StepNameAdapter();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy