/** * Create an instance of {@link JavaEnumField } * */ public JavaEnumField createJavaEnumField() { return new JavaEnumField(); }
public int hashCode() { int currentHashCode = 1; currentHashCode = ((currentHashCode* 31)+ super.hashCode()); { currentHashCode = (currentHashCode* 31); String theName; theName = this.getName(); if (this.name!= null) { currentHashCode += theName.hashCode(); } } { currentHashCode = (currentHashCode* 31); Integer theOrdinal; theOrdinal = this.getOrdinal(); if (this.ordinal!= null) { currentHashCode += theOrdinal.hashCode(); } } { currentHashCode = (currentHashCode* 31); String theClassName; theClassName = this.getClassName(); if (this.className!= null) { currentHashCode += theClassName.hashCode(); } } return currentHashCode; }
leftName = this.getName(); String rightName; rightName = that.getName(); if (this.name!= null) { if (that.name!= null) { leftOrdinal = this.getOrdinal(); Integer rightOrdinal; rightOrdinal = that.getOrdinal(); if (this.ordinal!= null) { if (that.ordinal!= null) { leftClassName = this.getClassName(); String rightClassName; rightClassName = that.getClassName(); if (this.className!= null) { if (that.className!= null) {