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

woko.persistence.DefaultAlternateKeyConverter Maven / Gradle / Ivy

The newest version!
package woko.persistence;

import woko.util.Util;

public class DefaultAlternateKeyConverter implements AlternateKeyConverter {

    @Override
    public String convert(Object obj, Util.PropertyNameAndAnnotation propAndAnnot, String propName, Object propValue) {
        Util.assertArg("obj", obj);
        Util.assertArg("propAndAnnot", propAndAnnot);
        Util.assertArg("propName", propName);
        Util.assertArg("propValue", propValue);

        return propValue.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy