org.metastopheles
Class BeanMetaData

java.lang.Object
  extended by org.metastopheles.MetaDataObject
      extended by org.metastopheles.BeanMetaData
All Implemented Interfaces:
Serializable

public class BeanMetaData
extends MetaDataObject

Since:
1.0
Author:
James Carman
See Also:
Serialized Form

Method Summary
 BeanDescriptor getBeanDescriptor()
           
protected  AnnotatedElement getDefaultAnnotationSource()
          Returns the default source for annotation data for this MetaDataObject.
 MethodMetaData getMethodMetaData(String methodName, Class<?>... parameterTypes)
           
 PropertyMetaData getPropertyMetaData(String propertyName)
          Returns the @{link PropertyMetaData} object for the property named propertyName.
 Set<String> getPropertyNames()
          Returns a (modifiable) set containing all of the property names for this bean type.
protected  Object writeReplace()
           
 
Methods inherited from class org.metastopheles.MetaDataObject
getAnnotation, getFacet, getFacetKeys, setFacet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBeanDescriptor

public BeanDescriptor getBeanDescriptor()

getDefaultAnnotationSource

protected AnnotatedElement getDefaultAnnotationSource()
Description copied from class: MetaDataObject
Returns the default source for annotation data for this MetaDataObject.

Specified by:
getDefaultAnnotationSource in class MetaDataObject
Returns:
the default source for annotation data for this MetaDataObject

writeReplace

protected Object writeReplace()

getMethodMetaData

public MethodMetaData getMethodMetaData(String methodName,
                                        Class<?>... parameterTypes)

getPropertyMetaData

public PropertyMetaData getPropertyMetaData(String propertyName)
Returns the @{link PropertyMetaData} object for the property named propertyName.

Parameters:
propertyName - the property name
Returns:
the @{link PropertyMetaData} object for the property named propertyName

getPropertyNames

public Set<String> getPropertyNames()
Returns a (modifiable) set containing all of the property names for this bean type.

Returns:
a (modifiable) set containing all of the property names for this bean type


Copyright © 2011. All Rights Reserved.