Record Class ShadowAssociationsCollection.IterableAssociationValue
java.lang.Object
java.lang.Record
com.evolveum.midpoint.schema.util.ShadowAssociationsCollection.IterableAssociationValue
- Record Components:
- name- Name of the containing association
- value- The value bean (refined, i.e. not a raw bean)
- modificationType- type of the modification, if the value is present in- ItemDelta(although sometimes only add/delete mods are expected, see- isAddNotDelete(). For static data the- ModificationType.ADDis used.
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ShadowAssociationsCollection
public static record ShadowAssociationsCollection.IterableAssociationValue(@NotNull ItemName name, @NotNull ShadowAssociationValueType value, @NotNull ModificationType modificationType)
extends Record
implements Serializable
Represents a 
ShadowAssociationValue present either in an ItemDelta or in a ShadowType,
 accessed via ShadowAssociationsCollection.iterator() method.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionIterableAssociationValue(@NotNull ItemName name, @NotNull ShadowAssociationValueType value, @NotNull ModificationType modificationType) Creates an instance of aIterableAssociationValuerecord class.
- 
Method SummaryModifier and TypeMethodDescription@NotNull ShadowAssociationValuefinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisAdd()booleanbooleanisDelete()@NotNull ModificationTypeReturns the value of themodificationTyperecord component.@NotNull ItemNamename()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.@NotNull ShadowAssociationValueTypevalue()Returns the value of thevaluerecord component.
- 
Constructor Details- 
IterableAssociationValuepublic IterableAssociationValue(@NotNull @NotNull ItemName name, @NotNull @NotNull ShadowAssociationValueType value, @NotNull @NotNull ModificationType modificationType) Creates an instance of aIterableAssociationValuerecord class.- Parameters:
- name- the value for the- namerecord component
- value- the value for the- valuerecord component
- modificationType- the value for the- modificationTyperecord component
 
 
- 
- 
Method Details- 
associationPcv
- 
associationValue
- 
isAddpublic boolean isAdd()
- 
isDeletepublic boolean isDelete()
- 
isAddNotDeletepublic boolean isAddNotDelete()
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
nameReturns the value of thenamerecord component.- Returns:
- the value of the namerecord component
 
- 
valueReturns the value of thevaluerecord component.- Returns:
- the value of the valuerecord component
 
- 
modificationTypeReturns the value of themodificationTyperecord component.- Returns:
- the value of the modificationTyperecord component
 
 
-