This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class SearchCriteria { | |
public enum Criterion { | |
KUNDREF("kundRef"), | |
LANSTILLHORIGHET("lanstillhorighet"), | |
STODAR("stodar"); | |
// I only needed column name, no datatypes here | |
private final String columnName; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package se.sjv.jorden.datachange; | |
import com.google.common.base.Preconditions; | |
public class MyParser { | |
public static void main(final String[] args) { | |
final MyParser myParser = new MyParser(); | |
Preconditions.checkArgument(args.length == 1, "Incorrect number of arguments."); |