Class MetadataWrapperFactoryImpl<C extends Containerable>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl<PrismContainerWrapper<C>,PrismContainerValue<C>,PrismContainer<C>,PrismContainerValueWrapper<C>>
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImpl<C>
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.MetadataWrapperFactoryImpl<C>
-
- All Implemented Interfaces:
ItemWrapperFactory<PrismContainerWrapper<C>,PrismContainerValueWrapper<C>,PrismContainerValue<C>>
,PrismContainerWrapperFactory<C>
,WrapperFactory
- Direct Known Subclasses:
ProvenanceMetadataWrapperFactory
@Component public class MetadataWrapperFactoryImpl<C extends Containerable> extends PrismContainerWrapperFactoryImpl<C>
-
-
Constructor Summary
Constructors Constructor Description MetadataWrapperFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerWrapper<C>
createWrapper(PrismContainerValueWrapper<?> parent, ItemDefinition<?> def, WrapperContext context)
int
getOrder()
boolean
match(ItemDefinition<?> def)
<C extends Containerable>
booleanmatch(ItemDefinition<?> def, PrismContainerValue<C> parent)
void
registerWrapperPanel(PrismContainerWrapper<C> wrapper)
protected boolean
shouldCreateEmptyValue(PrismContainer<C> item, WrapperContext context)
-
Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImpl
addItemWrapper, createChildren, createChildWrapper, createContainerValueWrapper, createNewValue, createValueWrapper, createWrapperInternal, getItemDefinitions, register, setupWrapper, shouldBeExpanded
-
Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl
canCreateValueWrapper, canCreateWrapper, createValuesWrapper, createWrapper, getModelInteractionService, getModelService, getPrismContext, getRegistry, getTaskManager, getValues, setupMetadata
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.ItemWrapperFactory
createWrapper
-
-
-
-
Method Detail
-
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceWrapperFactory
- Overrides:
getOrder
in classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
match
public boolean match(ItemDefinition<?> def)
- Specified by:
match
in interfaceWrapperFactory
- Overrides:
match
in classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
match
public <C extends Containerable> boolean match(ItemDefinition<?> def, PrismContainerValue<C> parent)
-
registerWrapperPanel
public void registerWrapperPanel(PrismContainerWrapper<C> wrapper)
- Overrides:
registerWrapperPanel
in classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
shouldCreateEmptyValue
protected boolean shouldCreateEmptyValue(PrismContainer<C> item, WrapperContext context)
- Overrides:
shouldCreateEmptyValue
in classItemWrapperFactoryImpl<PrismContainerWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>,PrismContainer<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>>
-
createWrapper
public PrismContainerWrapper<C> createWrapper(PrismContainerValueWrapper<?> parent, ItemDefinition<?> def, WrapperContext context) throws SchemaException
- Specified by:
createWrapper
in interfaceItemWrapperFactory<PrismContainerWrapper<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>>
- Overrides:
createWrapper
in classItemWrapperFactoryImpl<PrismContainerWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>,PrismContainer<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>>
- Throws:
SchemaException
-
-