@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getParameterName() == null) ? 0 : getParameterName().hashCode()); hashCode = prime * hashCode + ((getParameterValue() == null) ? 0 : getParameterValue().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getSource() == null) ? 0 : getSource().hashCode()); hashCode = prime * hashCode + ((getDataType() == null) ? 0 : getDataType().hashCode()); hashCode = prime * hashCode + ((getAllowedValues() == null) ? 0 : getAllowedValues().hashCode()); hashCode = prime * hashCode + ((getApplyType() == null) ? 0 : getApplyType().hashCode()); hashCode = prime * hashCode + ((getIsModifiable() == null) ? 0 : getIsModifiable().hashCode()); hashCode = prime * hashCode + ((getMinimumEngineVersion() == null) ? 0 : getMinimumEngineVersion().hashCode()); return hashCode; }
public Parameter unmarshall(StaxUnmarshallerContext context) throws Exception { Parameter parameter = new Parameter(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; parameter.setParameterName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setParameterValue(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setDescription(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setSource(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setDataType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setAllowedValues(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setApplyType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setIsModifiable(BooleanStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setMinimumEngineVersion(StringStaxUnmarshaller.getInstance().unmarshall(context));
public Parameter unmarshall(StaxUnmarshallerContext context) throws Exception { Parameter parameter = new Parameter(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; parameter.setParameterName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setParameterValue(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setDescription(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setSource(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setDataType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setAllowedValues(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setApplyType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setIsModifiable(BooleanStaxUnmarshaller.getInstance().unmarshall(context)); continue; parameter.setMinimumEngineVersion(StringStaxUnmarshaller.getInstance().unmarshall(context));
return false; Parameter other = (Parameter) obj; if (other.getParameterName() == null ^ this.getParameterName() == null) return false; if (other.getParameterName() != null && other.getParameterName().equals(this.getParameterName()) == false) return false; if (other.getParameterValue() == null ^ this.getParameterValue() == null) return false; if (other.getParameterValue() != null && other.getParameterValue().equals(this.getParameterValue()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getSource() == null ^ this.getSource() == null) return false; if (other.getSource() != null && other.getSource().equals(this.getSource()) == false) return false; if (other.getDataType() == null ^ this.getDataType() == null) return false; if (other.getDataType() != null && other.getDataType().equals(this.getDataType()) == false) return false; if (other.getAllowedValues() == null ^ this.getAllowedValues() == null) return false; if (other.getAllowedValues() != null && other.getAllowedValues().equals(this.getAllowedValues()) == false) return false; if (other.getApplyType() == null ^ this.getApplyType() == null) return false; if (other.getApplyType() != null && other.getApplyType().equals(this.getApplyType()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getParameterName() != null) sb.append("ParameterName: ").append(getParameterName()).append(","); if (getParameterValue() != null) sb.append("ParameterValue: ").append(getParameterValue()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getSource() != null) sb.append("Source: ").append(getSource()).append(","); if (getDataType() != null) sb.append("DataType: ").append(getDataType()).append(","); if (getAllowedValues() != null) sb.append("AllowedValues: ").append(getAllowedValues()).append(","); if (getApplyType() != null) sb.append("ApplyType: ").append(getApplyType()).append(","); if (getIsModifiable() != null) sb.append("IsModifiable: ").append(getIsModifiable()).append(","); if (getMinimumEngineVersion() != null) sb.append("MinimumEngineVersion: ").append(getMinimumEngineVersion()); sb.append("}"); return sb.toString();
if (parametersListValue.getParameterName() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ParameterName", StringUtils.fromString(parametersListValue.getParameterName())); if (parametersListValue.getParameterValue() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ParameterValue", StringUtils.fromString(parametersListValue.getParameterValue())); if (parametersListValue.getDescription() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".Description", StringUtils.fromString(parametersListValue.getDescription())); if (parametersListValue.getSource() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".Source", StringUtils.fromString(parametersListValue.getSource())); if (parametersListValue.getDataType() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".DataType", StringUtils.fromString(parametersListValue.getDataType())); if (parametersListValue.getAllowedValues() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".AllowedValues", StringUtils.fromString(parametersListValue.getAllowedValues())); if (parametersListValue.getApplyType() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ApplyType", StringUtils.fromString(parametersListValue.getApplyType())); if (parametersListValue.getIsModifiable() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".IsModifiable", StringUtils.fromBoolean(parametersListValue.getIsModifiable()));
if (parametersListValue.getParameterName() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ParameterName", StringUtils.fromString(parametersListValue.getParameterName())); if (parametersListValue.getParameterValue() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ParameterValue", StringUtils.fromString(parametersListValue.getParameterValue())); if (parametersListValue.getDescription() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".Description", StringUtils.fromString(parametersListValue.getDescription())); if (parametersListValue.getSource() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".Source", StringUtils.fromString(parametersListValue.getSource())); if (parametersListValue.getDataType() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".DataType", StringUtils.fromString(parametersListValue.getDataType())); if (parametersListValue.getAllowedValues() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".AllowedValues", StringUtils.fromString(parametersListValue.getAllowedValues())); if (parametersListValue.getApplyType() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ApplyType", StringUtils.fromString(parametersListValue.getApplyType())); if (parametersListValue.getIsModifiable() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".IsModifiable", StringUtils.fromBoolean(parametersListValue.getIsModifiable()));
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getParameterName() == null) ? 0 : getParameterName().hashCode()); hashCode = prime * hashCode + ((getParameterValue() == null) ? 0 : getParameterValue().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getSource() == null) ? 0 : getSource().hashCode()); hashCode = prime * hashCode + ((getDataType() == null) ? 0 : getDataType().hashCode()); hashCode = prime * hashCode + ((getAllowedValues() == null) ? 0 : getAllowedValues().hashCode()); hashCode = prime * hashCode + ((getApplyType() == null) ? 0 : getApplyType().hashCode()); hashCode = prime * hashCode + ((getIsModifiable() == null) ? 0 : getIsModifiable().hashCode()); hashCode = prime * hashCode + ((getMinimumEngineVersion() == null) ? 0 : getMinimumEngineVersion().hashCode()); return hashCode; }
return false; Parameter other = (Parameter) obj; if (other.getParameterName() == null ^ this.getParameterName() == null) return false; if (other.getParameterName() != null && other.getParameterName().equals(this.getParameterName()) == false) return false; if (other.getParameterValue() == null ^ this.getParameterValue() == null) return false; if (other.getParameterValue() != null && other.getParameterValue().equals(this.getParameterValue()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getSource() == null ^ this.getSource() == null) return false; if (other.getSource() != null && other.getSource().equals(this.getSource()) == false) return false; if (other.getDataType() == null ^ this.getDataType() == null) return false; if (other.getDataType() != null && other.getDataType().equals(this.getDataType()) == false) return false; if (other.getAllowedValues() == null ^ this.getAllowedValues() == null) return false; if (other.getAllowedValues() != null && other.getAllowedValues().equals(this.getAllowedValues()) == false) return false; if (other.getApplyType() == null ^ this.getApplyType() == null) return false; if (other.getApplyType() != null && other.getApplyType().equals(this.getApplyType()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getParameterName() != null) sb.append("ParameterName: ").append(getParameterName()).append(","); if (getParameterValue() != null) sb.append("ParameterValue: ").append(getParameterValue()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getSource() != null) sb.append("Source: ").append(getSource()).append(","); if (getDataType() != null) sb.append("DataType: ").append(getDataType()).append(","); if (getAllowedValues() != null) sb.append("AllowedValues: ").append(getAllowedValues()).append(","); if (getApplyType() != null) sb.append("ApplyType: ").append(getApplyType()).append(","); if (getIsModifiable() != null) sb.append("IsModifiable: ").append(getIsModifiable()).append(","); if (getMinimumEngineVersion() != null) sb.append("MinimumEngineVersion: ").append(getMinimumEngineVersion()); sb.append("}"); return sb.toString();
if (parametersListValue.getParameterName() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ParameterName", StringUtils.fromString(parametersListValue.getParameterName())); if (parametersListValue.getParameterValue() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ParameterValue", StringUtils.fromString(parametersListValue.getParameterValue())); if (parametersListValue.getDescription() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".Description", StringUtils.fromString(parametersListValue.getDescription())); if (parametersListValue.getSource() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".Source", StringUtils.fromString(parametersListValue.getSource())); if (parametersListValue.getDataType() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".DataType", StringUtils.fromString(parametersListValue.getDataType())); if (parametersListValue.getAllowedValues() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".AllowedValues", StringUtils.fromString(parametersListValue.getAllowedValues())); if (parametersListValue.getApplyType() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ApplyType", StringUtils.fromString(parametersListValue.getApplyType())); if (parametersListValue.getIsModifiable() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".IsModifiable", StringUtils.fromBoolean(parametersListValue.getIsModifiable()));
if (parametersListValue.getParameterName() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ParameterName", StringUtils.fromString(parametersListValue.getParameterName())); if (parametersListValue.getParameterValue() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ParameterValue", StringUtils.fromString(parametersListValue.getParameterValue())); if (parametersListValue.getDescription() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".Description", StringUtils.fromString(parametersListValue.getDescription())); if (parametersListValue.getSource() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".Source", StringUtils.fromString(parametersListValue.getSource())); if (parametersListValue.getDataType() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".DataType", StringUtils.fromString(parametersListValue.getDataType())); if (parametersListValue.getAllowedValues() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".AllowedValues", StringUtils.fromString(parametersListValue.getAllowedValues())); if (parametersListValue.getApplyType() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".ApplyType", StringUtils.fromString(parametersListValue.getApplyType())); if (parametersListValue.getIsModifiable() != null) { request.addParameter("Parameters.Parameter." + parametersListIndex + ".IsModifiable", StringUtils.fromBoolean(parametersListValue.getIsModifiable()));