Record Class AslRmTypeAndConcept
java.lang.Object
java.lang.Record
org.ehrbase.openehr.aqlengine.asl.model.AslRmTypeAndConcept
- Record Components:
aliasedRmType-concept-
archetypeNodeId maps to rm entity and entity concept columns
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAslRmTypeAndConcept(String aliasedRmType, String concept) Creates an instance of aAslRmTypeAndConceptrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealiasedRmTyperecord component.concept()Returns the value of theconceptrecord component.final booleanIndicates whether some other object is "equal to" this one.static AslRmTypeAndConceptfromArchetypeNodeId(String archetypeNodeId) final inthashCode()Returns a hash code value for this object.static StringtoEntityConcept(String archetypeNodeId) Removes the fixed prefix from archetype ids (openEHR-EHR-{RM-type}), but leaves the '.', which hints the missing prefixfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
ARCHETYPE_PREFIX
- See Also:
-
-
Constructor Details
-
AslRmTypeAndConcept
Creates an instance of aAslRmTypeAndConceptrecord class.- Parameters:
aliasedRmType- the value for thealiasedRmTyperecord componentconcept- the value for theconceptrecord component
-
-
Method Details
-
fromArchetypeNodeId
-
toEntityConcept
Removes the fixed prefix from archetype ids (openEHR-EHR-{RM-type}), but leaves the '.', which hints the missing prefix- Parameters:
archetypeNodeId-- Returns:
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
aliasedRmType
Returns the value of thealiasedRmTyperecord component.- Returns:
- the value of the
aliasedRmTyperecord component
-
concept
Returns the value of theconceptrecord component.- Returns:
- the value of the
conceptrecord component
-