Get a sub-attribute using d-path.

@param attrName
@param dPath
@param clazz
@return
@see DPathUtils
965283
public <T> T getSubAttr(String attrName, String dPath, Class<T> clazz) {
        Lock lock = lockForRead();
        try {
            return JacksonUtils.getValue(getAttribute(attrName), dPath, clazz);
        } finally {
            lock.unlock();
        }
    }
976009
public String getStr(String attr) {
		// return (String)attrs.get(attr);
		Object s = attrs.get(attr);
		return s != null ? s.toString() : null;
	}
450478
public Attribute getAttributeByName(String name) {
		for (Attribute a : attributes)
			if (name.equals(a.getName()))
				return a;
		return null;
	}
51592
@Override
	public <T> T getAttribute(String name, Class<T> clazz) {
		return null;
	}
200993
public static PathImpl lookup(String url, Map<String,Object> attr)
  {
    return getPwd().lookup(url, attr);
  }
633688
public Attribute getEntityAttribute(Class clazz, String fieldName)
    {
        if (entityTypes != null && entityTypes.containsKey(clazz))
        {
            EntityType entityType = entityTypes.get(clazz);
            return entityType.getAttribute(fieldName);
        }
        throw new IllegalArgumentException("No entity found: " + clazz);
    }
371474
protected String getFeatureSymbolicName(Attributes attrs) {
        String output = null;
        if (attrs != null) {
            // get Subsystem-SymbolicName
            String value = attrs.getValue(HDR_SUB_SYM_NAME);
            if (value != null) {
                String[] parts = value.split(";");
                if (parts.length > 0) {
                    output = parts[0].trim();
                }
            }
        }
        return output;
    }
1031050
@Override
    public Attribute<X, ?> getDeclaredAttribute(String paramName)
    {
        Attribute<X, ?> attribute = getDeclaredAttribute(paramName, true);
        return attribute;
    }
440558
public <T> T getField(String fieldName, Class<T> clazz) {
        return DPathUtils.getValue(fieldData, fieldName, clazz);
    }
238686
public Attribute<?> getAttribute(String attributeName) {
    for (Attribute<?> attribute : getAllAttributes()) {
      if (attribute.getAttributeName().equals(attributeName)) {
        return attribute;
      }
    }
    return null;
  }
596365
def _get_requirement_attr(self, attr, path):
        
        for req_file in self.requirements:
            if path.strip("/") == req_file.path.strip("/"):
                return getattr(req_file, attr)
        return getattr(self, attr)
524280
public <T> T getAuthenticationAttribute(final String name, final Class<T> clazz)
    {
        final Object attribute = getAuthenticationAttribute(name);
        return getAttributeByType(name, clazz, attribute);
    }
411114
def get_attr_value(self, name):
        ''''''
        if name in self._meta.dfields:
            return self._meta.dfields[name].get_value(self)
        elif not name.startswith('__') and JSPLITTER in name:
            bits = name.split(JSPLITTER)
            fname = bits[0]
            if fname in self._meta.dfields:
                return self._meta.dfields[fname].get_value(self, *bits[1:])
            else:
                return getattr(self, name)
        else:
            return getattr(self, name)
69364
public String getValue(String name)
  {
    Attr attr = ((Attr) m_attrs.getNamedItem(name));
    return (null != attr) 
          ? attr.getValue() : null;
  }
868003
public Attribute getChild(String attrName) {
    Iterable<Attribute> attrParts = getEntities(CHILDREN, Attribute.class);
    return Streams.stream(attrParts)
        .filter(attrPart -> attrPart.getName().equals(attrName))
        .findFirst()
        .orElse(null);
  }
1158403
public Attribute getAttribute(String attrName) {
    Attribute attr = getCachedOwnAttrs().get(attrName);
    if (attr == null) {
      // look up attribute in parent entity
      EntityType extendsEntityType = getExtends();
      if (extendsEntityType != null) {
        attr = extendsEntityType.getAttribute(attrName);
      }
    }
    return attr;
  }
588304
public B attr(String name, String value) {
        get().setAttribute(name, value);
        return that();
    }