| | |
| | | */ |
| | | package de.uhilger.mediaz.store; |
| | | |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * |
| | | * @author ulrich |
| | |
| | | |
| | | public void setTitelAnzName(String tan) { |
| | | if(tan != null) { |
| | | this.titelAnzName = tan; |
| | | this.titelAnzName = tan; |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "StorageFile{" + "name=" + name + '}'; |
| | | } |
| | | |
| | | @Override |
| | | public int hashCode() { |
| | | int hash = 3; |
| | | return hash; |
| | | } |
| | | |
| | | @Override |
| | | public boolean equals(Object obj) { |
| | | if (this == obj) { |
| | | return true; |
| | | } |
| | | if (obj == null) { |
| | | return false; |
| | | } |
| | | if (getClass() != obj.getClass()) { |
| | | return false; |
| | | } |
| | | final StorageFile other = (StorageFile) obj; |
| | | if (!Objects.equals(this.name, other.name)) { |
| | | return false; |
| | | } |
| | | return true; |
| | | } |
| | | |
| | | |
| | | |
| | | } |