public boolean getProxyIsDirty() {
        if (_proxygenset == null) {
            if (_doProxyGen == false) {
                //nothing to do.
                return (false);
            } else {
                //need to build one
                return (true);
            }
        } else {
            return ((_proxyGenerateSetters != _proxygenset.getGenerateAttributeSetters())
                    || (_proxyGenerateGetters != _proxygenset.getGenerateAttributeGetters())
                    || (_proxyUseInheritance != _proxygenset.getUseInheritance())
                    || (_proxyUseRichTypes != _proxygenset.getUseRichTypes())
                    || (_proxyInnerClasses != _proxygenset.getGenerateInnerClasses()));
        }
    }