Add a warning property to the set. The warning implicitly has the boolean
value "true" as its attribute.

@param prop
the WarningProperty
@return this object
18824
public WarningPropertySet<T> addProperty(T prop) {
        map.put(prop, Boolean.TRUE);
        return this;
    }
1274721
@Override
	public Boolean getPropertyBoolean(String key)
	{
		Boolean bVal = null;
		String sVal = getProperty(key);
		if ((sVal != null) && (sVal.length() > 0))
		{
			bVal = Boolean.valueOf(sVal);
		}
		return bVal;
	}
803005
public Options putBoolean(String key, IModel<Boolean> value)
	{
		putOption(key, new BooleanOption(value));
		return this;
	}
941932
public boolean getBoolean(String property) {
    return getProperty(property, value -> {
      switch (value.trim().toLowerCase()) {
        case "true":
        case "1":
          return true;
        case "false":
        case "0":
          return false;
        default:
          throw new ConfigurationException("invalid property value: " + property + " must be a boolean");
      }
    });
  }
949427
@PublicEvolving
	public void setBoolean(ConfigOption<Boolean> key, boolean value) {
		setValueInternal(key.key(), value);
	}
94727
public static Boolean getBooleanProperty(String key, boolean required) {
		Boolean value = null;
		String stringValue = getProperty(key, required);
		if (stringValue != null) {
			value = Boolean.valueOf(stringValue);
		}
		return value;
	}
1230970
public static void addPropertyBoolean(
        CmsCmisTypeManager typeManager,
        PropertiesImpl props,
        String typeId,
        Set<String> filter,
        String id,
        boolean value) {

        if (!checkAddProperty(typeManager, props, typeId, filter, id)) {
            return;
        }

        props.addProperty(new PropertyBooleanImpl(id, Boolean.valueOf(value)));
    }
116353
final public function addPropertyIfNot(Bool $condition=null, String $property, $value=null)
	{
		if ($condition == false) {
			$this->softProperties[$property] = $value;
		}
	}
722938
@SuppressWarnings("unused")
	private Boolean loadBooleanProperty(String propertyKey) {
		String booleanPropValue = prop.getProperty(propertyKey);
		if (booleanPropValue != null) {
			return Boolean.parseBoolean(booleanPropValue.trim());
		} else {
			return null;
		}
	}
1124071
public HttpHeaders addWarning(String warning) {
    if (warning == null) {
      return this;
    }
    if (this.warning == null) {
      this.warning = getAsList(warning);
    } else {
      this.warning.add(warning);
    }
    return this;
  }
1347932
public FessMessages addErrorsSsoLoginError(String property) {
        assertPropertyNotNull(property);
        add(property, new UserMessage(ERRORS_sso_login_error));
        return this;
    }
1097251
public boolean isSet(String propName) {
        if (propName.equals("value")) {
            return isSetValue();
        }
        if (propName.equals("lang")) {
            return isSetLang();
        }
        return false;
    }
854009
@Override
    public void onCreateProperty(String reference, PropertyRecord prop) {
        closePropertyDialoge();

        String[] tokens = reference.split("_#_");

        ModelNode operation = new ModelNode();
        operation.get(ADDRESS).set(Baseadress.get());
        operation.get(ADDRESS).add("subsystem", "jgroups");
        operation.get(ADDRESS).add("stack", tokens[0]);
        operation.get(ADDRESS).add("protocol", tokens[1]);
        operation.get(OP).set("map-put");
        operation.get(NAME).set("properties");
        operation.get("key").set(prop.getKey());
        operation.get("value").set(prop.getValue());

        dispatcher.execute(new DMRAction(operation), new SimpleCallback<DMRResponse>() {
            @Override
            public void onSuccess(DMRResponse result) {
                ModelNode response = result.get();

                if (response.isFailure()) {
                    Console.error(Console.MESSAGES.addingFailed("Protocol Property"), response.getFailureDescription());
                } else {
                    Console.info(Console.MESSAGES.added("Protocol Property"));

                    loadStacks(true);
                }
            }
        });
    }
365138
public void bind(BooleanProperty property, String key) {
		if (prefs.get(validateKey(key), null) != null) {
			property.set(prefs.getBoolean(key, false));
		}
		property.addListener(o -> prefs.putBoolean(key, property.getValue()));
	}
476207
public JcBoolean booleanProperty(String name) {
		JcBoolean ret = new JcBoolean(name, this, OPERATOR.PropertyContainer.PROPERTY_ACCESS);
		QueryRecorder.recordInvocationConditional(this, "booleanProperty", ret, QueryRecorder.literal(name));
		return ret;
	}
1024062
function(prop) {
      var args = Array.prototype.slice.apply(arguments, [1]);
      if (this.setter[prop]) {
        this.setter[prop].apply(this, args);
      } else {
        this[prop] = args.join(',');
      }
    }
1298579
function(thing, prop) {
		Object.defineProperty(thing, prop, {
			enumerable: true,
			configurable: true,
			get: function() {
				gui.GreatSpirit.DENY(thing);
			},
			set: function() {
				gui.GreatSpirit.DENY(thing);
			}
		});
	}