Record Class PaleographyAssistant.ScriptFeature
java.lang.Object
java.lang.Record
org.episteme.social.history.PaleographyAssistant.ScriptFeature
- Record Components:
name- feature namedescription- technical descriptionassociatedScripts- list of scripts where this feature is common
- All Implemented Interfaces:
Serializable
- Enclosing class:
PaleographyAssistant
public static record PaleographyAssistant.ScriptFeature(String name, String description, List<PaleographyAssistant.ScriptType> associatedScripts)
extends Record
implements Serializable
Specific calligraphic or typographic feature used to distinguish scripts.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionScriptFeature(String name, String description, List<PaleographyAssistant.ScriptType> associatedScripts) Creates an instance of aScriptFeaturerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassociatedScriptsrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScriptFeature
public ScriptFeature(String name, String description, List<PaleographyAssistant.ScriptType> associatedScripts) Creates an instance of aScriptFeaturerecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentassociatedScripts- the value for theassociatedScriptsrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
name
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
associatedScripts
Returns the value of theassociatedScriptsrecord component.- Returns:
- the value of the
associatedScriptsrecord component
-