00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 package org.openmobileis.module.profiles.terminal;
00029
00030 import org.openmobileis.common.util.OpenMISSerializable;
00031
00040 public final class TerminalProfilModule implements OpenMISSerializable {
00041 static final long serialVersionUID = 5521257935120563452L;
00042
00043 public String moduleName;
00044 public String moduleVersion;
00048 public TerminalProfilModule() {
00049 }
00050
00051 public int hashCode() {
00052 final int prime = 31;
00053 int result = 1;
00054 result = prime * result + ((moduleName == null) ? 0 : moduleName.hashCode());
00055 result = prime * result + ((moduleVersion == null) ? 0 : moduleVersion.hashCode());
00056 return result;
00057 }
00058 public boolean equals(Object obj) {
00059 if (this == obj)
00060 return true;
00061 if (obj == null)
00062 return false;
00063 if (getClass() != obj.getClass())
00064 return false;
00065 final TerminalProfilModule other = (TerminalProfilModule) obj;
00066 if (moduleName == null) {
00067 if (other.moduleName != null)
00068 return false;
00069 } else if (!moduleName.equals(other.moduleName))
00070 return false;
00071 if (moduleVersion == null) {
00072 if (other.moduleVersion != null)
00073 return false;
00074 } else if (!moduleVersion.equals(other.moduleVersion))
00075 return false;
00076 return true;
00077 }
00078
00079
00080
00081 }