@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        Album other = (Album) obj;
        if (myAuthor == null) {
            if (other.myAuthor != null)
                return false;
        } else if (!myAuthor.equals(other.myAuthor))
            return false;
        if (myTitle == null) {
            if (other.myTitle != null)
                return false;
        } else if (!myTitle.equals(other.myTitle))
            return false;
        return true;
    }