public void setBooleanAttribute(String name, Boolean value) {
		Attribute attribute = getAttributes().get(name);
		if (!(attribute instanceof BooleanAttribute)) {
			throw new IllegalStateException("Cannot set boolean value on attribute with different type, " +
					attribute.getClass().getName() + " setting value " + value);
		}
		((BooleanAttribute) attribute).setValue(value);
	}
public void setBooleanAttribute ( String name , Boolean value ) { Attribute attribute = getAttributes ( ) . get ( name ) ; if ( ! ( attribute instanceof BooleanAttribute ) ) { throw new IllegalStateException ( "Cannot set boolean value on attribute with different type, " + attribute . getClass ( ) . getName ( ) + " setting value " + value ) ; } ( ( BooleanAttribute ) attribute ) . setValue ( value ) ; }
Set attribute value of given type.

@param name attribute name
@param value attribute value