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, toString
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
public BeanAsAnnotation(Object bean) throws IntrospectionException
bean
- the JavaBean to viewIntrospectionException
- if the bean could not be introspectedprotected final Map getProperties()
AbstractAnnotation
LinkedHashMap
or similar so properties are iterated in the order
they were added.getProperties
in class AbstractAnnotation
protected final boolean propertiesAllocated()
AbstractAnnotation
propertiesAllocated
in class AbstractAnnotation
Copyright © 2014 BioJava. All rights reserved.