@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + (gatewayType == null ? 0 : gatewayType.hashCode()); result = prime * result + (hitBys == null ? 0 : hitBys.hashCode()); return result; }
public SGatewayDefinitionImpl(final GatewayDefinition gatewayDefinition, final Map<String, STransitionDefinition> transitionsMap) { super(gatewayDefinition, transitionsMap); final GatewayType type = gatewayDefinition.getGatewayType(); gatewayType = SGatewayType.valueOf(type.toString()); }
public SGatewayDefinitionImpl(final GatewayDefinition gatewayDefinition, final Map<String, STransitionDefinition> transitionsMap) { super(gatewayDefinition, transitionsMap); final GatewayType type = gatewayDefinition.getGatewayType(); gatewayType = SGatewayType.valueOf(type.toString()); }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + (gatewayType == null ? 0 : gatewayType.hashCode()); result = prime * result + (hitBys == null ? 0 : hitBys.hashCode()); return result; }
@Override public boolean isExclusive() { final SGatewayType gatewayType = this.getGatewayType(); return SGatewayType.EXCLUSIVE.equals(gatewayType); }
@Override public boolean isExclusive() { final SGatewayType gatewayType = this.getGatewayType(); return SGatewayType.EXCLUSIVE.equals(gatewayType); }