@Override public MLongInput clone(boolean cloneWithValue) { MLongInput copy = new MLongInput( getName(), isSensitive(), getEditable(), getOverrides(), getCloneOfValidators()); copy.setPersistenceId(getPersistenceId()); if (cloneWithValue) { copy.setValue(this.getValue()); } return copy; }
@Override public boolean equals(Object other) { if (other == this) { return true; } if (!(other instanceof MLongInput)) { return false; } MLongInput i = (MLongInput) other; return getName().equals(i.getName()); }