1 package jalview.ws.api;
4 * Service UI Info { Action, Specific Name of Service, Brief Description }
9 public UIinfo(String action, String name, String description)
11 this.Action = action == null ? "" : action;
12 this.description = description == null ? "" : description;
13 this.Name = name == null ? "" : name;
16 public String getAction()
21 public void setAction(String action)
26 public String getName()
31 public void setName(String name)
36 public String getDescription()
41 public void setDescription(String description)
43 this.description = description;
47 public boolean equals(Object object)
49 if (object == null || !(object instanceof UIinfo))
53 UIinfo other = (UIinfo) object;
55 return (Name == null && other.getName() == null || Name != null
56 && other.getName() != null && Name.equals(other.getName()))
57 && (Action == null && other.getAction() == null
58 || Action != null && other.getAction() != null
59 && Action.equals(other.getAction()))
60 && (description == null && other.getDescription() == null
61 || description != null && other.getDescription() != null
62 && description.equals(other.getDescription()));