drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyBehavior.java
public void setIsOmit(boolean isOmit) {
        Element child = getFirstChild(root, childNames);
        boolean isAlreadyOmit = isDAVElement(child, "omit"); //$NON-NLS-1$
        if (isOmit) {
            if (!isAlreadyOmit) {
                if (child != null)
                    root.removeChild(child);
                appendChild(root, "omit"); //$NON-NLS-1$
            }
        } else if (isAlreadyOmit)
            root.removeChild(child);
    }
public void setIsOmit(boolean isOmit) {
        Element child = getFirstChild(root, childNames);
        boolean isAlreadyOmit = isDAVElement(child, "omit"); //$NON-NLS-1$
        if (isOmit) {
            if (!isAlreadyOmit) {
                if (child != null)
                    root.removeChild(child);
                appendChild(root, "omit"); //$NON-NLS-1$
            }
        } else if (isAlreadyOmit)
            root.removeChild(child);
    }
Sets whether this propertybehavior is in the "omit" form or not.

@param isOmit a boolean indicating whether this propertybehavior will
be in the "omit" form