com.softicar.platform.common.container.data.table.DataTableIdentifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.container.data.table;
import java.util.Objects;
public class DataTableIdentifier {
private final String text;
public DataTableIdentifier(String text) {
this.text = Objects.requireNonNull(text).trim();
}
public boolean isPresent() {
return !text.isEmpty();
}
@Override
public String toString() {
return text;
}
public static DataTableIdentifier empty() {
return new DataTableIdentifier("");
}
}