class NamePatternToIdEntry implements JSONable<NamePatternToIdEntry> {

	public boolean isMatching(String string) {
		if (string == null || regexp==null) {
			return false;
		}
		return regexp.matcher(string).matches();
	}

	private  NamePatternToIdEntry();
	@JsonCreator public  NamePatternToIdEntry(@JsonProperty("namePattern")String namePattern,@JsonProperty("id") String id);

}