Sets the value of the extension property.

@param value
allowed object is
{@link DiagramElement.Extension }
196910
public void setExtension(org.kie.dmn.model.api.dmndi.DiagramElement.Extension value) {
        this.extension = value;
    }
1339078
public final void setValue(Object value) {
        if (value instanceof Date) {
            content = formatDateTime((Date)value);
        } else
            if (value != null) {
                content = value.toString();
            } else {
                content = null;
            }
    }
1147114
@Override
    public void set(String propName, Object value) {
        if (propName.equals("mappedProperties")) {
            getMappedProperties().add(((String) value));
        }
        super.set(propName, value);
    }
1369306
public void setValue(org.openprovenance.prov.model.Value value) {
	if (value!=null) {
	    this.value = value;
	    getAllAttributes().add((org.openprovenance.prov.model.Attribute)value);	//FIXME: should replace previous value!
	}
    }
1250224
public function setExpand($value)
    {
        $expand = StringHelper::booleanValue($value);
        if ($expand) {
            $this->flags = str_replace(' --style ' . $this->style, '', $this->flags);
            $this->flags .= ' --style expanded';
            $this->style = 'expanded';
        }
    }
583726
public void set(String propName, Object value) {
        if (propName.equals("method")) {
            setMethod(((String) value));
        }
        if (propName.equals("object")) {
            setObject(((String) value));
        }
        if (propName.equals("attribute")) {
            setAttribute(((String) value));
        }
    }
730535
public void setText(String value) {
        string = value;
        start = offset = 0;
        end = value.length();
    }
1366185
@Override
    public void set(String propName, Object value) {
        if (propName.equals("modifyMode")) {
            setModifyMode(((Integer) value));
        }
        super.set(propName, value);
    }
84281
@Override
    public ExtensionDef property(String name, String value) {
        extension.getOrCreate("property@name=" + name).attribute("name", name).text(value);
        return this;
    }
996430
public void setTextAllowOverlap( Boolean value) {
    PropertyValue propertyValue = textAllowOverlap(value);
    constantPropertyUsageMap.put(PROPERTY_TEXT_ALLOW_OVERLAP, propertyValue);
    layer.setProperties(propertyValue);
  }
1328298
@Override
    public void set(String propName, Object value) {
        if (propName.equals("mode")) {
            setMode(((String) value));
        }
        super.set(propName, value);
    }
523913
@Override
    public void setValue(Object value) throws WidgetException {
        try {
            if (value instanceof String) {
                type((String) value);
            } else {
                throw new WidgetRuntimeException("Invalid type. 'value' must be a 'String' type", getByLocator());
            }

        } catch (Exception e) {
            throw new WidgetException("Error while typing " + value, getByLocator(), e);
        }
    }
675017
@Override
	public void setValue(StringValue value) {
		checkNotNull(value);
		setValue(value.value, 0, value.len);
	}
657604
public Object setProperty( Property propertyId,
                               Object value ) {
        if (value == null) {
            // Removing this property ...
            return nodeProperties != null ? nodeProperties.remove(propertyId) : null;
        }
        // Otherwise, we're adding the property
        if (nodeProperties == null) nodeProperties = new TreeMap<Property, Object>();
        return nodeProperties.put(propertyId, value);
    }
185179
public final void setValue(final int value)
	{
		expUnitAdjustment = 0;
		try {
			data = toDpt(dimensionlessCounter, value);
		}
		catch (final KNXFormatException e) {
			logger.error("{} {} coding {} (value {}) should alway have correct format", dpt.getID(),
					dpt.getDescription(), binary(dimensionlessCounter), value, e);
		}
	}
48019
private void addElement(String value) {
        if (null == value) {
            return;
        }
        this.num_items++;
        this.genericValues.add(value);
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "addElement: " + value + " num: " + this.num_items);
        }
    }
1207234
public void setValueR(int x, int y, double value) {
		int idx=y*width+x;
		setValueR_atIndex(idx, value);
	}