|
Forge - Facets Addon API 2.0.0.Alpha3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Exported public interface FacetFactory
Responsible for instantiation of new Facet instances.
| Method Summary | ||
|---|---|---|
|
create(Class<FACET> type)
Create a new instance of the given Facet type. |
|
|
create(Class<FACET> type,
E origin)
Create a new instance of the given Facet type. |
|
|
createFacets(Class<FACET> type)
Returns all the facets that implements a certain Facet type |
|
|
createFacets(Class<FACET> type,
E origin)
Returns all the facets that implements a certain Facet type. |
|
| Method Detail |
|---|
<FACET extends Facet<E>,E extends Faceted<? extends Facet<?>>> FACET create(Class<FACET> type)
Facet type.
<FACET extends Facet<E>,E extends Faceted<? extends Facet<?>>> FACET create(Class<FACET> type,
E origin)
Facet type. If it is also an instance of MutableOrigin, then
use the given instance as the Facet.getOrigin().
<FACET extends Facet<E>,E extends Faceted<? extends Facet<?>>> Iterable<FACET> createFacets(Class<FACET> type)
Facet type
<FACET extends Facet<E>,E extends Faceted<? extends Facet<?>>> Iterable<FACET> createFacets(Class<FACET> type,
E origin)
Facet type. If it is also an instance of
MutableOrigin, then use the given instance as the Facet.getOrigin().
|
Forge - Facets Addon API 2.0.0.Alpha3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||