}
@Override
public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
String endpoint = getEndpointAt(rowIndex);
EndpointDefaults defaults = strategy.getEndpointDefaults(endpoint);
if (aValue == null) {
aValue = "";
}
switch (columnIndex) {
case 0: {
// strategy.changeEndpoint( endpoint, aValue.toString() );
iface.changeEndpoint(endpoint, aValue.toString());
break;
}
case 1: {
defaults.setUsername(aValue.toString());
break;
}
case 2: {
defaults.setPassword(aValue.toString());
break;
}
case 3: {
defaults.setDomain(aValue.toString());
break;
}
case 4: {
defaults.setWssType(aValue.toString());
break;
}
case 5: {
defaults.setWssTimeToLive(aValue.toString());
break;
}
case 6: {
defaults.setOutgoingWss(aValue.toString());
break;
}
case 7: {
defaults.setIncomingWss(aValue.toString());
break;
}
case 8: {
defaults.setMode(EndpointConfig.Mode.Enum.forString(aValue.toString()));
break;
}
}
}