Record Class KonceptDefinition
java.lang.Object
java.lang.Record
network.ike.docs.koncept.KonceptDefinition
- Record Components:
identifier- CamelCase identifier used in markup (e.g., "HeartFailure")label- Human-readable label (e.g., "Heart Failure")definition- Natural language definition textaxiom- Description logic axiom string using Unicode DL symbolssctid- Optional SNOMED CT concept identifieriri- Optional OWL IRI for the concept
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for constructing KonceptDefinition instances from parsed YAML or programmatic sources. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaxiom()Returns the value of theaxiomrecord component.static KonceptDefinition.Builderbuilder()Creates a new builder for constructingKonceptDefinitioninstances.Returns the value of thedefinitionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.iri()Returns the value of theirirecord component.label()Returns the value of thelabelrecord component.sctid()Returns the value of thesctidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KonceptDefinition
public KonceptDefinition(String identifier, String label, String definition, String axiom, String sctid, String iri) Creates an instance of aKonceptDefinitionrecord class.- Parameters:
identifier- the value for theidentifierrecord componentlabel- the value for thelabelrecord componentdefinition- the value for thedefinitionrecord componentaxiom- the value for theaxiomrecord componentsctid- the value for thesctidrecord componentiri- the value for theirirecord component
-
-
Method Details
-
builder
Creates a new builder for constructingKonceptDefinitioninstances.- Returns:
- a new builder
-
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). -
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
label
-
definition
Returns the value of thedefinitionrecord component.- Returns:
- the value of the
definitionrecord component
-
axiom
-
sctid
-
iri
-