public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof UsageTypeGroup)) return false; final UsageTypeGroup usageTypeGroup = (UsageTypeGroup) o; return myUsageType.equals(usageTypeGroup.myUsageType); }