in proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/SourceType.java [77:108]
public Object get(final int index)
{
switch(index)
{
case 0:
return _impl.getAddress();
case 1:
return _impl.getDurable().getValue();
case 2:
return _impl.getExpiryPolicy().getPolicy();
case 3:
return _impl.getTimeout();
case 4:
return _impl.getDynamic();
case 5:
return _impl.getDynamicNodeProperties();
case 6:
return _impl.getDistributionMode();
case 7:
return _impl.getFilter();
case 8:
return _impl.getDefaultOutcome();
case 9:
return _impl.getOutcomes();
case 10:
return _impl.getCapabilities();
}
throw new IllegalStateException("Unknown index " + index);
}