org.joda.beans.impl.direct
Class DirectMetaBean

java.lang.Object
  extended by org.joda.beans.impl.BasicMetaBean
      extended by org.joda.beans.impl.direct.DirectMetaBean
All Implemented Interfaces:
MetaBean

public abstract class DirectMetaBean
extends BasicMetaBean

A meta-bean implementation designed for use by DirectBean.

This implementation uses direct access via metaPropertyGet(String) to avoid reflection.


Constructor Summary
DirectMetaBean()
           
 
Method Summary
protected  MetaProperty<?> metaPropertyGet(String propertyName)
          Gets the meta-property by name.
 
Methods inherited from class org.joda.beans.impl.BasicMetaBean
beanName, createPropertyMap, metaProperty, metaPropertyCount, metaPropertyExists, metaPropertyIterable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.joda.beans.MetaBean
beanType, builder, metaPropertyMap
 

Constructor Detail

DirectMetaBean

public DirectMetaBean()
Method Detail

metaPropertyGet

protected MetaProperty<?> metaPropertyGet(String propertyName)
Gets the meta-property by name.

This implementation returns null, and must be overridden in subclasses.

Parameters:
propertyName - the property name, not null
Returns:
the meta-property, null if not found


Copyright © 2007–2013 Joda.org. All rights reserved.