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

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

The newest version!
package poussecafe.doc.model.domainprocessdoc;

import poussecafe.attribute.adapters.DataAdapter;

public class StepNameAdapter implements DataAdapter {

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

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

    public static StepNameAdapter instance() {
        return INSTANCE;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy