Package io.jmix.flowui.sys.registration
Class FacetRegistrationImpl
java.lang.Object
io.jmix.flowui.sys.registration.FacetRegistrationImpl
- All Implemented Interfaces:
FacetRegistration
Default implementation of
FacetRegistration.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Class<? extends FacetLoader<?>>protected final String -
Constructor Summary
ConstructorsConstructorDescriptionFacetRegistrationImpl(Class<? extends Facet> facet, Class<? extends Facet> replacedFacet, String tag, Class<? extends FacetLoader<?>> facetLoader) -
Method Summary
-
Field Details
-
facet
-
replacedFacet
-
tag
-
facetLoader
-
-
Constructor Details
-
FacetRegistrationImpl
-
-
Method Details
-
getFacet
- Specified by:
getFacetin interfaceFacetRegistration- Returns:
- facet interface class
-
getReplacedFacet
- Specified by:
getReplacedFacetin interfaceFacetRegistration- Type Parameters:
T- type of the new facet class- Returns:
- facet class that should be replaced by
FacetRegistration.getFacet()ornullif not set
-
getTag
- Specified by:
getTagin interfaceFacetRegistration- Returns:
- facet tag
-
getFacetLoader
- Specified by:
getFacetLoaderin interfaceFacetRegistration- Returns:
- facet loader class
-
equals
-
hashCode
public int hashCode() -
toString
-