Skip to content

Instantly share code, notes, and snippets.

@mavenugo
Created April 9, 2014 22:50
Show Gist options
  • Save mavenugo/10327022 to your computer and use it in GitHub Desktop.
Save mavenugo/10327022 to your computer and use it in GitHub Desktop.
package org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table;
import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId;
import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey;
import java.math.BigInteger;
import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.FlowModFlags;
import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Instructions;
import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match;
import java.util.Map;
import org.opendaylight.yangtools.yang.binding.Augmentation;
import java.util.HashMap;
import org.opendaylight.yangtools.yang.binding.DataObject;
import java.util.List;
import com.google.common.collect.Range;
import java.util.ArrayList;
public class FlowBuilder {
private FlowId _id;
private FlowKey _key;
private Boolean _barrier;
private Long _bufferId;
private String _containerName;
private BigInteger _cookieMask;
private FlowModFlags _flags;
private String _flowName;
private Boolean _installHw;
private Instructions _instructions;
private Match _match;
private Long _outGroup;
private BigInteger _outPort;
private Boolean _strict;
private BigInteger _cookie;
private Integer _hardTimeout;
private Integer _idleTimeout;
private Integer _priority;
private Short _tableId;
private Map<Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow>>, Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow>> augmentation = new HashMap<>();
public FlowBuilder() {
}
public FlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow arg) {
this._barrier = arg.isBarrier();
this._bufferId = arg.getBufferId();
this._containerName = arg.getContainerName();
this._cookieMask = arg.getCookieMask();
this._flags = arg.getFlags();
this._flowName = arg.getFlowName();
this._installHw = arg.isInstallHw();
this._instructions = arg.getInstructions();
this._match = arg.getMatch();
this._outGroup = arg.getOutGroup();
this._outPort = arg.getOutPort();
this._strict = arg.isStrict();
this._cookie = arg.getCookie();
this._hardTimeout = arg.getHardTimeout();
this._idleTimeout = arg.getIdleTimeout();
this._priority = arg.getPriority();
this._tableId = arg.getTableId();
}
public FlowBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes arg) {
this._cookie = arg.getCookie();
this._hardTimeout = arg.getHardTimeout();
this._idleTimeout = arg.getIdleTimeout();
this._priority = arg.getPriority();
this._tableId = arg.getTableId();
}
/**
Set fields from given grouping argument. Valid argument is instance of one of following types:
* <ul>
* <li>org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes</li>
* <li>org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow</li>
* </ul>
*
* @param arg grouping object
* @throws IllegalArgumentException if given argument is none of valid types
*/
public void fieldsFrom(DataObject arg) {
boolean isValidArg = false;
if (arg instanceof org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes) {
this._cookie = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes)arg).getCookie();
this._hardTimeout = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes)arg).getHardTimeout();
this._idleTimeout = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes)arg).getIdleTimeout();
this._priority = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes)arg).getPriority();
this._tableId = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes)arg).getTableId();
isValidArg = true;
}
if (arg instanceof org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow) {
this._barrier = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).isBarrier();
this._bufferId = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getBufferId();
this._containerName = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getContainerName();
this._cookieMask = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getCookieMask();
this._flags = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getFlags();
this._flowName = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getFlowName();
this._installHw = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).isInstallHw();
this._instructions = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getInstructions();
this._match = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getMatch();
this._outGroup = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getOutGroup();
this._outPort = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).getOutPort();
this._strict = ((org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow)arg).isStrict();
isValidArg = true;
}
if (!isValidArg) {
throw new IllegalArgumentException(
"expected one of: [org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow] \n" +
"but was: " + arg
);
}
}
public FlowId getId() {
return _id;
}
public FlowKey getKey() {
return _key;
}
public Boolean isBarrier() {
return _barrier;
}
public Long getBufferId() {
return _bufferId;
}
public String getContainerName() {
return _containerName;
}
public BigInteger getCookieMask() {
return _cookieMask;
}
public FlowModFlags getFlags() {
return _flags;
}
public String getFlowName() {
return _flowName;
}
public Boolean isInstallHw() {
return _installHw;
}
public Instructions getInstructions() {
return _instructions;
}
public Match getMatch() {
return _match;
}
public Long getOutGroup() {
return _outGroup;
}
public BigInteger getOutPort() {
return _outPort;
}
public Boolean isStrict() {
return _strict;
}
public BigInteger getCookie() {
return _cookie;
}
public Integer getHardTimeout() {
return _hardTimeout;
}
public Integer getIdleTimeout() {
return _idleTimeout;
}
public Integer getPriority() {
return _priority;
}
public Short getTableId() {
return _tableId;
}
@SuppressWarnings("unchecked")
public <E extends Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow>> E getAugmentation(Class<E> augmentationType) {
if (augmentationType == null) {
throw new IllegalArgumentException("Augmentation Type reference cannot be NULL!");
}
return (E) augmentation.get(augmentationType);
}
public FlowBuilder setId(FlowId value) {
this._id = value;
return this;
}
public FlowBuilder setKey(FlowKey value) {
this._key = value;
return this;
}
public FlowBuilder setBarrier(Boolean value) {
this._barrier = value;
return this;
}
public FlowBuilder setBufferId(Long value) {
if (value != null) {
boolean isValidRange = false;
List<Range<Long>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new Long("0"), new Long("4294967295")));
for (Range<Long> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._bufferId = value;
return this;
}
public FlowBuilder setContainerName(String value) {
this._containerName = value;
return this;
}
public FlowBuilder setCookieMask(BigInteger value) {
if (value != null) {
boolean isValidRange = false;
List<Range<BigInteger>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new BigInteger("0"), new BigInteger("18446744073709551615")));
for (Range<BigInteger> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._cookieMask = value;
return this;
}
public FlowBuilder setFlags(FlowModFlags value) {
this._flags = value;
return this;
}
public FlowBuilder setFlowName(String value) {
this._flowName = value;
return this;
}
public FlowBuilder setInstallHw(Boolean value) {
this._installHw = value;
return this;
}
public FlowBuilder setInstructions(Instructions value) {
this._instructions = value;
return this;
}
public FlowBuilder setMatch(Match value) {
this._match = value;
return this;
}
public FlowBuilder setOutGroup(Long value) {
if (value != null) {
boolean isValidRange = false;
List<Range<Long>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new Long("0"), new Long("4294967295")));
for (Range<Long> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._outGroup = value;
return this;
}
public FlowBuilder setOutPort(BigInteger value) {
if (value != null) {
boolean isValidRange = false;
List<Range<BigInteger>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new BigInteger("0"), new BigInteger("18446744073709551615")));
for (Range<BigInteger> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._outPort = value;
return this;
}
public FlowBuilder setStrict(Boolean value) {
this._strict = value;
return this;
}
public FlowBuilder setCookie(BigInteger value) {
if (value != null) {
boolean isValidRange = false;
List<Range<BigInteger>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new BigInteger("0"), new BigInteger("18446744073709551615")));
for (Range<BigInteger> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._cookie = value;
return this;
}
public FlowBuilder setHardTimeout(Integer value) {
if (value != null) {
boolean isValidRange = false;
List<Range<Integer>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new Integer("0"), new Integer("65535")));
for (Range<Integer> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._hardTimeout = value;
return this;
}
public FlowBuilder setIdleTimeout(Integer value) {
if (value != null) {
boolean isValidRange = false;
List<Range<Integer>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new Integer("0"), new Integer("65535")));
for (Range<Integer> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._idleTimeout = value;
return this;
}
public FlowBuilder setPriority(Integer value) {
if (value != null) {
boolean isValidRange = false;
List<Range<Integer>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new Integer("0"), new Integer("65535")));
for (Range<Integer> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._priority = value;
return this;
}
public FlowBuilder setTableId(Short value) {
if (value != null) {
boolean isValidRange = false;
List<Range<Short>> rangeConstraints = new ArrayList<>();
rangeConstraints.add(Range.closed(new Short("0"), new Short("255")));
for (Range<Short> r : rangeConstraints) {
if (r.contains(value)) {
isValidRange = true;
}
}
if (!isValidRange) {
throw new IllegalArgumentException(String.format("Invalid range: %s, expected: %s.", value, rangeConstraints));
}
}
this._tableId = value;
return this;
}
public FlowBuilder addAugmentation(Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow>> augmentationType, Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow> augmentation) {
this.augmentation.put(augmentationType, augmentation);
return this;
}
public Flow build() {
return new FlowImpl(this);
}
private static final class FlowImpl implements Flow {
public Class<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow> getImplementedInterface() {
return org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow.class;
}
private final FlowId _id;
private final FlowKey _key;
private final Boolean _barrier;
private final Long _bufferId;
private final String _containerName;
private final BigInteger _cookieMask;
private final FlowModFlags _flags;
private final String _flowName;
private final Boolean _installHw;
private final Instructions _instructions;
private final Match _match;
private final Long _outGroup;
private final BigInteger _outPort;
private final Boolean _strict;
private final BigInteger _cookie;
private final Integer _hardTimeout;
private final Integer _idleTimeout;
private final Integer _priority;
private final Short _tableId;
private Map<Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow>>, Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow>> augmentation = new HashMap<>();
private FlowImpl(FlowBuilder builder) {
if (builder.getKey() == null) {
this._key = new FlowKey(
builder.getId()
);
this._id = builder.getId();
} else {
this._key = builder.getKey();
this._id = _key.getId();
}
this._barrier = builder.isBarrier();
this._bufferId = builder.getBufferId();
this._containerName = builder.getContainerName();
this._cookieMask = builder.getCookieMask();
this._flags = builder.getFlags();
this._flowName = builder.getFlowName();
this._installHw = builder.isInstallHw();
this._instructions = builder.getInstructions();
this._match = builder.getMatch();
this._outGroup = builder.getOutGroup();
this._outPort = builder.getOutPort();
this._strict = builder.isStrict();
this._cookie = builder.getCookie();
this._hardTimeout = builder.getHardTimeout();
this._idleTimeout = builder.getIdleTimeout();
this._priority = builder.getPriority();
this._tableId = builder.getTableId();
this.augmentation.putAll(builder.augmentation);
}
@Override
public FlowId getId() {
return _id;
}
@Override
public FlowKey getKey() {
return _key;
}
@Override
public Boolean isBarrier() {
return _barrier;
}
@Override
public Long getBufferId() {
return _bufferId;
}
@Override
public String getContainerName() {
return _containerName;
}
@Override
public BigInteger getCookieMask() {
return _cookieMask;
}
@Override
public FlowModFlags getFlags() {
return _flags;
}
@Override
public String getFlowName() {
return _flowName;
}
@Override
public Boolean isInstallHw() {
return _installHw;
}
@Override
public Instructions getInstructions() {
return _instructions;
}
@Override
public Match getMatch() {
return _match;
}
@Override
public Long getOutGroup() {
return _outGroup;
}
@Override
public BigInteger getOutPort() {
return _outPort;
}
@Override
public Boolean isStrict() {
return _strict;
}
@Override
public BigInteger getCookie() {
return _cookie;
}
@Override
public Integer getHardTimeout() {
return _hardTimeout;
}
@Override
public Integer getIdleTimeout() {
return _idleTimeout;
}
@Override
public Integer getPriority() {
return _priority;
}
@Override
public Short getTableId() {
return _tableId;
}
@SuppressWarnings("unchecked")
@Override
public <E extends Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow>> E getAugmentation(Class<E> augmentationType) {
if (augmentationType == null) {
throw new IllegalArgumentException("Augmentation Type reference cannot be NULL!");
}
return (E) augmentation.get(augmentationType);
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((_id == null) ? 0 : _id.hashCode());
result = prime * result + ((_key == null) ? 0 : _key.hashCode());
result = prime * result + ((_barrier == null) ? 0 : _barrier.hashCode());
result = prime * result + ((_bufferId == null) ? 0 : _bufferId.hashCode());
result = prime * result + ((_containerName == null) ? 0 : _containerName.hashCode());
result = prime * result + ((_cookieMask == null) ? 0 : _cookieMask.hashCode());
result = prime * result + ((_flags == null) ? 0 : _flags.hashCode());
result = prime * result + ((_flowName == null) ? 0 : _flowName.hashCode());
result = prime * result + ((_installHw == null) ? 0 : _installHw.hashCode());
result = prime * result + ((_instructions == null) ? 0 : _instructions.hashCode());
result = prime * result + ((_match == null) ? 0 : _match.hashCode());
result = prime * result + ((_outGroup == null) ? 0 : _outGroup.hashCode());
result = prime * result + ((_outPort == null) ? 0 : _outPort.hashCode());
result = prime * result + ((_strict == null) ? 0 : _strict.hashCode());
result = prime * result + ((_cookie == null) ? 0 : _cookie.hashCode());
result = prime * result + ((_hardTimeout == null) ? 0 : _hardTimeout.hashCode());
result = prime * result + ((_idleTimeout == null) ? 0 : _idleTimeout.hashCode());
result = prime * result + ((_priority == null) ? 0 : _priority.hashCode());
result = prime * result + ((_tableId == null) ? 0 : _tableId.hashCode());
result = prime * result + ((augmentation == null) ? 0 : augmentation.hashCode());
return result;
}
@Override
public boolean equals(java.lang.Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
FlowImpl other = (FlowImpl) obj;
if (_id == null) {
if (other._id != null) {
return false;
}
} else if(!_id.equals(other._id)) {
return false;
}
if (_key == null) {
if (other._key != null) {
return false;
}
} else if(!_key.equals(other._key)) {
return false;
}
if (_barrier == null) {
if (other._barrier != null) {
return false;
}
} else if(!_barrier.equals(other._barrier)) {
return false;
}
if (_bufferId == null) {
if (other._bufferId != null) {
return false;
}
} else if(!_bufferId.equals(other._bufferId)) {
return false;
}
if (_containerName == null) {
if (other._containerName != null) {
return false;
}
} else if(!_containerName.equals(other._containerName)) {
return false;
}
if (_cookieMask == null) {
if (other._cookieMask != null) {
return false;
}
} else if(!_cookieMask.equals(other._cookieMask)) {
return false;
}
if (_flags == null) {
if (other._flags != null) {
return false;
}
} else if(!_flags.equals(other._flags)) {
return false;
}
if (_flowName == null) {
if (other._flowName != null) {
return false;
}
} else if(!_flowName.equals(other._flowName)) {
return false;
}
if (_installHw == null) {
if (other._installHw != null) {
return false;
}
} else if(!_installHw.equals(other._installHw)) {
return false;
}
if (_instructions == null) {
if (other._instructions != null) {
return false;
}
} else if(!_instructions.equals(other._instructions)) {
return false;
}
if (_match == null) {
if (other._match != null) {
return false;
}
} else if(!_match.equals(other._match)) {
return false;
}
if (_outGroup == null) {
if (other._outGroup != null) {
return false;
}
} else if(!_outGroup.equals(other._outGroup)) {
return false;
}
if (_outPort == null) {
if (other._outPort != null) {
return false;
}
} else if(!_outPort.equals(other._outPort)) {
return false;
}
if (_strict == null) {
if (other._strict != null) {
return false;
}
} else if(!_strict.equals(other._strict)) {
return false;
}
if (_cookie == null) {
if (other._cookie != null) {
return false;
}
} else if(!_cookie.equals(other._cookie)) {
return false;
}
if (_hardTimeout == null) {
if (other._hardTimeout != null) {
return false;
}
} else if(!_hardTimeout.equals(other._hardTimeout)) {
return false;
}
if (_idleTimeout == null) {
if (other._idleTimeout != null) {
return false;
}
} else if(!_idleTimeout.equals(other._idleTimeout)) {
return false;
}
if (_priority == null) {
if (other._priority != null) {
return false;
}
} else if(!_priority.equals(other._priority)) {
return false;
}
if (_tableId == null) {
if (other._tableId != null) {
return false;
}
} else if(!_tableId.equals(other._tableId)) {
return false;
}
if (augmentation == null) {
if (other.augmentation != null) {
return false;
}
} else if(!augmentation.equals(other.augmentation)) {
return false;
}
return true;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder("Flow [");
boolean first = true;
if (_id != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_id=");
builder.append(_id);
}
if (_key != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_key=");
builder.append(_key);
}
if (_barrier != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_barrier=");
builder.append(_barrier);
}
if (_bufferId != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_bufferId=");
builder.append(_bufferId);
}
if (_containerName != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_containerName=");
builder.append(_containerName);
}
if (_cookieMask != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_cookieMask=");
builder.append(_cookieMask);
}
if (_flags != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_flags=");
builder.append(_flags);
}
if (_flowName != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_flowName=");
builder.append(_flowName);
}
if (_installHw != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_installHw=");
builder.append(_installHw);
}
if (_instructions != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_instructions=");
builder.append(_instructions);
}
if (_match != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_match=");
builder.append(_match);
}
if (_outGroup != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_outGroup=");
builder.append(_outGroup);
}
if (_outPort != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_outPort=");
builder.append(_outPort);
}
if (_strict != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_strict=");
builder.append(_strict);
}
if (_cookie != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_cookie=");
builder.append(_cookie);
}
if (_hardTimeout != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_hardTimeout=");
builder.append(_hardTimeout);
}
if (_idleTimeout != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_idleTimeout=");
builder.append(_idleTimeout);
}
if (_priority != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_priority=");
builder.append(_priority);
}
if (_tableId != null) {
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("_tableId=");
builder.append(_tableId);
}
if (first) {
first = false;
} else {
builder.append(", ");
}
builder.append("augmentation=");
builder.append(augmentation.values());
return builder.append(']').toString();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment