Exemplo n.º 1
0
 String connectorArg(String name) {
   Connector.Argument argument = connectorArgs.get(name);
   if (argument == null) {
     return "";
   }
   return argument.value();
 }
Exemplo n.º 2
0
 public boolean equals(Object obj) {
   if ((obj != null) && (obj instanceof Connector.Argument)) {
     Connector.Argument other = (Connector.Argument) obj;
     return (name().equals(other.name()))
         && (description().equals(other.description()))
         && (mustSpecify() == other.mustSpecify())
         && (value().equals(other.value()));
   } else {
     return false;
   }
 }