Class MappingDataDto
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.attribute.mapping.MappingDataDto
- All Implemented Interfaces:
ColumnValueProvider<PrismContainerValueWrapper<MappingType>>,SelectableRow<MappingDataDto>,Serializable
public class MappingDataDto
extends Object
implements SelectableRow<MappingDataDto>, Serializable, ColumnValueProvider<PrismContainerValueWrapper<MappingType>>
DTO representing a group of mappings for use in
ColumnTileTable.
Provides grouping, selection, and expansion state, and supports both single and multiple mapping values.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMappingDataDto(@NotNull String groupAttribute, @NotNull List<PrismContainerValueWrapper<MappingType>> mappings, String groupName) -
Method Summary
Modifier and TypeMethodDescription@NotNull String@NotNull List<PrismContainerValueWrapper<MappingType>>@Nullable PrismContainerValueWrapper<MappingType>booleanbooleanisEmpty()booleanbooleanbooleanvoidsetExpanded(boolean expanded) voidsetMappings(@NotNull List<PrismContainerValueWrapper<MappingType>> mappings) voidsetSelected(boolean selected) intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.gui.impl.component.tile.column.ColumnValueProvider
getCount
-
Constructor Details
-
MappingDataDto
public MappingDataDto(@NotNull @NotNull String groupAttribute, @NotNull @NotNull List<PrismContainerValueWrapper<MappingType>> mappings, String groupName)
-
-
Method Details
-
getGroupAttribute
-
getMappings
-
getPrimaryMapping
-
hasMultipleMappings
public boolean hasMultipleMappings() -
isSingleValue
public boolean isSingleValue() -
isEmpty
public boolean isEmpty() -
size
public int size() -
getColumnValue
- Specified by:
getColumnValuein interfaceColumnValueProvider<PrismContainerValueWrapper<MappingType>>
-
getColumnsValues
- Specified by:
getColumnsValuesin interfaceColumnValueProvider<PrismContainerValueWrapper<MappingType>>
-
getKeyValue
- Specified by:
getKeyValuein interfaceColumnValueProvider<PrismContainerValueWrapper<MappingType>>
-
getGroupDisplayName
- Specified by:
getGroupDisplayNamein interfaceColumnValueProvider<PrismContainerValueWrapper<MappingType>>
-
isSelected
public boolean isSelected()- Specified by:
isSelectedin interfaceSelectableRow<MappingDataDto>
-
setSelected
public void setSelected(boolean selected) - Specified by:
setSelectedin interfaceSelectableRow<MappingDataDto>
-
setMappings
-
isExpanded
public boolean isExpanded()- Specified by:
isExpandedin interfaceColumnValueProvider<PrismContainerValueWrapper<MappingType>>
-
setExpanded
public void setExpanded(boolean expanded) - Specified by:
setExpandedin interfaceColumnValueProvider<PrismContainerValueWrapper<MappingType>>
-