Record Class IsAnyXsomParser.IsAny
java.lang.Object
java.lang.Record
com.evolveum.midpoint.prism.impl.schema.features.IsAnyXsomParser.IsAny
- Enclosing class:
- IsAnyXsomParser
-
Constructor Summary
ConstructorsConstructorDescriptionIsAny
(boolean any, boolean anyStrict) Creates an instance of aIsAny
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
any()
Returns the value of theany
record component.boolean
Returns the value of theanyStrict
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
IsAny
public IsAny(boolean any, boolean anyStrict) Creates an instance of aIsAny
record class.- Parameters:
any
- the value for theany
record componentanyStrict
- the value for theanyStrict
record component
-
-
Method Details
-
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 with '=='. -
any
public boolean any()Returns the value of theany
record component.- Returns:
- the value of the
any
record component
-
anyStrict
public boolean anyStrict()Returns the value of theanyStrict
record component.- Returns:
- the value of the
anyStrict
record component
-