java.lang.Object
java.lang.Record
org.aya.core.serde.SerDef.QName
- All Implemented Interfaces:
Serializable
- Enclosing interface:
SerDef
public static record SerDef.QName(@NotNull kala.collection.immutable.ImmutableSeq<String> mod, @NotNull kala.collection.immutable.ImmutableSeq<String> fileMod, @NotNull String name)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull kala.collection.immutable.ImmutableSeq<String>fileMod()Returns the value of thefileModrecord component.final inthashCode()Returns a hash code value for this object.@NotNull kala.collection.immutable.ImmutableSeq<String>mod()Returns the value of themodrecord component.@NotNull Stringname()Returns the value of thenamerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
QName
public QName(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<String> mod, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<String> fileMod, @NotNull @NotNull String name) Creates an instance of aQNamerecord class.- Parameters:
mod- the value for themodrecord componentfileMod- the value for thefileModrecord componentname- the value for thenamerecord 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 withObjects::equals(Object,Object). -
mod
Returns the value of themodrecord component.- Returns:
- the value of the
modrecord component
-
fileMod
Returns the value of thefileModrecord component.- Returns:
- the value of the
fileModrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-