@Override
    public boolean equals(Object obj) {
        if (this == obj) {
        	return true;
        }  
        if (obj == null) {
        	return false;
        }
        if (getClass() != obj.getClass()) {
        	return false;
        }
        
        NameData nd = (NameData) obj;
        
        boolean isM = mediaName.equals(nd.getMediaName());
        boolean isDM = date.get(Calendar.MONTH) == nd.getDate().get(Calendar.MONTH);
        boolean isDY = date.get(Calendar.YEAR) == nd.getDate().get(Calendar.YEAR);
        boolean isA = artName.equals(nd.getArtName());
        if(isM && isDM && isDY && isA) {
        	return true;
        }
        
        return false;
    }