io.bitsensor.lib.entity.ErrorTranslationContainer Maven / Gradle / Ivy
package io.bitsensor.lib.entity;
import java.util.ArrayList;
import java.util.List;
public class ErrorTranslationContainer {
private List mErrorTranslations = new ArrayList<>();
private long mLastUpdate;
public ErrorTranslationContainer(List errorTranslations) {
setErrorTranslations(errorTranslations);
}
public List getErrorTranslations() {
return mErrorTranslations;
}
public void setErrorTranslations(List errorTranslations) {
mErrorTranslations.clear();
mErrorTranslations.addAll(errorTranslations);
mLastUpdate = System.currentTimeMillis();
}
public long getLastUpdate() {
return mLastUpdate;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy