Record Class BoneName
java.lang.Object
java.lang.Record
kr.toxicity.model.api.bone.BoneName
- Record Components:
- tagsname- namerawName- original name
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.@NotNull Stringname()Returns the value of thenamerecord component.static @NotNull BoneNameCreates a new BoneName by parsing the raw name string.@NotNull StringrawName()Returns the value of therawNamerecord component.booleanChecks this name has some tagstags()Returns the value of thetagsrecord component.@NotNull BoneItemMapperGets an item mapper of this bone name.@NotNull StringtoString()Returns a string representation of this record class.
-
Field Details
-
PARSER
A JSON deserializer for parsing BoneName from a string.- Since:
- 2.0.1
-
-
Constructor Details
-
BoneName
-
-
Method Details
-
of
-
tagged
Checks this name has some tags- Parameters:
tags- tags- Returns:
- any match
-
toItemMapper
Gets an item mapper of this bone name.- Returns:
- item mapper
-
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). -
hashCode
-
toString
-
tags
-
name
-
rawName
-