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

com.talanlabs.taskmanager.jpa.StringCurrentStatusTransform Maven / Gradle / Ivy

The newest version!
package com.talanlabs.taskmanager.jpa;

import com.talanlabs.taskmanager.model.ITaskObject;

public class StringCurrentStatusTransform implements ICurrentStatusTransform {

    public static final ICurrentStatusTransform INSTANCE = new StringCurrentStatusTransform();

    @Override
    public String toString(Class taskObjectClass, Object currentStatus) {
        return (String) currentStatus;
    }

    @Override
    public Object toObject(Class taskObjectClass, String currentStatusString) {
        return currentStatusString;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy