Record Class KonceptDefinition.PatternField
java.lang.Object
java.lang.Record
network.ike.docs.koncept.KonceptDefinition.PatternField
- Record Components:
meaning- the field's own meaning koncept identifierpurpose- the field's own purpose koncept identifierdataType- the field's own data-type koncept identifierexample- this field's actual value on the same example semantic used forKonceptDefinition.referencedComponentExample()— a koncept identifier if the value resolves to one, otherwise its plain display text — ornullif no example semantic was founddefaultValue- this field's value on the pattern's default value semantic (parsed from thedefault:YAML key — IKE-Network/ike-issues#888), with the same identifier-or-display-text convention asexample— ornullwhen the pattern has no active default value semantic
- Enclosing class:
KonceptDefinition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondataType()Returns the value of thedataTyperecord component.Returns the value of thedefaultValuerecord component.final booleanIndicates whether some other object is "equal to" this one.example()Returns the value of theexamplerecord component.final inthashCode()Returns a hash code value for this object.meaning()Returns the value of themeaningrecord component.purpose()Returns the value of thepurposerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PatternField
public PatternField(String meaning, String purpose, String dataType, String example, String defaultValue) Creates an instance of aPatternFieldrecord class.- Parameters:
meaning- the value for themeaningrecord componentpurpose- the value for thepurposerecord componentdataType- the value for thedataTyperecord componentexample- the value for theexamplerecord componentdefaultValue- the value for thedefaultValuerecord 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). -
meaning
-
purpose
-
dataType
-
example
-
defaultValue
Returns the value of thedefaultValuerecord component.- Returns:
- the value of the
defaultValuerecord component
-