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 aExtraSetSpecification
record class. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
Returns the value of theassignmentSubtype
record component.final boolean
Indicates whether some other object is "equal to" this one.fromBean
(@Nullable VariableBindingDefinitionType defBean) final int
hashCode()
Returns a hash code value for this object.boolean
matches
(PrismValue value) final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ExtraSetSpecification
Creates an instance of aExtraSetSpecification
record class.- Parameters:
assignmentSubtype
- the value for theassignmentSubtype
record 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 theassignmentSubtype
record component.- Returns:
- the value of the
assignmentSubtype
record component
-