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 aIsAnyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanany()Returns the value of theanyrecord component.booleanReturns the value of theanyStrictrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IsAny
public IsAny(boolean any, boolean anyStrict) Creates an instance of aIsAnyrecord class.- Parameters:
any- the value for theanyrecord componentanyStrict- the value for theanyStrictrecord 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 theanyrecord component.- Returns:
- the value of the
anyrecord component
-
anyStrict
public boolean anyStrict()Returns the value of theanyStrictrecord component.- Returns:
- the value of the
anyStrictrecord component
-