@Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;

    if (obj instanceof CharacterSet == false) return false;
    CharacterSet other = (CharacterSet) obj;
    if (other.getCharacterSetName() == null ^ this.getCharacterSetName() == null) return false;
    if (other.getCharacterSetName() != null
        && other.getCharacterSetName().equals(this.getCharacterSetName()) == false) return false;
    if (other.getCharacterSetDescription() == null ^ this.getCharacterSetDescription() == null)
      return false;
    if (other.getCharacterSetDescription() != null
        && other.getCharacterSetDescription().equals(this.getCharacterSetDescription()) == false)
      return false;
    return true;
  }