There are 1 code examples for java.tudu.web.ws.bean.WsTodo.

The API names are highlighted below. You can use suckoo button to vote the code example(s) you like. The best code example will be ranked first next time. Thanks a lot for your feedback.

Project Name: tudu Package: java.tudu.web.ws.bean

Source Code: WsTodo.java (Click to view .java file)

Method Code:
vote
like

public synchronized boolean equals(java.lang.Object obj){
  if (!(obj instanceof WsTodo))   return false;
  WsTodo other=(WsTodo)obj;
  if (obj == null)   return false;
  if (this == obj)   return true;
  if (__equalsCalc != null) {
    return (__equalsCalc == obj);
  }
  __equalsCalc=obj;
  boolean _equals;
  _equals=true && this.completed == other.isCompleted() && ((this.description == null && other.getDescription() == null) || (this.description != null && this.description.equals(other.getDescription()))) && this.priority == other.getPriority() && ((this.todoId == null && other.getTodoId() == null) || (this.todoId != null && this.todoId.equals(other.getTodoId())));
  __equalsCalc=null;
  return _equals;
}