+package jalview.ws.api;
+
+/**
+ * Service UI Info { Action, Specific Name of Service, Brief Description }
+ */
+
+public class UIinfo
+{
+ public UIinfo(String action, String name, String description)
+ {
+ this.Action = action == null ? "" : action;
+ this.description = description == null ? "" : description;
+ this.Name = name == null ? "" : name;
+ }
+
+ public String getAction()
+ {
+ return Action;
+ }
+
+ public void setAction(String action)
+ {
+ Action = action;
+ }
+
+ public String getName()
+ {
+ return Name;
+ }
+
+ public void setName(String name)
+ {
+ Name = name;
+ }
+
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public void setDescription(String description)
+ {
+ this.description = description;
+ }
+
+ @Override
+ public boolean equals(Object object)
+ {
+ if (object == null || !(object instanceof UIinfo))
+ {
+ return false;
+ }
+ UIinfo other = (UIinfo) object;
+
+ return (Name == null && other.getName() == null || Name != null
+ && other.getName() != null && Name.equals(other.getName()))
+ && (Action == null && other.getAction() == null
+ || Action != null && other.getAction() != null
+ && Action.equals(other.getAction()))
+ && (description == null && other.getDescription() == null
+ || description != null && other.getDescription() != null
+ && description.equals(other.getDescription()));
+ }
+
+ String Action;
+
+ String Name;
+
+ String description;
+}
\ No newline at end of file