public abstract class FacetModelBase extends java.lang.Object implements FacetModel
| Constructor and Description |
|---|
FacetModelBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
facetsChanged() |
<F extends Facet<?>> |
findFacet(FacetTypeId<F> type,
java.lang.String name) |
<F extends Facet<?>> |
getFacetByType(Facet<?> underlyingFacet,
FacetTypeId<F> typeId) |
<F extends Facet<?>> |
getFacetByType(FacetTypeId<F> typeId) |
java.lang.String |
getFacetName(Facet<?> facet) |
<F extends Facet<?>> |
getFacetsByType(Facet<?> underlyingFacet,
FacetTypeId<F> typeId) |
<F extends Facet<?>> |
getFacetsByType(FacetTypeId<F> typeId) |
Facet<?> [] |
getSortedFacets()
Returns all facets in the module sorted in such a way that a facet will occur before any of its subfacets
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllFacetspublic Facet<?> [] getSortedFacets()
FacetModelgetSortedFacets in interface FacetModelpublic <F extends Facet<?>> java.util.Collection<F> getFacetsByType(Facet<?> underlyingFacet, FacetTypeId<F> typeId)
getFacetsByType in interface FacetModelunderlyingFacet - facettypeId - type of subfacetpublic java.lang.String getFacetName(Facet<?> facet)
getFacetName in interface FacetModelpublic <F extends Facet<?>> F findFacet(FacetTypeId<F> type, java.lang.String name)
findFacet in interface FacetModeltype - type of facetname - name of facetnull if not foundpublic <F extends Facet<?>> F getFacetByType(Facet<?> underlyingFacet, FacetTypeId<F> typeId)
getFacetByType in interface FacetModelunderlyingFacet - facettypeId - type of subfacetpublic <F extends Facet<?>> F getFacetByType(FacetTypeId<F> typeId)
getFacetByType in interface FacetModeltypeId - type of facetnull if the module doesn't contain facets of this typepublic <F extends Facet<?>> java.util.Collection<F> getFacetsByType(FacetTypeId<F> typeId)
getFacetsByType in interface FacetModeltypeId - type of facetsprotected void facetsChanged()