enum method rename from parse to valueOf; handle with default value