this.patterns.put(pattern.getId(), pattern);
this.patterns.put(pattern.getID(), pattern);
    public void addDXFHatchPattern(DXFHatchPattern pattern) {        this.patterns.put(pattern.getId(), pattern);    }