@Override public int hashCode() { int result = super.hashCode(); result = 31 * result + (nullableDescription != null ? nullableDescription.hashCode() : 0); result = 31 * result + (nullableDefault != null ? nullableDefault.hashCode() : 0); return result; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } ListAttribute that = (ListAttribute) o; if (nullableDefault != null ? !nullableDefault .equals(that.nullableDefault) : that.nullableDefault != null) { return false; } if (nullableDescription != null ? !nullableDescription .equals(that.nullableDescription) : that.nullableDescription != null) { return false; } return true; }
AbstractAttribute(DataSchemaNode attrNode) { this.attributeYangName = getLocalName(attrNode); this.node = attrNode; this.upperCaseCammelCase = TypeProviderWrapper.findJavaNamePrefix(node); this.lowerCaseCammelCase = TypeProviderWrapper.findJavaParameter(node); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } TOAttribute that = (TOAttribute) o; if (nullableDefault != null ? !nullableDefault .equals(that.nullableDefault) : that.nullableDefault != null) { return false; } if (nullableDescription != null ? !nullableDescription .equals(that.nullableDescription) : that.nullableDescription != null) { return false; } if (yangNameToAttributeMap != null ? !yangNameToAttributeMap .equals(that.yangNameToAttributeMap) : that.yangNameToAttributeMap != null) { return false; } return true; }
@Override public int hashCode() { int result = super.hashCode(); result = 31 * result + (type != null ? type.hashCode() : 0); result = 31 * result + (nullableDescription != null ? nullableDescription.hashCode() : 0); result = 31 * result + (nullableDefault != null ? nullableDefault.hashCode() : 0); return result; }
@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } JavaAttribute that = (JavaAttribute) o; if (nullableDefault != null ? !nullableDefault .equals(that.nullableDefault) : that.nullableDefault != null) { return false; } if (nullableDescription != null ? !nullableDescription .equals(that.nullableDescription) : that.nullableDescription != null) { return false; } if (type != null ? !type.equals(that.type) : that.type != null) { return false; } return true; }
@Override public int hashCode() { int result = super.hashCode(); result = 31 * result + (nullableDescription != null ? nullableDescription.hashCode() : 0); result = 31 * result + (nullableDefault != null ? nullableDefault.hashCode() : 0); result = 31 * result + (yangNameToAttributeMap != null ? yangNameToAttributeMap .hashCode() : 0); return result; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } AbstractDependencyAttribute that = (AbstractDependencyAttribute) o; if (dependency != null ? !dependency.equals(that.dependency) : that.dependency != null) { return false; } if (nullableDefault != null ? !nullableDefault .equals(that.nullableDefault) : that.nullableDefault != null) { return false; } if (nullableDescription != null ? !nullableDescription .equals(that.nullableDescription) : that.nullableDescription != null) { return false; } return true; }
@Override public int hashCode() { int result = super.hashCode(); result = 31 * result + (dependency != null ? dependency.hashCode() : 0); result = 31 * result + (nullableDescription != null ? nullableDescription.hashCode() : 0); result = 31 * result + (nullableDefault != null ? nullableDefault.hashCode() : 0); return result; }