net.sf.mmm.util.pojo.descriptor.base.accessor
Class AbstractPojoPropertyAccessor

java.lang.Object
  extended by net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessor
All Implemented Interfaces:
PojoPropertyAccessor, PojoAttributeName
Direct Known Subclasses:
AbstractPojoPropertyAccessorBase, AbstractPojoPropertyAccessorProxy

public abstract class AbstractPojoPropertyAccessor
extends Object
implements PojoPropertyAccessor

This is the abstract base-implementation of the PojoPropertyAccessor interface.

Since:
1.1.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Constructor Summary
AbstractPojoPropertyAccessor()
          The constructor.
 
Method Summary
 Class<?> getPropertyClass()
          This method gets the type as Class.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.mmm.util.pojo.descriptor.api.accessor.PojoPropertyAccessor
getAccessibleObject, getDeclaringClass, getMode, getModifiers, getPropertyType, getReturnClass, getReturnType
 
Methods inherited from interface net.sf.mmm.util.pojo.descriptor.api.attribute.PojoAttributeName
getName
 

Constructor Detail

AbstractPojoPropertyAccessor

public AbstractPojoPropertyAccessor()
The constructor.

Method Detail

getPropertyClass

public Class<?> getPropertyClass()
This method gets the type as Class. It is a convenience method for PojoPropertyAccessor.getPropertyType(). getUpperBound() if the mode is for reading and PojoPropertyAccessor.getPropertyType(). getLowerBound() otherwise.

Specified by:
getPropertyClass in interface PojoPropertyAccessor
Returns:
the Class reflecting the property.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2001-2010 mmm-Team. All Rights Reserved.