Sets the value member to the given enum objects.

@param name The name of the member
@param enumObjs The enum[]
@return This builder
961485
public AnnotationValueBuilder<T> member(String name, @Nullable Enum<?>... enumObjs) {
        if (enumObjs != null) {
            values.put(name, enumObjs);
        }
        return this;
    }
681286
function setMember(name, value, options) {
			var member = members[name];
			if (!member) {
				throw new Error("Error setting state. Member not registered : " + name);
			} else {
				var stateType = stateTypes[member.type];
				if (stateType) {
					stateType.set(member, value, options);
				} else {
					throw new Error("Error setting state. Type '"+ member.type +"' not recognised for member : " + name);
				}
			}
		}
141809
@Override
    public Object getMember(String name) {
        switch (name) {
            case "add": return F_add;
            case "addAll": return F_addAll;
            case "clear": return F_clear;
            case "contains": return F_contains;
            case "containsAll": return F_containsAll;
            case "equals": return F_equals;
            case "hashCode": return F_hashCode;
            case "indexOf": return F_indexOf;
            case "isEmpty": return F_isEmpty;
            case "lastIndexOf": return F_lastIndexOf;
            case "remove": return F_remove;
            case "removeAll": return F_removeAll;
            case "retainAll": return F_retainAll;
            case "set": return F_set;
            case "size": return F_size;
            case "subList": return F_subList;
            case "toArray": return F_toArray;
        }
        return super.getMember(name);
    }
545001
@NonNull
    public Parameters setBlob(@NonNull String name, Blob value) {
        return setValue(name, value);
    }
108336
public Datatype.Builder setPropertyEnum(TypeClass propertyEnum) {
    this.propertyEnum = Objects.requireNonNull(propertyEnum);
    _unsetProperties.remove(Property.PROPERTY_ENUM);
    return (Datatype.Builder) this;
  }
383472
@NonNull
    public Parameters setBoolean(@NonNull String name, boolean value) {
        return setValue(name, value);
    }
802686
public EnumBuilder withName(String pojoPackage, String className) {
		className = NamingHelper.convertToClassName(className);

		final String fullyQualifiedClassName = pojoPackage + "." + className;
		// Initiate package if necessary
		if (this.pojoPackage == null) {
			withPackage(pojoPackage);
		}
		// Builders should only have 1 active pojo under their responsibility
		if (this.pojo != null) {
			throw new IllegalStateException("Enum already created");
		}

		try {
			// create the class
			logger.debug("Creating Enum " + fullyQualifiedClassName);
			this.pojo = this.pojoModel._class(fullyQualifiedClassName, ClassType.ENUM);

			// Handle Serialization
			// Do enums need to be serializable?
			// implementsSerializable();
		} catch (JClassAlreadyExistsException e) {
			// class already exists - reuse it!
			logger.debug("Enum {} already exists. Reusing it!", fullyQualifiedClassName);
			this.pojo = this.pojoModel._getClass(fullyQualifiedClassName);
		}

		// Add to shortcuts
		this.codeModels.put(fullyQualifiedClassName, this.pojo);
		return this;
	}
716670
@NonNull
    public Parameters setArray(@NonNull String name, Array value) {
        return setValue(name, value);
    }
309499
protected PropertyValueBindingBuilder bindProperty( final String name )
    {
        checkNotNull( name, "Property name cannot be null." );

        return new PropertyValueBindingBuilder()
        {

            public void toValue( final String value )
            {
                checkNotNull( value, "Null value not admitted for property '%s's", name );

                bindConstant().annotatedWith( named( name ) ).to( value );
            }

        };
    }
498966
public <T extends Enum & Option> OptionsMapper prop(final String name, final T option) {
        return prop(name, option, null);
    }
294193
public AnnotationValueBuilder<T> member(String name, @Nullable AnnotationValue<?>... annotations) {
        if (annotations != null) {
            values.put(name, annotations);
        }
        return this;
    }
1315278
public AnnotationValueBuilder<T> member(String name, long... longs) {
        if (longs != null) {
            values.put(name, longs);
        }
        return this;
    }
70574
public SqlBuilder param(String name, Object value) {
    params.put(name, value);
    return this;
  }
797470
public static Builder name(String name) {
    if (name == null || name.trim().isEmpty()) {
      throw new IllegalArgumentException("Name should be defined.");
    }
    return new Builder(name);
  }
107664
public SystemInputDefBuilder has( String name, Object value)
    {
    systemInputDef_.setAnnotation( name, Objects.toString( value, null));
    return this;
    }
85416
public VarSetBuilder has( String name, Object value)
    {
    varSet_.setAnnotation( name, Objects.toString( value, null));
    return this;
    }
116841
public void setXSDTypeName(String name) {
    this.xsdTypeName = name;
    Integer code = (Integer)JSBaseTypes.xsdTypeNames.get(name);
    if (code == null)
      throw new IllegalArgumentException("XSDTypeName=" + name);
    setTypeCode(code.intValue());
  }