public abstract class AbstractAnnotatedObject extends Object implements AnnotatedObject
AnnotatedObject| Modifier and Type | Field and Description |
|---|---|
static QName |
LOCATION_KEY |
static QName |
ROOT_CONTAINER_NAME_KEY |
PROPERTY_NAME| Constructor and Description |
|---|
AbstractAnnotatedObject() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAnnotation(QName qName)
Gets the value of specified annotation.
|
Map<QName,Object> |
getAnnotations()
Gets all annotations.
|
ComponentLocation |
getLocation() |
String |
getRootContainerName()
The actual root container component name.
|
void |
setAnnotations(Map<QName,Object> newAnnotations)
Sets annotations to the object.
|
public static QName LOCATION_KEY
public static QName ROOT_CONTAINER_NAME_KEY
public Object getAnnotation(QName qName)
AnnotatedObjectgetAnnotation in interface AnnotatedObjectpublic Map<QName,Object> getAnnotations()
AnnotatedObjectgetAnnotations in interface AnnotatedObjectpublic void setAnnotations(Map<QName,Object> newAnnotations)
AnnotatedObjectsetAnnotations in interface AnnotatedObjectpublic ComponentLocation getLocation()
getLocation in interface AnnotatedObjectnull if this object was generated
programmatically and not from a configuration element.public String getRootContainerName()
AnnotatedObjectComponentLocation.getRootContainerName().getRootContainerName in interface AnnotatedObjectCopyright © 2017 MuleSoft, Inc.. All rights reserved.