Record Class KonceptDefinition.ModelFeature
java.lang.Object
java.lang.Record
network.ike.docs.koncept.KonceptDefinition.ModelFeature
- Record Components:
label- the feature's display label —Referenced componentwith the generic any-component phrase, orField Nmeaning- the feature's meaning koncept identifier, ornullpurpose- the feature's purpose koncept identifier, ornulldataType- the feature's data-type koncept identifier, ornullfor the referenced component, which has noneexample- the feature's live example value, ornullwhen the extraction found no example semanticdefaultValue- the feature's default value from the pattern's default value semantic, ornullwhen the pattern has none — alwaysnullfor the referenced component, whose referenced component on the defaults semantic is the defaults attachment concept itself, not a documentable value
- Enclosing class:
KonceptDefinition
public static record KonceptDefinition.ModelFeature(String label, String meaning, String purpose, String dataType, String example, String defaultValue)
extends Record
One Model Feature of a
kind: pattern koncept in presentation form: the
referenced component first, then each declared field, labeled 1-indexed
(Field 1 is the first declared field). The referenced component is never
numbered because it is not part of the fields array at either the schema or the
instance level.-
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.label()Returns the value of thelabelrecord component.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
-
ModelFeature
public ModelFeature(String label, String meaning, String purpose, String dataType, String example, String defaultValue) Creates an instance of aModelFeaturerecord class.- Parameters:
label- the value for thelabelrecord componentmeaning- 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). -
label
-
meaning
-
purpose
-
dataType
-
example
-
defaultValue
Returns the value of thedefaultValuerecord component.- Returns:
- the value of the
defaultValuerecord component
-