if (this.pattern != null) { this.hatch.setPatternID(this.pattern.getId()); } }
if (this.pattern != null) { this.hatch.setDXFHatchPatternID(this.pattern.getID()); }   }
    public void endDXFEntity() {        if (this.linePattern != null) {            this.linePattern.setPattern(this.parameters);        }        if (this.pattern != null) {            this.hatch.setPatternID(this.pattern.getId());        }    }