Object getAttribute(String name)

Get an Attribute

Source

Object getAttribute(String name) {
  if (attributes.containsKey(name)) {
    return attributes[name];
  }

  if (profile != null && profile.attributes.containsKey(name)) {
    return profile.attributes[name];
  }
  return null;
}