Get a date value from the form, and place it in <code>attribute</code>.

@param name attribute name
@param attribute attribute to put value
@since 1.11.1
540477
@Api
	public void getValue(String name, DateAttribute attribute) {
		attribute.setValue((Date) formWidget.getValue(name));
	}
706542
public Object getAttribute(String name) {
		if(logger.isDebugEnabled()) {
			logger.debug("getAttribute - name=" + sessionKey);
		}
		if (name == null)
			throw new NullPointerException("Attribute name can not be null.");
		return this.getAttributeMap().get(name);
	}
1187821
@Override
    public Object getAttribute(String name, Object value) {
        log.debug("getAttribute - name: {} value: {}", name, value);
        Object result = null;
        if (name != null) {
            result = attributes.putIfAbsent(name, value);
            if (result == null) {
                // no previous value
                modified.set(true);
                final SharedObjectEvent event = new SharedObjectEvent(Type.CLIENT_UPDATE_DATA, name, value);
                if (ownerMessage.addEvent(event) && syncEvents.add(event)) {
                    notifyModified();
                    changeStats.incrementAndGet();
                }
                result = value;
            }
        }
        return result;
    }
1086192
public static void setValue(final String name, final Object attribute) {
		JKThreadLocal.get().put(name, attribute);
	}
431578
public void setTagValue(String name, Date date) {
        removeTag(name);
        XtraTag tag = new XtraTag(name);
        tag.values.addElement(new XtraValue(date));
        tags.addElement(tag);
    }
39557
public function setAttribute($name, $attribute, $value)
    {
        $this->getField($name)->setAttribute($attribute, $value);
    }
438518
public static String getAttributeValue(final Element element, final String name) {
        final Node node = element.getAttributes().getNamedItem(name);
        if (node != null) {
            return node.getNodeValue();
        }

        return null;
    }
99278
@Api
	public void getValue(String name, DoubleAttribute attribute) {
		attribute.setValue(toDouble(formWidget.getValue(name)));
	}
890076
public Attribute getAttribute(String name)
  {
    for (int i = _attributes.size() - 1; i >= 0; i--) {
      Attribute attr = _attributes.get(i);

      if (attr.getName().equals(name))
        return attr;
    }

    return null;
  }
1314105
@Override
    public void visit(final Attribute attribute) {
        if (type.isEmpty() || type.equals(attribute.getString())) {
            for (final GedObject gedObject : attribute.getAttributes()) {
                gedObject.accept(this);
                if (!dateString.isEmpty()) {
                    break;
                }
            }
        }
    }
844743
public void setName(String name) throws ApplicationException {
	if (name == null) return;
	this.name = name.trim();
	if (name.length() == 0) throw new ApplicationException("invalid attribute definition", "attribute [name] can't be a empty string");
    }
1060621
private function transformValue ($name, $attribute, &$exclude)
	{
		
		// If an attribute can accept NULL and it's value is '' then NULL will be set

		$value	= $this->iget ($name);

		if (is_null ($value) || (isset ($attribute['null']) && $attribute['null'] && $value === ''))
		{
			$this->iset ($name, NULL);
			$value		= 'NULL';
			$exclude[]	= $name;
		}
		else
		{
			
			// Switch special values
			
			switch ((string)$value)
			{

				case "CURRENT_TIMESTAMP":

					$value		= 'CURRENT_TIMESTAMP';
					$exclude[]	= $name;
					break;

				case 'CURRENT_UTC_DATE':

					$value		= "'" . $this->parser->utcDate () . "'";
					$exclude[]	= $name;
					break;

				default:

					$value	= ':' . $name;
					break;

			}

		}
		
		// Return transformed value
		
		return $value;
		
	}
890566
public String getFormAttribute(@NotNull final String name, String defaultValue) {
        String value = request.formAttributes().get(name);

        if (value == null) {
            return defaultValue;
        }

        return value;
    }
823336
@Override
    public String getAttribute(final String name) {
        String value;
        value = hash.get(name);
        return value;
    }
29736
public String getAttributeValue(String name) {
        Attr att = node.getAttributeNode(name);
        if (att == null) return null;
        return att.getNodeValue();
    }
414149
public void set(String name, Object obj)
    throws CertificateException, IOException {
        if (!(obj instanceof Date)) {
            throw new CertificateException("Attribute must be of type Date.");
        }
        if (name.equalsIgnoreCase(NOT_BEFORE)) {
            notBefore = (Date)obj;
        } else if (name.equalsIgnoreCase(NOT_AFTER)) {
            notAfter = (Date)obj;
        } else {
          throw new CertificateException("Attribute name not recognized by"
                           + " CertAttrSet:PrivateKeyUsage.");
        }
        encodeThis();
    }
587790
public Date getAttributeAsDate(String attrName, String dateTimeFormat) {
        Lock lock = lockForRead();
        try {
            return MapUtils.getDate(attributes, attrName, dateTimeFormat);
        } finally {
            lock.unlock();
        }
    }