public class BeanAsAnnotation extends AbstractAnnotation
EMPTY_ANNOTATION, PROPERTY| Constructor and Description |
|---|
BeanAsAnnotation(Object bean)
Create a new BeanAsAnnotation for a bean.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map |
getProperties()
Implement this to return the Map delegate.
|
protected boolean |
propertiesAllocated()
A convenience method to see if we have allocated the properties
Map.
|
asMap, containsProperty, equals, getProperty, hashCode, keys, removeProperty, setProperty, toStringaddChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic BeanAsAnnotation(Object bean) throws IntrospectionException
bean - the JavaBean to viewIntrospectionException - if the bean could not be introspectedprotected final Map getProperties()
AbstractAnnotationLinkedHashMap or similar so properties are iterated in the order
they were added.getProperties in class AbstractAnnotationprotected final boolean propertiesAllocated()
AbstractAnnotationpropertiesAllocated in class AbstractAnnotationCopyright © 2020 BioJava. All rights reserved.