public class BeanMetadataAttributeAccessor extends org.springframework.core.AttributeAccessorSupport implements BeanMetadataElement
AttributeAccessorSupport,
 holding attributes as BeanMetadataAttribute objects in order
 to keep track of the definition source.| Constructor and Description | 
|---|
| BeanMetadataAttributeAccessor() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addMetadataAttribute(BeanMetadataAttribute attribute)Add the given BeanMetadataAttribute to this accessor's set of attributes. | 
| Object | getAttribute(String name) | 
| BeanMetadataAttribute | getMetadataAttribute(String name)Look up the given BeanMetadataAttribute in this accessor's set of attributes. | 
| Object | getSource()Return the configuration source  Objectfor this metadata element
 (may benull). | 
| Object | removeAttribute(String name) | 
| void | setAttribute(String name,
            Object value) | 
| void | setSource(Object source)Set the configuration source  Objectfor this metadata element. | 
public void setSource(@Nullable
                      Object source)
Object for this metadata element.
 The exact type of the object will depend on the configuration mechanism used.
@Nullable public Object getSource()
BeanMetadataElementObject for this metadata element
 (may be null).getSource in interface BeanMetadataElementpublic void addMetadataAttribute(BeanMetadataAttribute attribute)
attribute - the BeanMetadataAttribute object to register@Nullable public BeanMetadataAttribute getMetadataAttribute(String name)
name - the name of the attributenull if no such attribute definedpublic void setAttribute(String name, @Nullable Object value)
setAttribute in interface org.springframework.core.AttributeAccessorsetAttribute in class org.springframework.core.AttributeAccessorSupport@Nullable public Object getAttribute(String name)
getAttribute in interface org.springframework.core.AttributeAccessorgetAttribute in class org.springframework.core.AttributeAccessorSupport