net.officefloor.frame.spi.managedobject.source.impl
Class ManagedObjectExtensionInterfaceMetaDataImpl<I>

java.lang.Object
  extended by net.officefloor.frame.spi.managedobject.source.impl.ManagedObjectExtensionInterfaceMetaDataImpl<I>
All Implemented Interfaces:
ManagedObjectExtensionInterfaceMetaData<I>

public class ManagedObjectExtensionInterfaceMetaDataImpl<I>
extends Object
implements ManagedObjectExtensionInterfaceMetaData<I>

Implementation of ManagedObjectExtensionInterfaceMetaData.

Author:
Daniel Sagenschneider

Constructor Summary
ManagedObjectExtensionInterfaceMetaDataImpl(Class<I> type, ExtensionInterfaceFactory<I> factory)
          Initiate.
 
Method Summary
 ExtensionInterfaceFactory<I> getExtensionInterfaceFactory()
          Obtains the ExtensionInterfaceFactory to create the extension interface for the ManagedObject.
 Class<I> getExtensionInterfaceType()
          Obtains the type of extension interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedObjectExtensionInterfaceMetaDataImpl

public ManagedObjectExtensionInterfaceMetaDataImpl(Class<I> type,
                                                   ExtensionInterfaceFactory<I> factory)
Initiate.

Parameters:
type - Extension interface type.
factory - ExtensionInterfaceFactory.
Method Detail

getExtensionInterfaceType

public Class<I> getExtensionInterfaceType()
Description copied from interface: ManagedObjectExtensionInterfaceMetaData
Obtains the type of extension interface.

Specified by:
getExtensionInterfaceType in interface ManagedObjectExtensionInterfaceMetaData<I>
Returns:
Class representing the type of extension interface.

getExtensionInterfaceFactory

public ExtensionInterfaceFactory<I> getExtensionInterfaceFactory()
Description copied from interface: ManagedObjectExtensionInterfaceMetaData
Obtains the ExtensionInterfaceFactory to create the extension interface for the ManagedObject.

Specified by:
getExtensionInterfaceFactory in interface ManagedObjectExtensionInterfaceMetaData<I>
Returns:
ExtensionInterfaceFactory to create the extension interface for the ManagedObject.


Copyright © 2005-2013. All Rights Reserved.