Interface PrismPropertyDelegator<T>
- All Superinterfaces:
Cloneable,ComplexCopyable<Item<PrismPropertyValue<T>,,PrismPropertyDefinition<T>>> DebugDumpable,Freezable,Item<PrismPropertyValue<T>,,PrismPropertyDefinition<T>> Itemable,ItemDelegator<PrismPropertyValue<T>,,PrismPropertyDefinition<T>> ParentVisitable,PathVisitable,PrismProperty<T>,PrismVisitable,Revivable,Serializable,Visitable
public interface PrismPropertyDelegator<T>
extends PrismProperty<T>, ItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRINGFields inherited from interface com.evolveum.midpoint.prism.Item
KEY_NAMESPACE_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddRealValue(T valueToAdd) default voidaddRealValues(T... valuesToAdd) default voidaddRealValueSkipUniquenessCheck(T valueToAdd) default voidaddValue(PrismPropertyValue<T> pValueToAdd) default voidaddValues(Collection<PrismPropertyValue<T>> pValuesToAdd) default PrismProperty<T>clone()Deprecated.default @NotNull PrismProperty<T>cloneComplex(@NotNull CloneStrategy strategy) Complex clone with different cloning strategies.default PropertyDelta<T>Creates specific subclass of ItemDelta appropriate for type of item that this definition represents (e.g.default PropertyDelta<T>createDelta(ItemPath path) default PrismProperty<T>Deprecated.delegate()default booleandeleteValue(PrismPropertyValue<T> pValueToDelete) default booleandeleteValues(Collection<PrismPropertyValue<T>> pValuesToDelete) default PropertyDelta<T>diff(PrismProperty<T> other) default PropertyDelta<T>diff(PrismProperty<T> other, ParameterizedEquivalenceStrategy strategy) default <IV extends PrismValue,ID extends ItemDefinition<?>>
PartiallyResolvedItem<IV,ID> findPartial(ItemPath path) default Tdefault TReturns the "real value" (content) of this item: - value contained in PrismPropertyValue - Referencable in PrismReferenceValue - Containerable in PrismContainerValue - Objectable in PrismObjectValue Note that the real value can contain operational items.default @NotNull Collection<T>Returns (potentially empty) collection of "real values".default <X> @NotNull Collection<X>getRealValues(Class<X> type) Type override, also for compatibility.default <X> PrismPropertyValue<X>Type override, also for compatibility.default <X> List<PrismPropertyValue<X>>Type override, also for compatibility.default booleanhasRealValue(PrismPropertyValue<T> value) default voidreplaceValues(Collection<PrismPropertyValue<T>> valuesToReplace) default voidsetRealValue(T realValue) default voidsetRealValues(T... realValues) default voidsetValue(PrismPropertyValue<T> value) Means as a short-hand for setting just a value for single-valued attributes.default StringMethods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDelegator
accept, accept, acceptParentVisitor, acceptVisitor, add, add, addAll, addAll, addIgnoringEquivalents, addRespectingMetadataAndCloning, applyDefinition, applyDefinition, applyDefinitionIfMissing, assertDefinitions, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistenceInternal, checkImmutable, checkMutable, clear, contains, contains, debugDump, debugDump, debugDumpLazily, debugDumpLazily, diff, diff, equals, equals, filterValues, filterYields, find, findValue, findValue, freeze, getAllItems, getAllValues, getAnyValue, getAnyValue, getClonedValues, getDefinition, getDisplayName, getElementName, getHelp, getHighestId, getNamespaceContext, getParent, getPath, getRealValue, getRealValuesArray, getRealValuesOrRawTypes, getUserData, getUserData, getValue, getValues, hasAnyValue, hasCompleteDefinition, hashCode, hashCode, hasNoValues, hasRaw, isEmpty, isImmutable, isIncomplete, isOperational, isRaw, isSingleValue, isSingleValueByDefinition, merge, normalize, recomputeAllValues, remove, remove, removeAll, removeIf, removeRespectingMetadata, replace, replaceAll, revive, setDefinition, setElementName, setIncomplete, setParent, setUserData, size, valuesStreamMethods inherited from interface com.evolveum.midpoint.prism.PrismProperty
copy, immutableCopy, mutableCopy
-
Method Details
-
delegate
PrismProperty<T> delegate()- Specified by:
delegatein interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
getValues
Description copied from interface:PrismPropertyType override, also for compatibility.- Specified by:
getValuesin interfacePrismProperty<T>
-
getRealValues
Description copied from interface:ItemReturns (potentially empty) collection of "real values". The list itself is detached, freely modifiable. (Note that the values can still embed a parent, e.g., for containers and references.)- Specified by:
getRealValuesin interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
getRealValuesin interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
getRealValuesin interfacePrismProperty<T>- See Also:
-
getRealValues
Description copied from interface:PrismPropertyType override, also for compatibility.- Specified by:
getRealValuesin interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
getRealValuesin interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
getRealValuesin interfacePrismProperty<T>
-
getAnyRealValue
- Specified by:
getAnyRealValuein interfacePrismProperty<T>
-
getRealValue
Description copied from interface:ItemReturns the "real value" (content) of this item: - value contained in PrismPropertyValue - Referencable in PrismReferenceValue - Containerable in PrismContainerValue - Objectable in PrismObjectValue Note that the real value can contain operational items. It can also contain container IDs (although they are not considered to be part of the real value). It does not contain information about item element name nor other metadata like origin, definition, etc. (Although e.g. Containerable can be converted back into PrismContainerValue that can be used to retrieve this information.)- Specified by:
getRealValuein interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
getRealValuein interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
getRealValuein interfacePrismProperty<T>
-
getValue
Description copied from interface:PrismPropertyType override, also for compatibility.- Specified by:
getValuein interfacePrismProperty<T>
-
setValue
Description copied from interface:PrismPropertyMeans as a short-hand for setting just a value for single-valued attributes. Will remove all existing values.- Specified by:
setValuein interfacePrismProperty<T>
-
setRealValue
- Specified by:
setRealValuein interfacePrismProperty<T>
-
setRealValues
- Specified by:
setRealValuesin interfacePrismProperty<T>
-
addValues
- Specified by:
addValuesin interfacePrismProperty<T>
-
addValue
- Specified by:
addValuein interfacePrismProperty<T>
-
addRealValue
- Specified by:
addRealValuein interfacePrismProperty<T>
-
addRealValueSkipUniquenessCheck
- Specified by:
addRealValueSkipUniquenessCheckin interfacePrismProperty<T>
-
addRealValues
- Specified by:
addRealValuesin interfacePrismProperty<T>
-
deleteValues
- Specified by:
deleteValuesin interfacePrismProperty<T>
-
deleteValue
- Specified by:
deleteValuein interfacePrismProperty<T>
-
replaceValues
- Specified by:
replaceValuesin interfacePrismProperty<T>
-
hasRealValue
- Specified by:
hasRealValuein interfacePrismProperty<T>
-
getValueClass
- Specified by:
getValueClassin interfacePrismProperty<T>
-
createDelta
Description copied from interface:ItemCreates specific subclass of ItemDelta appropriate for type of item that this definition represents (e.g. PropertyDelta, ContainerDelta, ...)- Specified by:
createDeltain interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
createDeltain interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
createDeltain interfacePrismProperty<T>
-
createDelta
- Specified by:
createDeltain interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
createDeltain interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
createDeltain interfacePrismProperty<T>
-
findPartial
default <IV extends PrismValue,ID extends ItemDefinition<?>> PartiallyResolvedItem<IV,ID> findPartial(ItemPath path) - Specified by:
findPartialin interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
findPartialin interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
findPartialin interfacePrismProperty<T>
-
diff
- Specified by:
diffin interfacePrismProperty<T>
-
diff
- Specified by:
diffin interfacePrismProperty<T>
-
createImmutableClone
Deprecated.- Specified by:
createImmutableClonein interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
createImmutableClonein interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
createImmutableClonein interfacePrismProperty<T>
-
clone
Deprecated.Description copied from interface:ItemLiteral clone.- Specified by:
clonein interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
clonein interfacePrismProperty<T>
-
cloneComplex
Description copied from interface:ItemComplex clone with different cloning strategies.- Specified by:
cloneComplexin interfaceComplexCopyable<T>- Specified by:
cloneComplexin interfaceItem<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
cloneComplexin interfaceItemDelegator<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
cloneComplexin interfacePrismProperty<T>- See Also:
-
toHumanReadableString
- Specified by:
toHumanReadableStringin interfacePrismProperty<T>
-