| Modifier and Type | Field and Description |
|---|---|
| protected boolean | isMeta
Metadata annotation flag |
| protected Map | m_attributes
Map of attribute names and values. |
| protected String | m_name
The name of the annotation. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private Object | |
| public MetadataAnnotation | |
| public Object[] | |
| public Boolean | getAttributeBoolean(String name, Boolean defaultValue)
INTERNAL: Return the boolean attribute value, or the default value if not set. |
| public Boolean | getAttributeBooleanDefaultFalse(String name)
INTERNAL: Return the boolean attribute value, or FALSE if not set. |
| public Boolean | getAttributeBooleanDefaultTrue(String name)
INTERNAL: Return the boolean attribute value, or TRUE if not set. |
| public String | getAttributeClass(String name, Class<?> defaultClass)
INTERNAL: Return the Class attribute value, or the default provided. |
| public Integer | |
| public Map | |
| public String | |
| public String | getAttributeString(String name, String defaultValue)
INTERNAL: Return the attribute value, or defaultValue if not set. |
| public String | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public String |
| isMeta | back to summary |
|---|---|
| protected boolean isMeta Metadata annotation flag | |
| m_attributes | back to summary |
|---|---|
| protected Map<String, Object> m_attributes Map of attribute names and values. | |
| m_name | back to summary |
|---|---|
| protected String m_name The name of the annotation. | |
| MetadataAnnotation | back to summary |
|---|---|
| public MetadataAnnotation() Default constructor. | |
| addAttribute | back to summary |
|---|---|
| public void addAttribute(String key, Object value) INTERNAL: | |
| getAttribute | back to summary |
|---|---|
| private Object getAttribute(String name) INTERNAL: Return the attribute value, or null if not set. This should remain a private method and callers should use one of the more specific getAttribute calls. (and build one if necessary) | |
| getAttributeAnnotation | back to summary |
|---|---|
| public MetadataAnnotation getAttributeAnnotation(String name) INTERNAL: Return annotation attribute value. You should call this method only if you know the object returned will be a MetadataAnnotation. | |
| getAttributeArray | back to summary |
|---|---|
| public Object[] getAttributeArray(String name) INTERNAL: Return the attribute value, or an empty array if not set. Callers will have the cast the type. | |
| getAttributeBoolean | back to summary |
|---|---|
| public Boolean getAttributeBoolean(String name, Boolean defaultValue) INTERNAL: Return the boolean attribute value, or the default value if not set. | |
| getAttributeBooleanDefaultFalse | back to summary |
|---|---|
| public Boolean getAttributeBooleanDefaultFalse(String name) INTERNAL: Return the boolean attribute value, or FALSE if not set. | |
| getAttributeBooleanDefaultTrue | back to summary |
|---|---|
| public Boolean getAttributeBooleanDefaultTrue(String name) INTERNAL: Return the boolean attribute value, or TRUE if not set. | |
| getAttributeClass | back to summary |
|---|---|
| public String getAttributeClass(String name, Class<?> defaultClass) INTERNAL: Return the Class attribute value, or the default provided. | |
| getAttributeInteger | back to summary |
|---|---|
| public Integer getAttributeInteger(String name) INTERNAL: Return Integer attribute value. You should call this method only if you know the object returned will be an Integer. | |
| getAttributes | back to summary |
|---|---|
| public Map INTERNAL: | |
| getAttributeString | back to summary |
|---|---|
| public String getAttributeString(String name) INTERNAL: Return the attribute value, or null if not set. | |
| getAttributeString | back to summary |
|---|---|
| public String getAttributeString(String name, String defaultValue) INTERNAL: Return the attribute value, or defaultValue if not set. | |
| getName | back to summary |
|---|---|
| public String getName() INTERNAL: | |
| hasAttribute | back to summary |
|---|---|
| public boolean hasAttribute(String name) INTERNAL: Return true if the attribute exists. | |
| isMeta | back to summary |
|---|---|
| public boolean isMeta() INTERNAL:
| |
| setAttributes | back to summary |
|---|---|
| public void setAttributes(Map<String, Object> attributes) INTERNAL: | |
| setIsMeta | back to summary |
|---|---|
| public void setIsMeta(boolean isMeta) INTERNAL: | |
| setName | back to summary |
|---|---|
| public void setName(String name) INTERNAL: | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. INTERNAL:
| |