Record Class ValueSetDefinition.ExtraSetSpecification
java.lang.Object
java.lang.Record
com.evolveum.midpoint.repo.common.expression.ValueSetDefinition.ExtraSetSpecification
- Enclosing class:
- ValueSetDefinition<IV extends PrismValue,
D extends ItemDefinition<?>>
public static record ValueSetDefinition.ExtraSetSpecification(@Nullable String assignmentSubtype)
extends Record
Item-specific specifications, e.g., assignment subtype.
Probably temporary solution.
-
Constructor Summary
ConstructorsConstructorDescriptionExtraSetSpecification(@Nullable String assignmentSubtype) Creates an instance of aExtraSetSpecificationrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of theassignmentSubtyperecord component.final booleanIndicates whether some other object is "equal to" this one.fromBean(@Nullable VariableBindingDefinitionType defBean) final inthashCode()Returns a hash code value for this object.booleanmatches(PrismValue value) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExtraSetSpecification
Creates an instance of aExtraSetSpecificationrecord class.- Parameters:
assignmentSubtype- the value for theassignmentSubtyperecord component
-
-
Method Details
-
fromBean
public static ValueSetDefinition.ExtraSetSpecification fromBean(@Nullable @Nullable VariableBindingDefinitionType defBean) -
matches
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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). -
assignmentSubtype
Returns the value of theassignmentSubtyperecord component.- Returns:
- the value of the
assignmentSubtyperecord component
-