net.sourceforge.jfacets
Interface IFacetContext

All Known Implementing Classes:
DefaultFacetContext

public interface IFacetContext

Base interface for facet contexts. Allows facets to know about :


Context can be extended using custom ContextFactories.

Author:
Remi VANKEISBELCK - rvkb.com (remi 'at' rvkb.com)
See Also:
IFacetContextFactory

Method Summary
 FacetDescriptor getFacetDescriptor()
          Return the facet descriptor that was used to lookup the facet
 String getFacetName()
          Return the name of the facet when it was retrieved.
 IProfile getProfile()
          Return the profile that requested for the facet
 Object getTargetObject()
          Return the targetObject for the facet
 

Method Detail

getFacetName

String getFacetName()
Return the name of the facet when it was retrieved. Should return the same result than getFacetDsecriptor().getName().


getProfile

IProfile getProfile()
Return the profile that requested for the facet


getTargetObject

Object getTargetObject()
Return the targetObject for the facet


getFacetDescriptor

FacetDescriptor getFacetDescriptor()
Return the facet descriptor that was used to lookup the facet

Returns:


Copyright © 2012. All Rights Reserved.