@Override
    public boolean equals(Object object) {
        if (this == object) {
            return true;
        }
        if (object != null && object instanceof PrivacyList) {
            return name.equals(((PrivacyList)object).getName());
        }
        else {
            return false;
        }
    }
Sets the new list items based on the specified Element. The Element must contain
a list of item elements.

@param listElement the element containing a list of items.
@param notify true if a provicy list modified event will be triggered.
xmppserver/src/main/java/org/jivesoftware/openfire/privacy/PrivacyList.java