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

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

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

import com.talanlabs.taskmanager.model.ITaskObject;

public interface ICurrentStatusTransform {

    /**
     * Convert status object to String
     *
     * @param taskObjectClass task object
     * @param currentStatus   status
     * @return string
     */
    String toString(Class taskObjectClass, Object currentStatus);

    /**
     * Convert status string to Object
     *
     * @param taskObjectClass     task object
     * @param currentStatusString status
     * @return object
     */
    Object toObject(Class taskObjectClass, String currentStatusString);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy