net.sf.mmm.util.pojo.descriptor.api.attribute
Interface PojoAttributeType<POJO>

Type Parameters:
POJO - is the pojo-type.
All Known Subinterfaces:
PojoDescriptor<POJO>
All Known Implementing Classes:
AbstractPojoDescriptor, PojoDescriptorImpl

public interface PojoAttributeType<POJO>

This is the interface for an object that is related to a Pojo and therefore contains the pojo-type.

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

Method Summary
 Class<POJO> getPojoClass()
          This method gets the type reflecting the Pojo this object is related to.
 GenericType<POJO> getPojoType()
          This method gets the GenericType reflecting the Pojo this object is related to.
 

Method Detail

getPojoClass

Class<POJO> getPojoClass()
This method gets the type reflecting the Pojo this object is related to.

Returns:
the type of the according Pojo.

getPojoType

GenericType<POJO> getPojoType()
This method gets the GenericType reflecting the Pojo this object is related to.

Returns:
the type of the according Pojo.


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